Results tagged “Greasemonkey” from kwc blog

Disable that annoying GMail popup

|

gmail.gifupdate: novak has pointed out the easier "standard without chat" link at the bottom of your GMail inbox that will completely disable the chat functionality (including annoying popups).

GMail Chat has finally migrated to all of my GMail accounts. I don't really plan on using the chat functionality, so mostly I'm annoyed as the update also includes a popup window that appears anytime you hover over someone's name. It seems really, really, silly to me to see an "Invite to Chat" button when I hover over an Amazon purchase confirmation.

If you're as annoyed as I am and you have Firefox+Greasemonkey installed, Garett Rogers has written a Greasemonkey script that banishes the popup to the netherworld.

Warning: it eliminates all popup windows, including the one for the Quick Contacts pane. The popup window in the contacts pane is the only way I know managing your Quick Contacts, so if you still need to use the chat functionality you may wish to do without.

Eliminate Gmail Chat popup windows Greasemonkey script

Protective Tour Googles

|

Courtesy of Hogue, I now have this greasemonkey script to shield my eyes from inadvertent Tour revelations. I've pasted the code below for those who may find themselves in similar situations requiring selective news display.

As for real world news filters, Team Uni is doing a great job protecting me already. At dinner tonight parakkum told me to keep my eyes on my plate and not look up -- Stage 11 was on TV. The alarm was unnecessary as I'd seen Stage 11 this morning, but it shows that the team is on form today and ready to go.

// ==UserScript==
// @name No Tour
// @description pop up an alert on any page containing Tour de France info
// @include *
// ==/UserScript==

var badness = new Array(6);
badness[0] = 'armstrong';
badness[1] = 'tour de france';
badness[2] = 'cycling';
badness[3] = 'yellow jersey';
badness[4] = 'lance';
badness[5] = 'tdf';

function check() {
	var body = document.getElementsByTagName('body')[0].innerHTML.toLowerCase();
	for (var i = 0; i < badness.length; i++) {
		var index = body.indexOf(badness[i]);
		if (index > 0) {
			var temp = document.getElementsByTagName('body')[0].innerHTML;
			document.getElementsByTagName('body')[0].innerHTML = '<div 

align="center"><h1>SHIELD YOUR EYES</h1></div>';
			alert("The goggles, they do nothing!");
			alert(badness[i]+" is mentioned on this page");
			document.getElementsByTagName('body')[0].innerHTML = temp;
			return;
		}
	}
}

window.addEventListener('load', check, true);