July 16, 2009

Created Greasemonkey Plugin

I just created a Greasemonkey script which was almost a playful one. This script disables you from clicking anywhere in Google's server, either in their searchbox or anywhere in their search results or in their pages.

You can view the script here http://userscripts.org/scripts/show/53812
You need to have Greasemonkey to install the script which could be directly installed by clicking this http://userscripts.org/scripts/source/53812.user.js

The source code is here below:
// ==UserScript==
// @name Block Google
// @namespace SSDT
// @include http://www.google.com/
// @include http://*.google.*/*
// ==/UserScript==

document.addEventListener('click', function(event) {
// event.target is the element that was clicked

// do whatever you want here
alert('Google Is Blocking You!');

// if you want to prevent the default click action
// (such as following a link), use these two commands:
}, true);

Reblog this post [with Zemanta]