this is cool
当前为
// ==UserScript==
// @name DEEP SPACE
// @namespace http://tampermonkey.net/
// @version 0.1
// @description this is cool
// @author GEORGECR
// @match https://bloxd.io/
// @icon https://i.postimg.cc/NMG91FWH/space-BG-loco.jpg
// @license MIT
// @supportURL https://github.com/damirarh/GreasyForkScripts
// @match https://www.trueachievements.com/game/*/achievements*
// @grant none
// ==/UserScript==
setInterval(function() {
'use strict';
document.title = "DEEP SPACE";
const maintext = document.querySelector('.Title.FullyFancyText');
const darkPurple = 'rgba(10, 20, 50, 0.5)';
const transparentPurple = 'rgba(0, 0, 0, 0.3)';
maintext.style.fontFamily = " Courier, monospace";
maintext.style.textShadow = "none";
maintext.style.webkitTextStroke = "none";
document.querySelector('.Title.FullyFancyText').textContent = "DEEP SPACE";
document.querySelector('.Title.FullyFancyText').style.backgroundImage = "https://piskel-imgstore-b.appspot.com/img/68888566-cce3-11ee-a3cd-35b2269c1bce.gif";
let background = document.getElementsByClassName("Background");
background[0].src = "https://i.postimg.cc/0yTx0G0L/client-BG.jpg";
let names = document.getElementsByClassName("AvailableGameText");
let imgs = document.getElementsByClassName("AvailableGameImg")
let imgedits = document.getElementsByClassName("AvailableGame");
setInterval(function() {
const crosshair = document.querySelector(".CrossHair");
if (crosshair) {
crosshair.textContent = "";
crosshair.style.backgroundImage = "url(https://piskel-imgstore-b.appspot.com/img/68888566-cce3-11ee-a3cd-35b2269c1bce.gif)";
crosshair.style.backgroundRepeat = "no-repeat";
crosshair.style.backgroundSize = "contain";
crosshair.style.width = "25px";
crosshair.style.height = "25px";
}
}, 1000);
// Hotbar
(function() {
'use strict';
setInterval(function() {
const hotbarslots = document.querySelectorAll(".item");
const selectedslot = document.querySelectorAll(".SelectedItem");
if (hotbarslots) {
hotbarslots.forEach(function(hotbar) {
hotbar.style.borderRadius = "8px";
hotbar.style.borderColor = "#000000";
hotbar.style.backgroundColor = "transparent";
hotbar.style.boxShadow = ""
hotbar.style.outline = "transparent"
});
}
if (selectedslot) {
selectedslot.forEach(function(slot) {
slot.style.backgroundColor = "transparent";
slot.style.boxShadow = "";
slot.style.borderRadius = "15px";
slot.style.borderColor = "#FFFFFF";
slot.style.outline = "transparent";
});
}
}, 1);
})();
(function() {
'use strict';
var wholeAppWrapper = document.querySelector(".WholeAppWrapper");
document.addEventListener('keydown', function(event) {
if (event.key === 'U') {
if (wholeAppWrapper.style.visibility === 'hidden') {
wholeAppWrapper.style.visibility = 'visible';
} else {
wholeAppWrapper.style.visibility = 'hidden';
}
}
});
document.addEventListener('keydown', function(event) {
if (event.key === 'u') {
if (wholeAppWrapper.style.visibility === 'hidden') {
wholeAppWrapper.style.visibility = 'visible';
} else {
wholeAppWrapper.style.visibility = 'hidden';
}
}
});
})();
});