dotjs/google.com.js @ a98440593d86

More snippets.
author Steve Losh <steve@stevelosh.com>
date Wed, 13 Jul 2011 10:41:17 -0400
parents 33fb4219a011
children dbda09a75160
$(function() {
    var css = ".vspib, .vspi {display: none;} #vspb {display: none;}";
    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 heads = document.getElementsByTagName("head");
        if (heads.length > 0) {
            var node = document.createElement("style");
            node.type = "text/css";
            node.appendChild(document.createTextNode(css));
            heads[0].appendChild(node); 
        }
    }
})();