tg-hint
v0.0.2
Published
Telegram in-app browser helper overlay
Downloads
57
Readme
Telegram In-App Browser Helper
This 3 kB script detects when your page is opened inside Telegram and pops up a short instruction telling the user how to open it in their regular browser (⋯ → Open in browser).
- Auto-detects Mini App, legacy
TelegramWebviewProxy, and UA strings - Multilingual – picks the device language, plus a language switcher
- One-click dismiss
- Built-in guide for turning the Telegram WebView off (iOS & Android)
Quick look
(Try it live on the demo page »)
Install
<!-- Production — jsDelivr CDN -->
<script src="https://cdn.jsdelivr.net/gh/dontbug/tg-hint/dist/tg-hint.min.js"></script>or with npm / pnpm:
npm i tg-hint
# then in your code
import 'tg-hint';☕ Support
If this project saved you a couple of hours, you can buy me a coffee – thank you!
