Eclipse - NEA

Dark theme for NEA Haze website

当前为 2015-09-24 提交的版本,查看 最新版本

// ==UserScript==
// @name         Eclipse - NEA
// @namespace    http://yeoxingyee.ml/
// @version      1.0
// @description  Dark theme for NEA Haze website
// @author       Yeo Xing Yee
// @match        http://www.haze.gov.sg/*
// @grant        none
// ==/UserScript==

(function() {var css = "";
if (false || (new RegExp("http://www.haze.gov.sg/")).test(document.location.href))
	css += [
		"div,div#footer,div.search-container{",
    "background: black",
"}",
        "li, ul{",
    "background: black !important",
"}",
"table tbody .even td, table tbody .even th{",
"    background-color: rgb(40,40,40) !important;",
"    background: rgb(40,40,40) !important;",
"}",
"tr{",
"border-top-color: rgb(0,0,0) !important;",
"}",
"*{",
    "color: white !important;",
"}",
"a{",
    "color: rgb(20,240,240) !important;",
"}",
"html{",
    "background: url(http://www.psychicdonut.com/wp-content/uploads/2012/09/Dark-Clouds.jpeg) no-repeat;",
    "background-size: cover;",
"}",
	].join("\n");
if (typeof GM_addStyle != "undefined") {
	GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
	PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
	addStyle(css);
} else {
	var node = document.createElement("style");
	node.type = "text/css";
	node.appendChild(document.createTextNode(css));
	var heads = document.getElementsByTagName("head");
	if (heads.length > 0) {
		heads[0].appendChild(node); 
	} else {
		// no head yet, stick it whereever
		document.documentElement.appendChild(node);
	}
}
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址