Created
September 4, 2021 04:30
-
-
Save Misaka-0x447f/a95ff24be9a9e63b593dfd8a31d7927d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 粘贴到 console 里就可以了 | |
let r = () => { | |
const temp = Math.random; Math.random = () => 0; document.getElementById('random').click(); Math.random = temp; | |
} | |
let s = () => { | |
let t; | |
t = setInterval(() => { | |
let e = document.getElementById('lifeTrajectory') | |
if (!e) clearInterval(t) | |
else e.click() | |
}, 5); | |
} | |
let rbutton = document.createElement('button') | |
rbutton.onclick = r | |
// 出现十连抽按钮时使用 | |
rbutton.innerHTML = '🎰' | |
rbutton.setAttribute('style', 'position: fixed; top: 0; left: 0; z-index: 10000; font-size: 30px;') | |
document.body.appendChild(rbutton) | |
let sbutton = document.createElement('button') | |
sbutton.onclick = s | |
// 自动快进 | |
sbutton.innerHTML = '⏩' | |
sbutton.setAttribute('style', 'position: fixed; top: 0; left: 60px; z-index: 10000; font-size: 30px;') | |
document.body.appendChild(sbutton) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment