Greasy Fork is available in English.
Replace #FFFFFF backgrounds in #ECF2EA rgb(236, 242, 234),is more natural ergonomic color for your eyes.
当前为
/*<![CDATA[*//*
// ==UserScript==
// @name defBackgroundUp
// @description Replace #FFFFFF backgrounds in #ECF2EA rgb(236, 242, 234),is more natural ergonomic color for your eyes.
// @include *
// @namespace http://greasyfork.icu
// @version 6
// ==/UserScript==**/
function confBackg(){
var doc=document,getref=['body','table','td','div','html','dl','ul','pre'],
abg=function(tg){return getComputedStyle(tg,null).backgroundColor=='rgb(255, 255, 255)';};
for(var a=8,n=0,tag,tg,tmp=[];a--;){
tag=doc.getElementsByTagName(getref[a]);
for(var i=tag.length;i--;){tg=tag[i];if(abg(tg)){tmp[n++]=tg.style;}}
};tmp.forEach(function(s){s.backgroundColor='#ecf2ea';});tmp=null;
}
document.addEventListener('load',confBackg(),false);
/*]]>*/