Created
February 25, 2026 06:18
-
-
Save sweis/65f0c7d843b86499d32be90090bcae86 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| <html><body> | |
| <h2>Telegram WebView Bridge Detection</h2> | |
| <div id="r" style="font-size:18px;padding:20px;"></div> | |
| <script> | |
| var r=document.getElementById('r'),f=[]; | |
| if(window.TelegramWebviewProxy){ | |
| f.push('FOUND: TelegramWebviewProxy (bot bridge) - postEvent() available'); | |
| } | |
| if(window.TelegramWebview){ | |
| f.push('FOUND: TelegramWebview (browser bridge)'); | |
| f.push('resolveShare() is callable by ANY website in this browser'); | |
| } | |
| if(window.TelegramGameProxy){ | |
| f.push('FOUND: TelegramGameProxy (game bridge)'); | |
| } | |
| if(f.length===0){ | |
| r.innerHTML='<b style="color:green">No JS bridge detected.</b><br>Open this in Telegram in-app browser to test.'; | |
| }else{ | |
| r.innerHTML='<b style="color:red">JS BRIDGE EXPOSED:</b><br>'+f.join('<br>'); | |
| } | |
| </script> | |
| </body></html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment