[Wylug-help] Selectors for mozilla userContent.css

Felix Ulrich-Oltean felix at chaptereight.com
Wed Jun 22 09:43:42 BST 2005


Hi

Does anyone know if mozilla provides any special selectors for 
userContent.css, relating to the url being displayed?  E.g. for some 
sites I might want to set some extra styles, hide things, etc.

I've looked over http://www.mozilla.org/unix/customizing.html, and also 
found this, which tells you how to "style" certain links, i.e. to block 
ads:

A:link[HREF*="doubleclick"]  IMG, 
A:link[HREF*="tracksponsor."]  IMG { display: none ! important } 

but I haven't found any way of referring to the current url.

Any ideas?  Thanks,

Felix.





More information about the Wylug-help mailing list