0

How can I customize my Firefox, so if a page has no style-definitions firefox will use a local stylesheet, that I can define myself?

I found this addon: Context Style Switcher, that can remove the stylesheet from a page, but that does look realy ugly.

It would be perfect, if I could define a per-site CSS, that is used every time I visit a page.

  • Try this tip from an earlier question [How to override the CSS of a site in Firefox with userContent.css?][1] [1]: superuser.com/questions/318912/… – mvark May 19 '13 at 8:19
  • that tip only changes the style on a certain site. I want to change the style on all sites, that have no CSS – rubo77 May 26 '13 at 0:55
1

You can set the various options (color, fontsize, font family) inside about:config to a certain degree. (type about:config as an address and open it)

some examples @ Firefox 62

browser.display.foreground_color: sets the text color
browser.display.background_color: sets the background color of a page

For further settings you can type in color or font or size inside the searchbar.

  • That works for the background color, but I couldn't find any useful setting. even font.minimum-size.x-western set to a bigger value than 14 is causing severe problems on nearly all websites – rubo77 Oct 15 '18 at 18:53
  • If it's just about the font size, try this option: font.size.systemFontScale Does that help? (change the value and reload a random site. I have it on 170) – TheTrowser Oct 16 '18 at 12:13
  • that works. And you can edit the default font-family and link-colors in the settings menu under "Schrift" (german) – rubo77 Oct 17 '18 at 16:31
  • I found out, that setting a bigger font.size.systemFontScale than 100% makes big problems on many websites. I think the value is used as base for css em which is causing havoc if not starting on 100% – rubo77 Oct 17 '18 at 17:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.