Disable Scope Lines for CS - SHELL SHOCKERS

Removes the black lines that are visible when you scope in

当前为 2025-01-21 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Disable Scope Lines for CS - SHELL SHOCKERS
  3. // @version 0.6
  4. // @description Removes the black lines that are visible when you scope in
  5. // @author wish?
  6. // @run-at document-start
  7. // @license MIT
  8. // @grant none
  9. // @namespace https://greasyfork.org/en/users/1361048
  10. // @match *://*.shellshock.io/*
  11. // @match *://*.shell.onlypuppy7.online/*
  12. // @match *://*.algebra.best/*
  13. // @match *://*.algebra.vip/*
  14. // @match *://*.biologyclass.club/*
  15. // @match *://*.deadlyegg.com/*
  16. // @match *://*.deathegg.world/*
  17. // @match *://*.eggboy.club/*
  18. // @match *://*.eggboy.xyz/*
  19. // @match *://*.eggcombat.com/*
  20. // @match *://*.egg.dance/*
  21. // @match *://*.eggfacts.fun/*
  22. // @match *://*.egghead.institute/*
  23. // @match *://*.eggisthenewblack.com/*
  24. // @match *://*.eggsarecool.com/*
  25. // @match *://*.geometry.best/*
  26. // @match *://*.geometry.monster/*
  27. // @match *://*.geometry.pw/*
  28. // @match *://*.geometry.report/*
  29. // @match *://*.hardboiled.life/*
  30. // @match *://*.hardshell.life/*
  31. // @match *://*.humanorganising.org/*
  32. // @match *://*.mathactivity.xyz/*
  33. // @match *://*.mathactivity.club/*
  34. // @match *://*.mathdrills.info/*
  35. // @match *://*.mathdrills.life/*
  36. // @match *://*.mathfun.rocks/*
  37. // @match *://*.mathgames.world/*
  38. // @match *://*.math.international/*
  39. // @match *://*.mathlete.fun/*
  40. // @match *://*.mathlete.pro/*
  41. // @match *://*.overeasy.club/*
  42. // @match *://*.risenegg.com/*
  43. // @match *://*.scrambled.tech/*
  44. // @match *://*.scrambled.today/*
  45. // @match *://*.scrambled.us/*
  46. // @match *://*.scrambled.world/*
  47. // @match *://*.shellshockers.club/*
  48. // @match *://*.shellshockers.life/*
  49. // @match *://*.shellshockers.site/*
  50. // @match *://*.shellshockers.us/*
  51. // @match *://*.shellshockers.world/*
  52. // @match *://*.shellshockers.xyz/*
  53. // @match *://*.shellsocks.com/*
  54. // @match *://*.softboiled.club/*
  55. // @match *://*.urbanegger.com/*
  56. // @match *://*.violentegg.club/*
  57. // @match *://*.violentegg.fun/*
  58. // @match *://*.yolk.best/*
  59. // @match *://*.yolk.life/*
  60. // @match *://*.yolk.rocks/*
  61. // @match *://*.yolk.tech/*
  62. // @match *://*.yolk.quest/*
  63. // @match *://*.yolk.today/*
  64. // @match *://*.zygote.cafe/*
  65. // @match *://*.shellshockers.best/*
  66. // @match *://*.eggboy.me/*
  67. // ==/UserScript==
  68. (function () {
  69. window.XMLHttpRequest = class extends window.XMLHttpRequest {
  70. constructor() {
  71. super(...arguments);
  72. }
  73. open() {
  74. if (arguments[1] && arguments[1].includes("js/shellshock.js")) this.scriptMatch = true;
  75. super.open(...arguments);
  76. }
  77. get response() {
  78. if (this.scriptMatch) {
  79. const patterns = {
  80. scope: /,this\.([A-Za-z]+)\.position\.z=2/,
  81. };
  82.  
  83. let responseText = super.response;
  84. const scopeVar = patterns.scope.exec(responseText)[1];
  85.  
  86. responseText = responseText.replaceAll(
  87. `this.${scopeVar}.applyFog=!1,this.${scopeVar}.layerMask=536870912,`,
  88. `this.${scopeVar}.applyFog=!1,this.${scopeVar}.layerMask=0,`
  89. );
  90. console.log("scope border", scopeVar);
  91. return responseText;
  92. }
  93. return super.response;
  94. }
  95. };
  96. })();