Tuesday, December 27, 2005

image2Share.com AdRemover

This script designed to remove the advertisement block from image2Share.com
This is for Firefox users.

First you will need Greasemonkey - Firefox Extension. (Note: For 1.0.7 users you may want to use the older version Found Here and not let it update.)

1. Create a file called: image2ShareAdRemove.user.js
2. Open it with notepad and put this text in it:

// ==UserScript==
// @name Hide the ads!
// @namespace http://adremover.blogspot.com/
// @description Hides the advertisement on image2share.com
// @include http://www.image2share.com/image/*
// ==/UserScript==
// Notes:
// * is a wildcard character
// .tld is magic that matches all top-level domains (e.g. .com, .co.uk, .us, etc.)

window.addEventListener("load", function(e) {
whichDog=isIE ? document.all.theLayer : document.getElementById("theLayer");
whichDog.style.visibility="hidden";
}, false);

3. Save it, then drag and drop the file to a firefox window (WITH GREASEMONKEY INSTALLED!)
4. Click: Tools->Install User Script...