Back to scripts
game
2024-03-21v1.0.0Community
Usage
Steps
- 進入加密遊戲模式
- 運行腳本
- 自動完成加密挑戰
Notes
- 僅在加密遊戲模式有效
- 可能會降低遊戲樂趣
- 建議僅用於學習目的
Requirements
- 必須在加密遊戲模式中
- 需要現代瀏覽器支持
Code
function cryptoHack() {
const gameFrame = document.querySelector('#gameFrame');
if (!gameFrame) {
alert('Game frame not found!');
return;
}
setInterval(() => {
const cryptoElements = gameFrame.contentWindow.document.querySelectorAll('.styles__cryptoContainer___2rB3w-camelCase');
cryptoElements.forEach(element => {
const value = parseInt(element.getAttribute('data-value') || '0');
if (value > 0) {
element.click();
}
});
const upgradeButtons = gameFrame.contentWindow.document.querySelectorAll('.styles__upgradeButton___3YKkN-camelCase');
upgradeButtons.forEach(button => {
if (!button.disabled) {
button.click();
}
});
}, 100);
alert('Crypto Hack activated! Will auto-collect crypto and purchase upgrades.');
}
cryptoHack();
Changelog
Version 1.0.0
2024-03-21- 初始版本發布
- 實現自動解密功能
- 優化性能表現