Advertisement
Guest User

Untitled

a guest
Apr 20th, 2015
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 KB | None | 0 0
  1. // ==UserScript==
  2. // [url=home.php?mod=space&uid=240972]@name[/url] Hestia Google search
  3. // @namespace http://userstyles.org
  4. // @description Just change the Google logo to Hestia boob logo. Select logo you want and 'install with stylish' or 'update with stylish'
  5. // @author TanHamster_007
  6. // @homepage https://userstyles.org/styles/112750
  7. // @include http://www.google*
  8. // @include http://images.google*
  9. // @include http://news.google*
  10. // @include http://blogsearch.google*
  11. // @include http://books.google*
  12. // @include http://209.85.165.104*
  13. // @include http://translate.google*
  14. // @include http://video.google*
  15. // @include https://encrypted.google*
  16. // @include https://www.google*
  17. // @run-at document-start
  18. // @version 0.20150416065227
  19. // ==/UserScript==
  20. (function() {var css = [
  21. "img#hplogo {",
  22. " box-sizing: border-box;",
  23. " background: url(\"http://i.imgur.com/ksYDiA4.png\") center no-repeat !important; /*same background as the 2nd one */",
  24. " width: 321px; /* width of your image */",
  25. " height: 298px; /* height of your image */",
  26. " padding-left: 321px; /* equal to the width of the image */",
  27. " margin: 7px auto;",
  28. "}",
  29. "#hplogo {text-indent: -9000px !important;white-space: nowrap;}",
  30. "div#hplogo {",
  31. " box-sizing: border-box;",
  32. " background: url(\"http://i.imgur.com/ksYDiA4.png\") center no-repeat !important;",
  33. " padding-left: 321px;",
  34. " height: 298px; /* height of your image */",
  35. " padding-bottom: 335px; /* tweak */",
  36. " margin: -124px auto; /* tweak */",
  37. "}",
  38. ".sbibod, .jhp input[type=\"submit\"] {",
  39. " opacity: .7;",
  40. "}"
  41. ].join("\n");
  42. if (typeof GM_addStyle != "undefined") {
  43. GM_addStyle(css);
  44. } else if (typeof PRO_addStyle != "undefined") {
  45. PRO_addStyle(css);
  46. } else if (typeof addStyle != "undefined") {
  47. addStyle(css);
  48. } else {
  49. var node = document.createElement("style");
  50. node.type = "text/css";
  51. node.appendChild(document.createTextNode(css));
  52. var heads = document.getElementsByTagName("head");
  53. if (heads.length > 0) {
  54. heads[0].appendChild(node);
  55. } else {
  56. // no head yet, stick it whereever
  57. document.documentElement.appendChild(node);
  58. }
  59. }
  60. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement