Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Global Dark Style for userscript using Java


Does anyone knows how to make a global dark style using Java that can be installed into Greasemonkey or Violentmonkey script manager? I want to target only white background and black text over it and reverse their color. White background becomes black and black text becomes white, everything else stays original. I know it is not possible to do this using CSS this way, only Java or HTML5 has this capability. The only CSS style that turn all white background dark is "Chrome Global Black" but it also slightly modifies colors of images and videos, which is not nice. All other user styles break elements on many websites as CSS has its limitations.

Someone please help me out.

Thank You
Sign In or Register to comment.