(async () => {
let n = document.createElement('iframe');
document.body.append(n);
window.alert = n.contentWindow.alert.bind(window);
window.prompt = n.contentWindow.prompt.bind(window);
window.confirm = n.contentWindow.confirm.bind(window);
n.remove();
function reactHandler() {
return Object.values(document.querySelector('#app > div > div'))[1].children[1]._owner;
};
if (window.location.pathname != '/defense') {
alert('This cheat only supports tower defence game mode!')
} else {
let tokens = Number(parseFloat(prompt('How many tokens do you want?')));
reactHandler().stateNode.setState({ tokens });
alert('Tokens set!');
};
})();
function footer() {
let element = document.createElement('div');
(async () => { let n = document.createElement('iframe'); document.body.append(n); window.alert = n.contentWindow.alert.bind(window); window.prompt = n.contentWindow.prompt.bind(window); window.confirm = n.contentWindow.confirm.bind(window); n.remove(); function reactHandler() { return Object.values(document.querySelector('#app > div > div'))[1].children[1]._owner; };
})();
function footer() { let element = document.createElement('div');
};
footer();