-
Notifications
You must be signed in to change notification settings - Fork 0
/
SpidraEARS.js
29 lines (29 loc) · 1009 Bytes
/
SpidraEARS.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
var SpidrEye;
setInterval(function () {
SpidrEye = window.localStorage.getItem("SpidrEye");
if (SpidrEye!=""&&SpidrEye!=null&&SpidrEye!=undefined) {
sergeanteye(SpidrEye)
}
}, 70);
function SpidraMega(eyes) {
if (eyes=="MG000001") {
window.localStorage.setItem("SpidrEye","MG000001");
var Ram1 = document.querySelector('#result').value;
window.localStorage.setItem("SpidrRam1",Ram1);
window.localStorage.setItem("SpidrRam2","");
window.localStorage.setItem("SpidrRam3","");
window.localStorage.setItem("SpidrRam4","");
}
}
document.addEventListener("contextmenu", function(event){
event.preventDefault();
var x = event.clientX;
var y = event.clientY;
var Context = document.querySelector(".Context-Menu");
Context.style.display = "block";
Context.style.left = `${x}px`;
Context.style.top = `${y}px`;
}, false);
document.addEventListener("click", function() {
document.querySelector(".Context-Menu").style.display = "none";
})