Friday, October 06, 2006

Greasemonkey script to Replace URLs in webpage

Yesterday night i made this script which replaces urls with their alternatives in a webpage. What r its usage :

  • Ad blocking (Replacing such URLs with blank so that clicking them will result in nothing.
  • Unblocking some sites :) . At many places sites are just blocked by url names so it replaces them with ip.(for example i did same for youtube as its blocked in my college). you can modify script to include more such urls.
You will need firefox with Greasemonkey extension installed to use this script.
Here is the script : Right Click to install

Resources : Dive into Greasemokey

3 comments:

Vineet Rajan said...

hey this looks cool man! let me check it out. firefox rocks!
keep rocking!

Anonymous said...

How to change the [img src=""] as well?

Anonymous said...

Can you help me with a script that searches for a header in the content and a number in the url and pieces them together in a new url then puts a link?

email me: under_score_steve@hotmail.com

i cant seem to get anyone to help me! thanks!