DEEP SPACE

this is cool

目前为 2024-03-09 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name DEEP SPACE
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description this is cool
  6. // @author GEORGECR
  7. // @match https://bloxd.io/
  8. // @icon https://i.postimg.cc/NMG91FWH/space-BG-loco.jpg
  9. // @license MIT
  10. // @supportURL https://github.com/damirarh/GreasyForkScripts
  11. // @match https://www.trueachievements.com/game/*/achievements*
  12. // @grant none
  13. // ==/UserScript==
  14.  
  15. setInterval(function() {
  16. 'use strict';
  17. document.title = "DEEP SPACE";
  18. const maintext = document.querySelector('.Title.FullyFancyText');
  19. const darkPurple = 'rgba(10, 20, 50, 0.5)';
  20. const transparentPurple = 'rgba(0, 0, 0, 0.3)';
  21. maintext.style.fontFamily = " Courier, monospace";
  22. maintext.style.textShadow = "none";
  23. maintext.style.webkitTextStroke = "none";
  24.  
  25.  
  26.  
  27.  
  28. document.querySelector('.Title.FullyFancyText').textContent = "DEEP SPACE";
  29. document.querySelector('.Title.FullyFancyText').style.backgroundImage = "https://piskel-imgstore-b.appspot.com/img/68888566-cce3-11ee-a3cd-35b2269c1bce.gif";
  30. let background = document.getElementsByClassName("Background");
  31. background[0].src = "https://i.postimg.cc/0yTx0G0L/client-BG.jpg";
  32. let names = document.getElementsByClassName("AvailableGameText");
  33. let imgs = document.getElementsByClassName("AvailableGameImg")
  34. let imgedits = document.getElementsByClassName("AvailableGame");
  35.  
  36.  
  37.  
  38.  
  39. setInterval(function() {
  40. const crosshair = document.querySelector(".CrossHair");
  41. if (crosshair) {
  42. crosshair.textContent = "";
  43. crosshair.style.backgroundImage = "url(https://piskel-imgstore-b.appspot.com/img/68888566-cce3-11ee-a3cd-35b2269c1bce.gif)";
  44. crosshair.style.backgroundRepeat = "no-repeat";
  45. crosshair.style.backgroundSize = "contain";
  46. crosshair.style.width = "25px";
  47. crosshair.style.height = "25px";
  48. }
  49. }, 1000);
  50.  
  51.  
  52.  
  53. // Hotbar
  54. (function() {
  55. 'use strict';
  56.  
  57. setInterval(function() {
  58. const hotbarslots = document.querySelectorAll(".item");
  59. const selectedslot = document.querySelectorAll(".SelectedItem");
  60. if (hotbarslots) {
  61. hotbarslots.forEach(function(hotbar) {
  62. hotbar.style.borderRadius = "8px";
  63. hotbar.style.borderColor = "#000000";
  64. hotbar.style.backgroundColor = "transparent";
  65. hotbar.style.boxShadow = ""
  66. hotbar.style.outline = "transparent"
  67. });
  68. }
  69. if (selectedslot) {
  70. selectedslot.forEach(function(slot) {
  71. slot.style.backgroundColor = "transparent";
  72. slot.style.boxShadow = "";
  73. slot.style.borderRadius = "15px";
  74. slot.style.borderColor = "#FFFFFF";
  75. slot.style.outline = "transparent";
  76. });
  77. }
  78. }, 1);
  79. })();
  80. (function() {
  81. 'use strict';
  82.  
  83. var wholeAppWrapper = document.querySelector(".WholeAppWrapper");
  84. document.addEventListener('keydown', function(event) {
  85. if (event.key === 'U') {
  86. if (wholeAppWrapper.style.visibility === 'hidden') {
  87. wholeAppWrapper.style.visibility = 'visible';
  88. } else {
  89. wholeAppWrapper.style.visibility = 'hidden';
  90. }
  91. }
  92. });
  93.  
  94. document.addEventListener('keydown', function(event) {
  95. if (event.key === 'u') {
  96. if (wholeAppWrapper.style.visibility === 'hidden') {
  97. wholeAppWrapper.style.visibility = 'visible';
  98. } else {
  99. wholeAppWrapper.style.visibility = 'hidden';
  100. }
  101. }
  102. });
  103.  
  104. })();
  105.  
  106. });