Guest User

nastume for anon

a guest
Jul 18th, 2016
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. // ==UserScript==
  2. // @name MinMascot for 4chan
  3. // @namespace http://userstyles.org
  4. // @description Minimal 4chan Mascot for the discerning foreveralone virgin.
  5. // @author wutweeaboo
  6. // @homepage https://userstyles.org/styles/85301
  7. // @include http://boards.4chan.org/*
  8. // @include https://boards.4chan.org/*
  9. // @include http://*.boards.4chan.org/*
  10. // @include https://*.boards.4chan.org/*
  11. // @include http://rs.4chan.org/*
  12. // @include https://rs.4chan.org/*
  13. // @include http://*.rs.4chan.org/*
  14. // @include https://*.rs.4chan.org/*
  15. // @run-at document-start
  16. // @version 0.20130331030401
  17. // ==/UserScript==
  18. (function() {var css = [
  19. "body::after {",
  20. " position: fixed !important;",
  21. " content: url(\'http://i.imgur.com/eAKzc38.png\');",
  22. " bottom: -3px !important; ",
  23. " right: 0px !important;",
  24. " opacity:0.7;",
  25. " z-index:-1;",
  26. "}",
  27. " ",
  28. "/*",
  29. "Default Values",
  30. " bottom: -17px !important; ",
  31. " right: 0px !important;",
  32. "*/"
  33. ].join("\n");
  34. if (typeof GM_addStyle != "undefined") {
  35. GM_addStyle(css);
  36. } else if (typeof PRO_addStyle != "undefined") {
  37. PRO_addStyle(css);
  38. } else if (typeof addStyle != "undefined") {
  39. addStyle(css);
  40. } else {
  41. var node = document.createElement("style");
  42. node.type = "text/css";
  43. node.appendChild(document.createTextNode(css));
  44. var heads = document.getElementsByTagName("head");
  45. if (heads.length > 0) {
  46. heads[0].appendChild(node);
  47. } else {
  48. // no head yet, stick it whereever
  49. document.documentElement.appendChild(node);
  50. }
  51. }
  52. })();
Advertisement
Add Comment
Please, Sign In to add comment