Forgot your password?
typodupeerror
User Journal

Journal grub's Journal: Kill /.'s IT colour scheme with Privoxy. 13


NB: If you're not familiar with Privoxy go stand in the corner and read the FAQs.

Welcome back. OK, so you're like me: you hate the IT colour scheme with a passion. How do you fix it? Simple, install Privoxy (if you haven't already) and add these custom config lines. My filter is running on an OpenBSD gateway at home and a good sized OpenBSD proxy at work but you can get Privoxy for many systems including Windows.

Note the first line in the default filter is commented out. You can add it in which will make a lot of the other filters redundant but will make browsing the actual IT pages go back to the main page. Take your pick.
NB:slashcode is adding spaces in these filters. If there's no "\" before a space in a regex it's probably a slashcode addition.

Add the following to your default.filter file:

FILTER: slashdot-cleanup Make /. eyeball friendly.
#s/it\.slashdot\.org/slashdot\.org/ig
s/bgcolor=\"898163\"/bgcolor=\"006666\"/ig
s/bgcolor=\"EBEBE1\"/bgcolor=\"CCCCCC\"/ig
s/LINK=\"898163\"/LINK=\"006666\"/ig
s/\/slashtitle\-it\.gif/\/title\.gif/g
s/\/slash(bar-it|corner-it)\.gif//ig

Now add the following to your user.action file:

{ +filter{slashdot-cleanup} }
.slashdot.org

Restart Privoxy if needed. Configure your browser to use the filter. Now check out the IT section It should be clean.

There's one minor gotcha: a small pic called slashcorner-it.gif is just dropped so you get a blank square rather than a rounded corner in the headings. The nice green scheme works a bit differently there and frankly I don't want to waste a lot of time on it. I haven't played very much with this filtering so YMMV.

Feel free to post updates/fixes here.

grub

This discussion has been archived. No new comments can be posted.

Kill /.'s IT colour scheme with Privoxy.

Comments Filter:

I have ways of making money that you know nothing of. -- John D. Rockefeller

Working...