Customizing websites with Firefox
0 Comments Published December 21st, 2005 in Firefox, Internet, Web Tags: .
With Firefox you can define your preferences on how Firefox should display the web sites you visit. To do that, there’s a file called userContent.css in user home directory (in windows it’s placed on “C:\Documents and Settings\[user]\Application Data\Mozilla\Firefox\Profiles\[8digits].default\chrome”); modifying this file you can, for example, modify default font style and size, to make website more readable.
With Firefox 1.5 there’s a new selector that makes it possible to define in userContent.css web site specific style. So you can add some style definition that will be applied for specific sites. The syntax is the following:
@-moz-document url-prefix(http://www.mysite.com/)
{
/* define here specific css for http://www.mysite.com/ */
/* example:
div.rightbox {
display: none !important;
}
*/
}
I think that this is a cool feature. For example, I use Adblock plugin to remove ads from my favourite web sites. Combining new css feature in userContent.css with Adblock plugin, it’s possible to filter any ad from your favourite web sites, despite they use images, flash, javascripts or simple html:
Before and After the cure: at left, in internet explorer with all ads (in red circles); at right, the same site in Firefox using custom CSS and Adblock
Search
Calendar
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Nov | Jan » | |||||
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 | |
Archives
Categories
- Android (3)
- Apple (26)
- Books (7)
- Eclipse (14)
- Errors (3)
- Firefox (7)
- Git (2)
- Hardware (16)
- Horror Code (8)
- Internet (18)
- Java (98)
- JavaScript (9)
- Life, universe and everything (45)
- Lifehacks (25)
- Linux (50)
- Opinions (25)
- OSX (4)
- Python (1)
- Software (27)
- Speeches and Conferences (8)
- Unix (3)
- Web (21)
- Windows (19)
Tag Cloud
Android apple architecture Bash colors configuration CSS Development Düsseldorf Eclipse germany Git Google Hardware hdr How-To Java JAXB job junit Karmic Linux MacBook music night Open Source Opinion oracle OSX patterns Pitfalls Practices Resume Security Software Suspend TDD Testing tip tonemapped Tricks Ubuntu video Web XML
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.
Blog License
Blogs I like
Books on the desk
Friends' Blogs
- Antonio Terreno & Valter Bernardini
- Bruno Bossola
- Daniele Galluccio
- Domenico Ventura
- Ed Schepis
- Fabrizio Gianneschi
- Luca Grulla
- Luigi Zanderighi
- Marcello Teodori
- Mida Boghetich
- Muralidharan Chandrasekaran
- Piero Ricca
- Renzo Borgatti
- Simone Bordet
- Simone Bruno
- Uberto Barbini
- Valvolog
- Webtide blogs (Greg Wilkins & Jan Bartel)
Links




















No Responses to “Customizing websites with Firefox”
Please Wait
Leave a Reply