9 lines
271 B
JavaScript
9 lines
271 B
JavaScript
window.hamster_hack = function () {
|
|
let frame = document.querySelector(".zA1w1IOq");
|
|
if (frame) {
|
|
let orig = frame.getAttribute("src");
|
|
frame.setAttribute("src", orig.replace("tgWebAppPlatform=weba", "tgWebAppPlatform=android"));
|
|
alert("hacked");
|
|
}
|
|
}
|