Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Bookmarklet that makes pages dark, by applying white background to everything, then applying filter invert and grayscale

This comment has been minimized.

Copy link
Owner Author

@hamoid hamoid commented Feb 6, 2016

Not perfect, it works on most pages, in some it works partially, and it GitHub somehow it does nothing! :)


This comment has been minimized.

Copy link

@mmccall0813 mmccall0813 commented Apr 10, 2019

If you want an always dark theme on Wikipedia and you have an account, you can go to "preferences", then "appearance", and next to the appearance you have selected, there will be a button called "Custom CSS" click that, then click "Create Page", and paste the following: html,img,video{-webkit-filter:invert(1)hue-rotate(180deg);filter:invert(1)hue-rotate(180deg)}body{background:#000}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment