Created
September 13, 2024 10:56
-
-
Save the-pesar/e38af534814b3dd46b9144f7806339ff to your computer and use it in GitHub Desktop.
To bypass airdrop Telegram miniapps preventation on computer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const el = document.createElement("iframe") | |
el.src = document.getElementsByTagName('iframe')[0].src.replace(/(tgWebAppPlatform=)[^&]+/, "$1android") | |
document.querySelector("iframe").remove() | |
el.height = "100%" | |
el.width = "100%" | |
document.querySelector(".web-app-body").appendChild(el) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
W-Coin and MemeFI