xkcd parentheses

For those of you who are bothered by the comic below:

just copy and paste this into your browser address bar on the site:

javascript:if (typeof jQuery == 'undefined') {
	var jQ = document.createElement('script');
	jQ.type = 'text/javascript';
	jQ.onload=runthis;
	jQ.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js';
	document.body.appendChild(jQ);
} else {
	runthis();
}

function runthis() {
$('#middleContent div.s > img').attr('src', 'http://i.imgur.com/7Tvtd.png');
$('title').text('()');

 $('div.s > h1').text('()');
}

(code based on the Smashing Magazine Bookmarklet Article)

Popularity: 5% [?]

This entry was written by Alex, posted on 11/02/2011 at 15:26, filed under Found on the Web, Javascript, web comics. Leave a comment or view the discussion at the permalink.

Googleiser

My first Greasemonkey script is for people who travel. I find it annoying that google will re-direct me to the local country’s page, even if I don’t speak the language. This is a handy, incredibly feature light, script that redirects you to the google.ie site. It doesn’t redirect from .com because some tools depend on that tld.

I hope it’s useful!
You can find it at the userscripts.org site here:
http://userscripts.org/scripts/show/47340

To change it to redirect to another country, just edit the @exclude from http://*.google.ie/* to replace .ie with your tld of choice, and then change
'.google.ie' in the parentheses with your desired domain.

Popularity: 2% [?]

This entry was written by Alex, posted on 23/04/2009 at 12:22, filed under Javascript and tagged , , , , , , , . Leave a comment or view the discussion at the permalink.