Dark Mode

I use several extensions for dark mode.

To make pdfs in dark mode inside Google Chrome.

var cover = document.createElement("div"); 
let css = ` position: fixed; pointer-events: none; top: 0; left: 0; width: 100vw; height: 100vh; background-color: white; mix-blend-mode: difference; z-index: 1; ` 
cover.setAttribute("style", css); 
document.body.appendChild(cover);