Change background color of Yahoo search ad areas.
当前为
// ==UserScript==
// @name CH Yahoo Color-Coded Results
// @author clickhappier
// @namespace clickhappier
// @description Change background color of Yahoo search ad areas.
// @version 1.0c
// @include http*://search.yahoo.*/search*
// @grant none
// ==/UserScript==
// adapted from my CH Google Color-Coded Results script
function addGlobalStyle(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}
addGlobalStyle('.ads { background-color: darkgray ! important; }');
addGlobalStyle('.east_ad_bg { background-color: darkgray ! important; }');