add webhack
This commit is contained in:
parent
cbbd493a90
commit
3ffe28080a
8
webhack.js
Normal file
8
webhack.js
Normal file
@ -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");
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user