Hide Perusall Avatars

Hides Fucking God Damn Avatars from Blinking Like Traffic Lights When Just Trying to Read a God Damn Textbook

// ==UserScript==
// @name          Hide Perusall Avatars
// @namespace     http://userstyles.org
// @description   Hides Fucking God Damn Avatars from Blinking Like Traffic Lights When Just Trying to Read a God Damn Textbook
// @author        12357213
// @include       *://app.perusall.com/*
// @run-at        document-start
// @version       0.1
// ==/UserScript==

var user_bar = false;
function hide_avatars() {
	user_bar.setAttribute( "style" , "visibility: hidden !important" );
}


// Init
(function() {
	var ready = setInterval(function(){
		user_bar = document.querySelector( "#active-users" );
		if ( user_bar ) { clearInterval( ready ); hide_avatars(); }
	} , 2 );
	setTimeout( function() {
		clearInterval( ready );
	} , 10000 );
})();