Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how can I apply a CSS stylesheet to all page views in my Firefox browser

I would like to apply a CSS stylesheet to all page views in a Firefox browser using a menu option and be able to toggle this when required. (The functionality I want exists in IE: Tools | Internet Options | Accessibility | Format Documents Using my Stylesheet (although I think this may affect pages outside of simply IE).

like image 241
peter.murray.rust Avatar asked Jul 05 '09 09:07

peter.murray.rust


2 Answers

You could use the file userContent.css lying within the directory named chrome in your Mozilla Firefox profiles directory. There is also an example file named userContent-example.css.

like image 172
Alan Haggai Alavi Avatar answered Nov 15 '22 03:11

Alan Haggai Alavi


you can use Stylish, you can define global styles in firefox and ability to switch it on and off fast from Firefox.

Usage page.

Global styles, you can see code and how it is done.

like image 24
Andrija Avatar answered Nov 15 '22 02:11

Andrija