fixed DarkReader fetch method

pull/20/head
tycrek 4 years ago
parent 03dda3ffca
commit b882866863
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -7,6 +7,7 @@ script(src='https://cdn.jsdelivr.net/npm/darkreader@4/darkreader.min.js')
script(src='https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.7.1/build/highlight.min.js') script(src='https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.7.1/build/highlight.min.js')
script. script.
// Dark mode with Dark Reader // Dark mode with Dark Reader
DarkReader.setFetchMethod(window.fetch);
DarkReader.enable({ DarkReader.enable({
brightness: 100, brightness: 100,
contrast: 100, contrast: 100,

Loading…
Cancel
Save