Bureaucrats, Check users, Interface administrators, Push subscription managers, Suppressors, Administrators, upwizcampeditors
1,763
edits
No edit summary |
(update darkreader (test)) |
||
(22 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/** | /** | ||
* Minified by jsDelivr using Terser v5.19.2. | |||
* Minified by jsDelivr using Terser v5. | * Original file: /npm/darkreader@4.9.66/darkreader.js | ||
* Original file: /npm/darkreader@4.9. | |||
* | * | ||
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files | * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files | ||
*/ | */ | ||
!function(e,t){" | |||
DarkReader.setFetchMethod(window.fetch); | DarkReader.setFetchMethod(window.fetch); | ||
Line 13: | Line 20: | ||
ignoreInlineStyle: ['.mediaContainer', '.mediaContainer *', '.TemplateRevision', '.TemplateRevision *', '#homeButtonNav', '#homeButtonNav *', '.mw-wiki-logo', 'img', '#siteNotice *', '.sitenoticestyling'], | ignoreInlineStyle: ['.mediaContainer', '.mediaContainer *', '.TemplateRevision', '.TemplateRevision *', '#homeButtonNav', '#homeButtonNav *', '.mw-wiki-logo', 'img', '#siteNotice *', '.sitenoticestyling'], | ||
css: ` | css: ` | ||
/* | |||
.sitenoticestyling { | .sitenoticestyling { | ||
border-color: rgb(48, 52, 54) !important; | border-color: rgb(48, 52, 54) !important; | ||
border: 2px solid rgb(48, 52, 54) !important; | border: 2px solid rgb(48, 52, 54) !important; | ||
}*/ | |||
body { | |||
background-color: rgb(27, 30, 31) !important; | |||
} | |||
.mw-page-container { | |||
background-color: rgb(24, 26, 27) !important; | |||
} | |||
.mw-sidebar { | |||
background-color: rgb(27, 30, 31) !important; | |||
} | |||
.sidebar-toc { | |||
background-color: rgb(24, 26, 27) !important; | |||
} | |||
.sidebar-toc::after { | |||
background-image: none !important; | |||
} | |||
.mw-logo-container { | |||
-webkit-text-stroke: 0.01em black !important; | |||
} | } | ||
`, | `, | ||
Line 21: | Line 53: | ||
invert: [] | invert: [] | ||
}); | }); | ||
console.log(" | console.log("Loaded DarkReader from Comet!\nDarkreader Enabled!"); |
edits