Ad Blocking and CSS Tweaks

/* block ads (Firefox only) */
@-moz-document domain( {
iframe { display: none !important; }
img[alt="advertisement"] { display:none !important; }
div[style*="center"] a[target="_blank"] { display: none !important; }
/* block ads */
.ad { display: none !important; }
.adbox { display: none !important; }
#mpu_wrap { display: none !important; }
/* block CBS bar on top */
#gne_nav { display: none !important; }
/* block stuff on bottom */
#footer { display: none !important; }
/* block CBS promo link in header */
.rubics_netxp1_main { display: none !important; }
/* ascii-art font size (vertical display) */

table.message tr.even td { font-size: 13px !important; }
/* ascii-art font size (horizontal display) */
table.message tr td { font-size: 13px !important; }
table.message tr { font-size: 11px !important; }
table.message tr { font-size: 12px !important; }
/* visited link stuff */
#board_wrap a { color: #03c !important; }
#board_wrap .board td { color: #000 !important; }
#board_wrap .board a:link { color: #000 !important; }
#board_wrap .board a:visited { color: #03c !important; }
#board_wrap .message a:visited { color: #000 !important; }
#board_wrap .searchtopics a { color: #000 !important; }
/* unbold topic/msg count */
#board_wrap td.count { font-weight: normal !important; }
/* widen last post column */
#board_wrap col.lastpost { width: 85px !important; }

Windows (browser specific)


Internet Explorer

Macs (browser specific)

Copy and paste the lines from the top of the page into a plain text file called "userContent.css" (you might have to manually add the .css ending to the file). After you're done, locate your next step from the following choices depending on your browser:





Note: If you cannot locate the "default" folder in any of those instructions, it may have been replaced by another username of some sort. Open up that folder and look for the "random" folder.

*nix (browser specific)



hosts method

The file to edit is /etc/hosts (all lowercase). You must be root to modify the file, and you can modify it with vi, emacs, or any other text editor. Copy and paste the lines below into your hosts file. The /etc/hosts file must be world-readable, and your text editor might involuntarily clear the group and world-readable flags. Just to be sure, type "chmod 644 /etc/hosts" (without quotes) to be sure the file has correct permissions. You don't have to reboot.

If you run your own web server, these hosts table modications will cause your server to get more "hits" now that your computer looks to itself in lieu of ad sites. To get around this problem, you can:


This information is valid for:

1) Modify files with E.EXE, EPM, or any other text editor. If using E.EXE, set the file type to Plain Text when saving.
2) OS/2 users may have two hosts files, one for native OS/2 applications and the other for DOS and Win-OS/2 applications. When two hosts files are present, both must be modified separately. The filename is not case-sensitive.
3) The location of the hosts file(s) depends on where TCP/IP was installed and the value of the ETC environment variable (if set). If you don't know where it is / they are, use Seek and Scan Files (PMSEEK) to locate it/them.
4) Once you find your file(s), copy and paste the lines as Unix/Linux users would.
5) With the same editor, open the CONFIG.SYS file on the boot drive. OS/2 Warp 3 red and blue box (not Warp Connect) users must add this line:

CALL=ifconfig.exe lo up

All users must add this line:


Some users may also need this line:

CALL=route.exe add host 0

All users must reboot if CONFIG.SYS has been modified. When making future revisions to the hosts file(s), rebooting is not necessary.

This page has been brought to you by Kirby Still On Top, TrueDFX, RockMFR, FireCrotch, and AGH

Valid XHTML 1.0 Strict | Secondary Boards FAQ | Banned Words List | Ad Blocking and CSS Tweaks