mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-11-28 19:23:11 +01:00
Update content of files
This commit is contained in:
parent
937ce8c7b1
commit
a265c8f38d
3 changed files with 3 additions and 3 deletions
|
@ -754,7 +754,7 @@
|
|||
var path_full = a.pathname + a.search;
|
||||
if (WebApp.isIframe ||
|
||||
versionAtLeast('1.1')) {
|
||||
WebView.postEvent('open_tg_link', false, {path_full: path_full});
|
||||
WebView.postEvent('web_app_open_tg_link', false, {path_full: path_full});
|
||||
} else {
|
||||
location.href = 'https://t.me' + path_full;
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<meta name="MobileOptimized" content="176" />
|
||||
<meta name="HandheldFriendly" content="True" />
|
||||
<meta name="robots" content="noindex, nofollow" />
|
||||
<script src="https://tg.dev/js/telegram-web-app.js?5"></script>
|
||||
<script src="https://tg.dev/js/telegram-web-app.js?6"></script>
|
||||
<script>
|
||||
function setThemeClass() {
|
||||
document.documentElement.className = Telegram.WebApp.colorScheme;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<meta name="MobileOptimized" content="176" />
|
||||
<meta name="HandheldFriendly" content="True" />
|
||||
<meta name="robots" content="noindex,nofollow" />
|
||||
<script src="https://telegram.org/js/telegram-web-app.js?5"></script>
|
||||
<script src="https://telegram.org/js/telegram-web-app.js?6"></script>
|
||||
<script>
|
||||
function setThemeClass() {
|
||||
document.documentElement.className = Telegram.WebApp.colorScheme;
|
||||
|
|
Loading…
Reference in a new issue