Created
January 23, 2019 19:26
-
-
Save bpruitt-goddard/08864d2d34ba44f94b63f4dd254f5bd6 to your computer and use it in GitHub Desktop.
Greasemonkey Hide Uberconference Mute Messages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name UberConference Hide Mutes | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Hide the mute and unmute notifications that flood the chat | |
// @author Brian Pruitt-Goddard | |
// @match https://www.uberconference.com/* | |
// @grant none | |
// @require https://raw.githubusercontent.com/uzairfarooq/arrive/master/minified/arrive.min.js | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
document.arrive('.chat-row', function() { | |
hideMuted(this); | |
}); | |
function hideMuted(chatRow) { | |
if (chatRow.innerText.indexOf('muted') < 0) { | |
return; | |
} | |
chatRow.style.display = 'none'; | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment