mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-03-30 20:38:29 +02: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;
|
var path_full = a.pathname + a.search;
|
||||||
if (WebApp.isIframe ||
|
if (WebApp.isIframe ||
|
||||||
versionAtLeast('1.1')) {
|
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 {
|
} else {
|
||||||
location.href = 'https://t.me' + path_full;
|
location.href = 'https://t.me' + path_full;
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<meta name="MobileOptimized" content="176" />
|
<meta name="MobileOptimized" content="176" />
|
||||||
<meta name="HandheldFriendly" content="True" />
|
<meta name="HandheldFriendly" content="True" />
|
||||||
<meta name="robots" content="noindex, nofollow" />
|
<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>
|
<script>
|
||||||
function setThemeClass() {
|
function setThemeClass() {
|
||||||
document.documentElement.className = Telegram.WebApp.colorScheme;
|
document.documentElement.className = Telegram.WebApp.colorScheme;
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<meta name="MobileOptimized" content="176" />
|
<meta name="MobileOptimized" content="176" />
|
||||||
<meta name="HandheldFriendly" content="True" />
|
<meta name="HandheldFriendly" content="True" />
|
||||||
<meta name="robots" content="noindex,nofollow" />
|
<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>
|
<script>
|
||||||
function setThemeClass() {
|
function setThemeClass() {
|
||||||
document.documentElement.className = Telegram.WebApp.colorScheme;
|
document.documentElement.className = Telegram.WebApp.colorScheme;
|
||||||
|
|
Loading…
Add table
Reference in a new issue