mozilla.org pages do not honor dark mode setting with any addon ive trued, ths needs to be corrected past-haste!
What do I need to do to make this happen? Because the blinding white layout is completely unacceptable!
所有回覆 (5)
Extensions can't inject CSS code in Mozilla websites for security reasons as those website get special elevated permissions and you shouldn't bypass this block. See "Restricted domains":
The only way to style Mozilla websites is by using CSS code in userContent.css.
See
https://support.mozilla.org/kb/quarantined-domains https://support.mozilla.org/en-US/kb/addons-restricted-domains
https://support.mozilla.org/hsb/questions/1306789 (a more refined method if you simply exclude the domains where you want extensions to work)
Like I posted above, it is not safe to bypass this restriction as this will allow all extensions to work on those pages.
Even with the right host permissions, extensions cannot access some domains. Content scripts are blocked from executing on these domains, for example, to protect the user from an extension escalating privileges through special pages.
This support forum lets you share troubleshooting information with the click of a button which is only possible with special powers, making it dangerous for extensions.
Already fixed it, thanks tho.