Variable Manager v2

Better variable manager, idea - VirusterDev.

安装此脚本?
作者推荐脚本

您可能也喜欢Variable manager

安装此脚本
  1. // ==UserScript==
  2. // @name Variable Manager v2
  3. // @namespace https://github.com/MichnoAZ
  4. // @version 1.0
  5. // @description Better variable manager, idea - VirusterDev.
  6. // @author Pulsar, Viruster (idea)
  7. // @match *://*/*
  8. // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
  9. // @grant none
  10. // @license MIT
  11. // ==/UserScript==
  12. /**
  13. * Autor: Pulsar
  14. * Github: https://github.com/MichnoAZ
  15. * License: MIT
  16. Help:
  17. a - Menu element
  18. b - iteration for rainbow color in the menu
  19. window.box - function for changing variables
  20. **/
  21.  
  22. var a=document.createElement("div");
  23. a.innerHTML="\n Variable Manager<br>\n <input id = 'n' placeholder = 'Variable Name'><br><input id = 'v' placeholder = 'Value'> <button onclick = 'window.box(document.getElementById(`n`).value, document.getElementById(`v`).value)'> Edit Variable</button><br>";
  24. a.style="font-family: monospace !important; \n border-width: 6px; \n overflow:auto;\n max-width:170px;\n max-height:90px;\n width:400px;\n height: 90px;\n color:white;\n font-size:12px !important;\n background:rgba(0, 0, 0, 0.5);\n background-size:250%;\n top:0 !important;\n left:0 !important;\n position:fixed;\n font-family:monospace !important;\n z-index:999999999999999999999999999999999999999999999999999999999999999999;\n border-radius-bottom:15px;\n border-radius-right:15px;\n border-radius:15px;\n text-align:center;\n border: 2.5px solid transparent;\n border-image: linear-gradient(to bottom right, #b827fc 0%, #2c90fc 25%, #b8fd33 50%, #fec837 75%, #fd1892 100%);\n border-image-slice: 1;\n box-shadow: inset 0 0 30px 0 #0d0d0d;\n background-size:100%;";
  25. var b=0;
  26. setInterval(function(){
  27. b++;
  28. a.style.color="hsl("+360*b/100+",80%,50%)";254<b&&(b=0)},25);
  29. document.body.appendChild(a);
  30. window.box=function(c,d){return"window Object.prototype Function.prototype localStorage Array.prototype sessionStorage".split(" ").map(function(e){return top[e][c]=d}
  31. )};
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.