A more technical post this time, specifically for experienced Firefox users.
userContent.css is a file that resides in “C:\Documents and Settings\[Windows Login Name]\Application Data\Mozilla\Firefox\Profiles\[profile name]\chrome” or for those of you who are more technologically versed it can be found in “%APPDATA%\Mozilla\Firefox\Profiles\[profile name]\”. By defaut there will be two example files.
So what does userContent.css do? Well it lets you setup some CSS rules which take precedence over the CSS rules that are defined on the webpages that you go to. You can for example disable the <blink> or the <marquee> tag, the two most annoying and over used tags ever. Especially <marquee>.
Go ahead and create a new text file and name it userContent.css. Open the file in your favourite text editor. Text editor, not Microsoft Word or even Wordpad, or anything like that. If you don’t have anything specifically installed for editing HTML/CSS files, then go for Notepad.
Here’s what my current userContent.css looks like:
/* Stops <blink> from blinking */
blink { text-decoration: none ! important; }
/* Displays <marquee> content as normal text */
marquee {
-moz-binding: none;
display: block;
height: auto !important;
}
/* Warns about PDF links */
a[href$=".pdf"]:before {
font-size: smaller;
content: "[pdf] ";
}
/* Warns about new window links */
:link[target="_blank"]:before,
:visited[target="_blank"]:before,
:link[target="_new"]:before,
:visited[target="_new"]:before {
font-size: smaller;
content: "[new] ";
}
/* Warns about javascript links */
a[href^="javascript:"]:before {
font-size: smaller;
content: "[js] ";
}
You might not like all of those things, so add only the things that interest you. Another thing to note is that you can stop firefox from showing advertisements with this as well. You just need the container name and “display: none ! important;”. But I would suggest that only people who are well versed with CSS attempt to do that on their own.




