Some News Websites will automatically go to dark mode.
Premium users can view and search full source code, and see the source code differences
between two versions.
Upgrade to premium
manifest.json
{
"name": "DarkMode News",
"manifest_version": 2,
"version": "0.3",
"description": "News Websites will automatically go to dark mode.",
"permissions": [
"activeTab",
"tabs"
],
"browser_action": {
"default_icon": "logo-48.png",
"default_popup": "popup.html"
},
"icons": {
"16": "logo-16.png",
"48": "logo-48.png",
"128": "logo-128.png"
},
"content_scripts": [
{
"matches": [
"*://*.digi24.ro/*",
"*://*.theguardian.com/*",
"*://*.reuters.com/*",
"*://*.bbc.com/*",
"*://*.foreignaffairs.com/*",
"*://*.dw.com/*",
"*://*.ft.com/*",
"*://*.chicagotribune.com/*",
"*://*.apnews.com/*",
"*://*.europa.eu/*",
"*://*.2lib.org/*"
],
"js": [
"/js/functions.js",
"run.js"
]
},
{
"matches": [
"*://*.digi24.ro/*"
],
"js": [
"/js/digi24.js"
]
},
{
"matches": [
"*://*.dw.com/*"
],
"js": [
"/js/dw.js"
]
},
{
"matches": [
"*://*.bbc.com/*"
],
"js": [
"/js/bbc.js"
]
},
{
"matches": [
"*://*.theguardian.com/*"
],
"js": [
"/js/theguardian.js"
]
},
{
"matches": [
"*://*.2lib.org/*"
],
"js": [
"/js/2lib.js"
]
}
]
}