X
Tippen Sie hierhin, um die Version dieser Website für Mobilgeräte aufzurufen.

Hilfeforum

override page colors button firefox 57+

Veröffentlicht

https://support.mozilla.org/en-US/kb/change-fonts-and-colors-websites-use

I have pinned about:preferences#content to access Colors and switch between Always or Never but a toolbar button would be much better.

There are a few addons related to this like https://addons.mozilla.org/bg/firefox/addon/toggledocumentcolors-198916/ but after firefox 57 is released they would probably not work and most of them are too complicated.

Is it even possible to write a simple addon using web extensions for a toolbar button to simply switch between the colors defined in Prefences > Colors and the default web page colors?

https://support.mozilla.org/en-US/kb/change-fonts-and-colors-websites-use I have pinned about:preferences#content to access Colors and switch between Always or Never but a toolbar button would be much better. There are a few addons related to this like https://addons.mozilla.org/bg/firefox/addon/toggledocumentcolors-198916/ but after firefox 57 is released they would probably not work and most of them are too complicated. Is it even possible to write a simple addon using web extensions for a toolbar button to simply switch between the colors defined in Prefences > Colors and the default web page colors?
cor-el
  • Top 10 Contributor
  • Moderator
17569 Lösungen 158915 Antworten
Veröffentlicht

You can look at this extension:

Toggle Website Colors:

You can look at this extension: Toggle Website Colors: * https://addons.mozilla.org/firefox/addon/togglewebsitecolors/

Fragesteller

cor-el said

You can look at this extension: Toggle Website Colors:

yes i have looked at the available addons. this one appears to make background white and text black, it does not use the browser defined colors

''cor-el [[#answer-977642|said]]'' <blockquote> You can look at this extension: Toggle Website Colors: * https://addons.mozilla.org/firefox/addon/togglewebsitecolors/ </blockquote> yes i have looked at the available addons. this one appears to make background white and text black, it does not use the browser defined colors
cor-el
  • Top 10 Contributor
  • Moderator
17569 Lösungen 158915 Antworten
Veröffentlicht

I don't think that it is possible to use the settings as set via Options/Preferences because a You're WebExtension doesn't have access to prefs. You would have to modify the extension and have it signed on the Add-ons website under a different ID.

See also this thread by the creator of the extension:

I don't think that it is possible to use the settings as set via Options/Preferences because a You're WebExtension doesn't have access to prefs. You would have to modify the extension and have it signed on the Add-ons website under a different ID. See also this thread by the creator of the extension: *http://forums.mozillazine.org/viewtopic.php?f=48&t=2791817&start=90
cor-el
  • Top 10 Contributor
  • Moderator
17569 Lösungen 158915 Antworten
Veröffentlicht

Maybe this extension works better:

Both extensions inject a CSS file on web pages, but have a different approach if you check their background.js file and their CSS file.

Maybe this extension works better: *No Color: https://addons.mozilla.org/en-US/firefox/addon/no-color/ Both extensions inject a CSS file on web pages, but have a different approach if you check their background.js file and their CSS file.