For Neopets ONLY discussion.
Topic locked

Need code and instructions on how to block top banner ad in

Mon Mar 20, 2006 8:44 am

Internet explorer

Instructions and code plz as my IE has just been wiped.

Mon Mar 20, 2006 9:35 am

IE & Netscape

Step 1: Put the following into a word processor and save as a .css file of your name choice and your location (remember where it is).

@-moz-document domain(neopets.com){
div#ban{display:none;}
div#bottomban{display:none;}
td.tl > object{display:none;}
#mb + form{display:none !important;}
}


Step 2: Go to "Tools" in top pulldown and select 'Internet Options' at the bottom
Step 3: Go to 'Accessibility' in the bottom right.
Step 4: Select User Format Sheet toggle box
Step 5: Select your document.
Step 6: Click "Ok" and exit

Tue Mar 21, 2006 12:36 am

how about one for mozilla firefox

Tue Mar 21, 2006 6:51 am

Knew I should have posted this as well. This was compiled B4 the latest update so some stuff may be obsolete.

Firefox & Netscape

Step 1: If you don't have Firefox already, get it. Configure it, etc.
Step 2: Download these 2 extensions in Firefox after installing the browser -
AdBlock 0.5.2
https://addons.update.mozilla.org/exten ... dows&id=10
ChromEdit
https://addons.update.mozilla.org/exten ... .php?id=17
Step 3: Restart Firefox, then click on Tools - Adblock - Preferences
Step 4: Add 3 new filters:
http://images.neopets.com/buttons/*
http://images.neopets.com/728ads/*
http://images.neopets.com/ads/*
Click Add button to save them. Then click done.
Step 5: Go to Tools - Edit User Files, then click on the userContent.css tab.
Step 6: Scroll all the way to the end, then enter a new line:
#ban { display: none !important; }
Click the Save button.
Step 7: Restart Firefox and enjoy an ad-free NeoPets experience.


EDIT: Manually edit css file for Firefox

1: locate file. Usually found at
C:\Documents and Settings\[User Name]\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default\chrome\userContent.css or
C:\WINDOWS\Profiles\username\Application Data\Mozilla\Firefox\Profiles\xxxxxxxxx.default\chrome.

(xxx is randomly generated numbers) on most computers or you can search for userContent.css
2: Open file in notebook and paste the folowwing at the bottom

@-moz-document domain(neopets.com){
div#ban{display:none;}
div#bottomban{display:none;}
td.tl > object{display:none;}
#mb + form{display:none !important;}
}


3: Save
4: Restart Program
Topic locked