Remover

With this Script you can edit every Website.

当前为 2015-09-09 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Remover
  3. // @namespace http://bit.ly/14VCzbr
  4. // @version 4.3
  5. // @description With this Script you can edit every Website.
  6. // @author Scriptz
  7. // @copyright 2013+ , Scriptz
  8. // @include http://*/*
  9. // @include https://*/*
  10. // @match https://dl.dropbox.com/sh/dk38s1qw7ice7nq/*/*
  11. // @icon https://dl.dropbox.com/sh/dk38s1qw7ice7nq/nmfu4e3y2S/Icon48x48.png
  12. // @icon64 https://dl.dropbox.com/sh/dk38s1qw7ice7nq/FaeEFBlv4b/Icon64x64.png
  13. // @priority 9999
  14. // ==/UserScript==
  15.  
  16. // ==VAR==
  17. var work = "<a class='158704' onMouseout='load()'>Remover by Scriptz is on!</a><span class='158704'> <--- Mouseover to Stop.</span>";
  18. var Stopped = "<span class='158704'>Remover by Scriptz is off!</span>";
  19. // ==============
  20.  
  21. // ==START FUNCTION==
  22. body = document.body;
  23. if(body != null) {
  24. div2 = document.createElement("div");
  25. div2.setAttribute('id','first');
  26. div2.style.position = "fixed";
  27. div2.style.top = "0px";
  28. div2.style.right = "0px";
  29. div2.style.zIndex = "9999";
  30. div2.style.backgroundColor = "red";
  31. div2.style.opacity = 0.90;
  32. div2.style.border = "1px solid #ffffcc";
  33. div2.style.padding = "3px";
  34. div2.innerHTML = "<div id='button'><a class='158704' href='javascript:on()'>Start</a></div>"
  35. body.appendChild(div2);
  36. }
  37. unsafeWindow.on = function() {
  38. document.getElementById("hide").style.visibility='visible';
  39. document.getElementById('first').style.left = "0px";
  40. document.getElementsByTagName("title")[0].firstChild.data = "► Started.";
  41. (function() {
  42. var link = document.createElement('link');
  43. link.type = 'image/x-icon';
  44. link.rel = 'shortcut icon';
  45. link.href = 'http://file1.npage.de/007324/77/bilder/favicon.ico';
  46. document.getElementsByTagName('head')[0].appendChild(link);
  47. }());
  48. location.href="javascript:document.body.contentEditable='true'; document.designMode='on'; void 0";
  49. document.getElementById('button').innerHTML = work;
  50. }
  51. // ==============
  52.  
  53. // ==HIDE BUTTON==
  54. body = document.body;
  55. if(body != null) {
  56. div2 = document.createElement("div");
  57. div2.setAttribute('id','hide');
  58. div2.style.position = "fixed";
  59. div2.style.top = "40px";
  60. div2.style.right = "0px";
  61. div2.style.zIndex = "9999";
  62. div2.style.opacity = 0.90;
  63. div2.style.visibility ="hidden"
  64. div2.innerHTML = "<div id='img'><img onMouseout='imgload()' src='http://fs2.directupload.net/images/150909/sxcclyoz.png'></div>"
  65. body.appendChild(div2);
  66. }
  67. unsafeWindow.imgload = function() {
  68. document.getElementById("hide").style.visibility='hidden';
  69. document.getElementById("first").style.visibility='hidden';
  70. document.getElementById("show").style.visibility='visible';
  71. }
  72. // ==============
  73.  
  74. // ==SHOW BUTTON==
  75. body = document.body;
  76. if(body != null) {
  77. div2 = document.createElement("div");
  78. div2.setAttribute('id','show');
  79. div2.style.position = "fixed";
  80. div2.style.top = "0px";
  81. div2.style.right = "0px";
  82. div2.style.zIndex = "9999";
  83. div2.style.opacity = 0.90;
  84. div2.style.visibility ="hidden"
  85. div2.innerHTML = "<div id='img'><img onMouseout='loadone()' src='http://fs2.directupload.net/images/150909/7tae9l8k.png'></div>"
  86. body.appendChild(div2);
  87. }
  88. unsafeWindow.loadone = function() {
  89. document.getElementById("show").style.visibility='hidden';
  90. document.getElementById("first").style.visibility='visible';
  91. document.getElementById("hide").style.visibility='visible';
  92. }
  93. // ==============
  94.  
  95. // ==STOP FUNCTION==
  96. unsafeWindow.load = function() {
  97. document.getElementsByTagName("title")[0].firstChild.data = "Stopped.";
  98. location.href="javascript:document.body.contentEditable='false'; document.designMode='off'; void 0";
  99. document.getElementById('button').innerHTML = Stopped;
  100. window.setTimeout(function() { document.getElementById("first").style.visibility='hidden'; }, 10000);
  101. window.setTimeout(function() { document.getElementById("hide").style.visibility='hidden'; }, 10000);
  102. window.setTimeout(function() { document.getElementById("show").style.visibility='hidden'; }, 10000);
  103. }
  104. // ==============