diff --git a/webhack.js b/webhack.js new file mode 100644 index 0000000..64b7f6d --- /dev/null +++ b/webhack.js @@ -0,0 +1,8 @@ +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"); + } +}