Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // [url=home.php?mod=space&uid=240972]@name[/url] Hestia Google search
- // @namespace http://userstyles.org
- // @description Just change the Google logo to Hestia boob logo. Select logo you want and 'install with stylish' or 'update with stylish'
- // @author TanHamster_007
- // @homepage https://userstyles.org/styles/112750
- // @include http://www.google*
- // @include http://images.google*
- // @include http://news.google*
- // @include http://blogsearch.google*
- // @include http://books.google*
- // @include http://209.85.165.104*
- // @include http://translate.google*
- // @include http://video.google*
- // @include https://encrypted.google*
- // @include https://www.google*
- // @run-at document-start
- // @version 0.20150416065227
- // ==/UserScript==
- (function() {var css = [
- "img#hplogo {",
- " box-sizing: border-box;",
- " background: url(\"http://i.imgur.com/ksYDiA4.png\") center no-repeat !important; /*same background as the 2nd one */",
- " width: 321px; /* width of your image */",
- " height: 298px; /* height of your image */",
- " padding-left: 321px; /* equal to the width of the image */",
- " margin: 7px auto;",
- "}",
- "#hplogo {text-indent: -9000px !important;white-space: nowrap;}",
- "div#hplogo {",
- " box-sizing: border-box;",
- " background: url(\"http://i.imgur.com/ksYDiA4.png\") center no-repeat !important;",
- " padding-left: 321px;",
- " height: 298px; /* height of your image */",
- " padding-bottom: 335px; /* tweak */",
- " margin: -124px auto; /* tweak */",
- "}",
- ".sbibod, .jhp input[type=\"submit\"] {",
- " opacity: .7;",
- "}"
- ].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);
- }
- }
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement