Skip to content

Instantly share code, notes, and snippets.

@the-pesar
Created September 13, 2024 10:56
Show Gist options
  • Save the-pesar/e38af534814b3dd46b9144f7806339ff to your computer and use it in GitHub Desktop.
Save the-pesar/e38af534814b3dd46b9144f7806339ff to your computer and use it in GitHub Desktop.
To bypass airdrop Telegram miniapps preventation on computer
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)
@Arian27078
Copy link

The written code does not work anymore, please correct it🙏🏻

What airdrop did you use?

W-Coin and MemeFI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment