omegleuser / Jitsi - Remove logo & chat sounds

// ==UserScript==
// @name         Jitsi - Remove logo & chat sounds
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Removes the Jitsi logo & chat/join/leave sounds.
// @author       You
// @match        https://meet.jit.si/*
// @license     MIT
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    function addGlobalStyle(css) {
        var head, style;
        head = document.getElementsByTagName('head')[0];
        if (!head) { return; }
        style = document.createElement('style');
        style.type = 'text/css';
        style.innerHTML = css.replace(/;/g, ' !important;');
        head.appendChild(style);
    }
    addGlobalStyle(".watermark { visibility:hidden; }");

    window.addEventListener("click", function(e) {

        var audios = document.getElementsByTagName('audio');
        if (audios) {
            var i;
            for (i = 0; i < audios.length; i++) {
                audios[i].setAttribute('muted', 'muted');
                audios[i].setAttribute('preload', 'none');
                audios[i].onplay = function(){
                    this.pause();
                };
            }
        }

    }, false);

})();