Skip to content

Commit

Permalink
Update rotate.js
Browse files Browse the repository at this point in the history
  • Loading branch information
3r1s-s authored May 7, 2024
1 parent f04d167 commit 55879af
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions plugins/rotate.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,6 @@ var start = async function() {

var tcheck = setInterval(turncheck, 100);

function turncheck() {
for (let i2 = 0; i2 < document.getElementsByTagName("script").length; i2++) {
if (!reloading) {
if (document.getElementsByTagName("script")[i2].src == turnsrc) {
reloading = true
alert("Meower rotate doesnt work with meower turn, pressing ok will disable meower turn and reload")
localStorage.removeItem("Meower Turn")
window.location.reload()
}
}
}

if (!localStorage.getItem("Meower Rotate")) {
document.removeEventListener("mousemove", moveevent)
clearInterval(tcheck)
document.documentElement.style.transform = null
document.documentElement.style.width = null
document.documentElement.style.height = null
document.documentElement.style.position = null
document.documentElement.style.overflow = null
}
}
}

// Call start
Expand Down

0 comments on commit 55879af

Please sign in to comment.