Skip to content

Instantly share code, notes, and snippets.

@ToxicAven
Created August 30, 2022 18:14
Show Gist options
  • Select an option

  • Save ToxicAven/68bcb078544195e3baf33c44e3c76c08 to your computer and use it in GitHub Desktop.

Select an option

Save ToxicAven/68bcb078544195e3baf33c44e3c76c08 to your computer and use it in GitHub Desktop.
Darkreader without the extension lmao
fetch("https://cdn.jsdelivr.net/npm/[email protected]/darkreader.min.js")
.then((response) => response.text())
.then((text) => eval(text))
.then(() => {
DarkReader.setFetchMethod(window.fetch)
DarkReader.enable({
brightness: 100,
contrast: 90,
sepia: 10
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment