Open
Bug 1849786
Opened 1 year ago
Updated 3 months ago
WebExtension API for prefers-color-scheme (browserSettings.overrideContentColorScheme) but scoped per/limited to website/tab
Categories
(WebExtensions :: General, enhancement, P3)
WebExtensions
General
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: 5i13ghzt462u, Unassigned)
References
Details
(Whiteboard: [design-decision-needed])
As it has been said in https://bugzilla.mozilla.org/show_bug.cgi?id=1547818#c21 I want to set/override the prefers-color-scheme
value for specific tabs or websites, i.e. not for the whole browser.
This has been a popular request from the users of my Firefox add-on/WebExtension, see https://github.com/rugk/website-dark-mode-switcher/issues/12
https://bugzilla.mozilla.org/show_bug.cgi?id=1547818#c0 use cases are still quite valid.
Comment 1•1 year ago
|
||
Depending on what the API looks like the existing prefersColorSchemeOverride might be enough.
Updated•1 year ago
|
Severity: -- → N/A
Type: defect → enhancement
Priority: -- → P3
Whiteboard: [design-decision-needed]
You need to log in
before you can comment on or make changes to this bug.
Description
•