Skip to content

Instantly share code, notes, and snippets.

@bpruitt-goddard
Created January 23, 2019 19:26
Show Gist options
  • Save bpruitt-goddard/08864d2d34ba44f94b63f4dd254f5bd6 to your computer and use it in GitHub Desktop.
Save bpruitt-goddard/08864d2d34ba44f94b63f4dd254f5bd6 to your computer and use it in GitHub Desktop.
Greasemonkey Hide Uberconference Mute Messages
// ==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