Dark Theme For All Websites

try to take over the world!

As of 2018-12-30. See the latest version.

// ==UserScript==
// @name         Dark Theme For All Websites
// @namespace    http://tampermonkey.net/
// @version      0.6
// @description  try to take over the world!
// @author       You
// @match        *://*/*
// @exclude      *://*.youtube.com*
// @exclude      *://*tbm=isch*
// @exclude      *://cashiergtj.alipay.com*
// @exclude      *://mail.google.com*
// @exclude      *://web.whatsapp.com*
// @supportURL   https://github.com/admin-ll55/
// @grant        none
// ==/UserScript==
var style = document.createElement('style');style.type = 'text/css';style.innerHTML = `*, *[class*="a"], *[class*="b"], *[class*="c"], *[class*="d"], *[class*="e"], *[class*="f"], *[class*="g"], *[class*="h"], *[class*="i"], *[class*="j"], *[class*="k"], *[class*="l"], *[class*="m"], *[class*="n"], *[class*="o"], *[class*="p"], *[class*="q"], *[class*="r"], *[class*="s"], *[class*="t"], *[class*="u"], *[class*="v"], *[class*="w"], *[class*="x"], *[class*="y"], *[class*="z"], *:before, *:after {background-color: black !important;  color: white !important;} button {border: 1px solid white !important; background-image: linear-gradient(0deg,black,black) !important}`;document.getElementsByTagName('body')[0].appendChild(style);