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
64f428a16d
commit
c525f11bbf
8 changed files with 33 additions and 27 deletions
|
@ -18,7 +18,7 @@
|
|||
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
|
||||
<link href="/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?215" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?52" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?53" rel="stylesheet">
|
||||
<link href="/css/promote.css?54" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
@ -102,14 +102,14 @@
|
|||
<script src="/js/jquery.min.js?1"></script>
|
||||
<script src="/js/bootstrap.min.js"></script>
|
||||
<script src="/js/main-aj.js?56"></script>
|
||||
<script src="/js/widget-frame.js?55"></script>
|
||||
<script src="/js/widget-frame.js?56"></script>
|
||||
<script src="/js/promote.js?47"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?6"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?15"></script>
|
||||
|
||||
<script>ajInit({"version":536,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":538,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
Ads.init();
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
|
||||
<link href="/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?215" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?52" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?53" rel="stylesheet">
|
||||
<link href="/css/promote.css?54" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
@ -102,14 +102,14 @@
|
|||
<script src="/js/jquery.min.js?1"></script>
|
||||
<script src="/js/bootstrap.min.js"></script>
|
||||
<script src="/js/main-aj.js?56"></script>
|
||||
<script src="/js/widget-frame.js?55"></script>
|
||||
<script src="/js/widget-frame.js?56"></script>
|
||||
<script src="/js/promote.js?47"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?6"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?15"></script>
|
||||
|
||||
<script>ajInit({"version":536,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":538,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
openPopup('#login-popup-container');
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
|
||||
<link href="/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?215" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?52" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?53" rel="stylesheet">
|
||||
<link href="/css/promote.css?54" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
@ -102,14 +102,14 @@
|
|||
<script src="/js/jquery.min.js?1"></script>
|
||||
<script src="/js/bootstrap.min.js"></script>
|
||||
<script src="/js/main-aj.js?56"></script>
|
||||
<script src="/js/widget-frame.js?55"></script>
|
||||
<script src="/js/widget-frame.js?56"></script>
|
||||
<script src="/js/promote.js?47"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?6"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?15"></script>
|
||||
|
||||
<script>ajInit({"version":536,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":538,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
Ads.init();
|
||||
|
|
|
@ -79,6 +79,8 @@ span.tg-spoiler {
|
|||
}
|
||||
.spoilers_hidden span.tg-spoiler {
|
||||
background: #e3e5e8;
|
||||
}
|
||||
.spoilers_hidden.spoilers_active span.tg-spoiler {
|
||||
cursor: pointer;
|
||||
}
|
||||
.spoilers_hidden span.tg-spoiler-text {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
|
||||
<link href="/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?215" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?52" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?53" rel="stylesheet">
|
||||
<link href="/css/promote.css?54" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
@ -218,14 +218,14 @@
|
|||
<script src="/js/jquery.min.js?1"></script>
|
||||
<script src="/js/bootstrap.min.js"></script>
|
||||
<script src="/js/main-aj.js?56"></script>
|
||||
<script src="/js/widget-frame.js?55"></script>
|
||||
<script src="/js/widget-frame.js?56"></script>
|
||||
<script src="/js/promote.js?47"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?6"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?15"></script>
|
||||
|
||||
<script>ajInit({"version":536,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":538,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
Ads.init();
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
|
||||
<link href="/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?215" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?52" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?53" rel="stylesheet">
|
||||
<link href="/css/promote.css?54" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
@ -210,14 +210,14 @@
|
|||
<script src="/js/jquery.min.js?1"></script>
|
||||
<script src="/js/bootstrap.min.js"></script>
|
||||
<script src="/js/main-aj.js?56"></script>
|
||||
<script src="/js/widget-frame.js?55"></script>
|
||||
<script src="/js/widget-frame.js?56"></script>
|
||||
<script src="/js/promote.js?47"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?6"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?15"></script>
|
||||
|
||||
<script>ajInit({"version":536,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":538,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
Ads.init();
|
||||
|
|
|
@ -1287,6 +1287,9 @@ function checkFrameSize() {
|
|||
}
|
||||
}, postEl);
|
||||
gec('.js-message_text', function() {
|
||||
TPost.initSpoilers(this, !gpeByClass(this, 'service_message'));
|
||||
}, postEl);
|
||||
gec('.js-message_reply_text', function() {
|
||||
TPost.initSpoilers(this);
|
||||
}, postEl);
|
||||
gec('.js-message_footer.compact', function() {
|
||||
|
@ -1363,14 +1366,14 @@ function checkFrameSize() {
|
|||
xhr.send(null);
|
||||
}
|
||||
},
|
||||
initSpoilers: function(text_el) {
|
||||
initSpoilers: function(text_el, active) {
|
||||
var spoilers = ge('span.tg-spoiler', text_el);
|
||||
if (spoilers.length) {
|
||||
TPost.wrapSpoilers(spoilers);
|
||||
TPost.wrapTextNodes(text_el);
|
||||
addClass(text_el, 'decorated-text');
|
||||
}
|
||||
TPost.hideSpoilers(text_el, spoilers);
|
||||
TPost.hideSpoilers(text_el, active);
|
||||
},
|
||||
wrapSpoilers: function(spoilers) {
|
||||
gec(spoilers, function() {
|
||||
|
@ -1391,17 +1394,18 @@ function checkFrameSize() {
|
|||
}
|
||||
});
|
||||
},
|
||||
hideSpoilers: function(text_el, spoilers) {
|
||||
if (!spoilers) {
|
||||
spoilers = ge('span.tg-spoiler', text_el);
|
||||
}
|
||||
hideSpoilers: function(text_el, active) {
|
||||
var spoilers = ge('span.tg-spoiler', text_el);
|
||||
if (spoilers.length) {
|
||||
if (active) {
|
||||
addClass(text_el, 'spoilers_active');
|
||||
addEvent(spoilers, 'click', TPost.eSpoilerShow);
|
||||
}
|
||||
addClass(text_el, 'spoilers_hidden');
|
||||
}
|
||||
},
|
||||
eSpoilerShow: function(e) {
|
||||
var text_el = gpeByClass(this, 'js-message_text');
|
||||
var text_el = gpeByClass(this, 'spoilers_hidden');
|
||||
if (!text_el) return false;
|
||||
e.preventDefault();
|
||||
e.stopImmediatePropagation();
|
||||
|
@ -1415,7 +1419,7 @@ function checkFrameSize() {
|
|||
if (delay < 4000) delay = 4000;
|
||||
if (delay > 45000) delay = 45000;
|
||||
setTimeout(function() {
|
||||
TPost.hideSpoilers(text_el);
|
||||
TPost.hideSpoilers(text_el, true);
|
||||
}, delay);
|
||||
}
|
||||
};
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
|
||||
<link href="/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?215" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?52" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?53" rel="stylesheet">
|
||||
<link href="/css/promote.css?54" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
@ -150,14 +150,14 @@
|
|||
<script src="/js/jquery.min.js?1"></script>
|
||||
<script src="/js/bootstrap.min.js"></script>
|
||||
<script src="/js/main-aj.js?56"></script>
|
||||
<script src="/js/widget-frame.js?55"></script>
|
||||
<script src="/js/widget-frame.js?56"></script>
|
||||
<script src="/js/promote.js?47"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?6"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?15"></script>
|
||||
|
||||
<script>ajInit({"version":536,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":538,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
|
||||
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
|
||||
Ads.init();
|
||||
|
|
Loading…
Reference in a new issue