mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-25 22:10:25 +01:00
Update content of files
This commit is contained in:
parent
e0f6bb9d53
commit
f1b325506c
10 changed files with 88 additions and 25 deletions
|
@ -23,7 +23,7 @@
|
|||
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?236" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?67" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
||||
|
@ -102,13 +102,13 @@
|
|||
<script src="//telegram.org/js/bootstrap.min.js"></script>
|
||||
<script src="//telegram.org/js/main-aj.js?68"></script>
|
||||
<script src="/js/widget-frame.js?62"></script>
|
||||
<script src="/js/promote.js?58"></script>
|
||||
<script src="/js/promote.js?59"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?15"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?18"></script>
|
||||
|
||||
<script>ajInit({"version":861,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":863,"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();
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?236" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?67" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
||||
|
@ -102,13 +102,13 @@
|
|||
<script src="//telegram.org/js/bootstrap.min.js"></script>
|
||||
<script src="//telegram.org/js/main-aj.js?68"></script>
|
||||
<script src="/js/widget-frame.js?62"></script>
|
||||
<script src="/js/promote.js?58"></script>
|
||||
<script src="/js/promote.js?59"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?15"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?18"></script>
|
||||
|
||||
<script>ajInit({"version":861,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":863,"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)});
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?236" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?67" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
||||
|
@ -102,13 +102,13 @@
|
|||
<script src="//telegram.org/js/bootstrap.min.js"></script>
|
||||
<script src="//telegram.org/js/main-aj.js?68"></script>
|
||||
<script src="/js/widget-frame.js?62"></script>
|
||||
<script src="/js/promote.js?58"></script>
|
||||
<script src="/js/promote.js?59"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?15"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?18"></script>
|
||||
|
||||
<script>ajInit({"version":861,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":863,"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();
|
||||
|
|
|
@ -464,6 +464,13 @@ a:hover img.emoji {
|
|||
font-size: 14px;
|
||||
color: #222;
|
||||
}
|
||||
.monospace {
|
||||
font-family: monospace;
|
||||
}
|
||||
.noselect {
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.select {
|
||||
position: relative;
|
||||
|
@ -2079,9 +2086,6 @@ a.pr-account-button-wrap:focus {
|
|||
}
|
||||
.field-readonly .pr-form-control-wrap .pr-form-control {
|
||||
background: #F2F2F2;
|
||||
line-height: 24px;
|
||||
padding-top: 12px;
|
||||
padding-bottom: 12px;
|
||||
cursor: text;
|
||||
}
|
||||
.field-readonly .pr-form-control-wrap:after {
|
||||
|
@ -3701,6 +3705,10 @@ a.pr-popup-account:hover {
|
|||
color: #fff;
|
||||
background: var(--accent-bgactive);
|
||||
}
|
||||
.popup-button-left {
|
||||
float: left;
|
||||
margin-bottom: -5px;
|
||||
}
|
||||
|
||||
.pr-popup-container {
|
||||
align-items: start;
|
||||
|
@ -3731,9 +3739,6 @@ a.pr-popup-account:hover {
|
|||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.tgme_popup_button_left {
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.toast-container {
|
||||
position: fixed;
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?236" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?67" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
||||
|
@ -223,13 +223,13 @@
|
|||
<script src="//telegram.org/js/bootstrap.min.js"></script>
|
||||
<script src="//telegram.org/js/main-aj.js?68"></script>
|
||||
<script src="/js/widget-frame.js?62"></script>
|
||||
<script src="/js/promote.js?58"></script>
|
||||
<script src="/js/promote.js?59"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?15"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?18"></script>
|
||||
|
||||
<script>ajInit({"version":861,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":863,"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();
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?236" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?67" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
||||
|
@ -220,13 +220,13 @@
|
|||
<script src="//telegram.org/js/bootstrap.min.js"></script>
|
||||
<script src="//telegram.org/js/main-aj.js?68"></script>
|
||||
<script src="/js/widget-frame.js?62"></script>
|
||||
<script src="/js/promote.js?58"></script>
|
||||
<script src="/js/promote.js?59"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?15"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?18"></script>
|
||||
|
||||
<script>ajInit({"version":861,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":863,"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();
|
||||
|
|
|
@ -1485,6 +1485,63 @@ var Account = {
|
|||
}
|
||||
});
|
||||
return false;
|
||||
},
|
||||
initToken: function() {
|
||||
var cont = Aj.ajContainer;
|
||||
Aj.onLoad(function(state) {
|
||||
cont.on('click.curPage', '.js-copy-token-btn', Account.eCopyToken);
|
||||
cont.on('click.curPage', '.js-revoke-token-btn', Account.eRevokeToken);
|
||||
});
|
||||
},
|
||||
eCopyToken: function(e) {
|
||||
e.preventDefault();
|
||||
copyToClipboard(Aj.state.token);
|
||||
showToast(l('WEB_TOKEN_COPIED', 'Copied.'));
|
||||
},
|
||||
revokeTokenPopup: function (onConfirm) {
|
||||
var $confirm = $('<div class="popup-container hide alert-popup-container"><section class="pr-layer-popup pr-layer-delete-ad popup-no-close"><p class="pr-layer-text">' + l('WEB_REVOKE_TOKEN_CONFIRM_TEXT') + '</p><div class="popup-buttons"><div class="popup-button popup-cancel-btn">' + l('WEB_CANCEL', 'Cancel') + '</div><div class="popup-button popup-primary-btn">' + l('WEB_REVOKE_TOKEN_CONFIRM_BUTTON') + '</div></div></section></div>');
|
||||
var confirm = function() {
|
||||
onConfirm && onConfirm($confirm);
|
||||
closePopup($confirm);
|
||||
}
|
||||
var $primaryBtn = $('.popup-primary-btn', $confirm);
|
||||
$primaryBtn.on('click', confirm);
|
||||
$confirm.one('popup:close', function() {
|
||||
$primaryBtn.off('click', confirm);
|
||||
$confirm.remove();
|
||||
});
|
||||
openPopup($confirm, {
|
||||
closeByClickOutside: '.popup-no-close',
|
||||
});
|
||||
return $confirm;
|
||||
},
|
||||
eRevokeToken: function(e) {
|
||||
e.preventDefault();
|
||||
var $btn = $(this);
|
||||
if ($btn.data('disabled')) {
|
||||
return false;
|
||||
}
|
||||
Account.revokeTokenPopup(function() {
|
||||
$btn.data('disabled', true);
|
||||
Aj.apiRequest('revokeToken', {
|
||||
owner_id: Aj.state.ownerId
|
||||
}, function(result) {
|
||||
$btn.data('disabled', false);
|
||||
if (result.error) {
|
||||
return showAlert(result.error);
|
||||
}
|
||||
if (result.new_token) {
|
||||
Aj.state.token = result.new_token;
|
||||
}
|
||||
if (result.new_token_value) {
|
||||
$('.js-token-value', Aj.ajContainer).value(result.new_token_value);
|
||||
}
|
||||
if (result.toast) {
|
||||
showToast(result.toast);
|
||||
}
|
||||
});
|
||||
});
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||
<link href="/css/telegram.css?236" rel="stylesheet">
|
||||
<link href="/css/widget-frame.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?66" rel="stylesheet">
|
||||
<link href="/css/promote.css?67" rel="stylesheet">
|
||||
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
|
||||
<link href="/css/tchart.min.css?10" rel="stylesheet">
|
||||
|
||||
|
@ -155,13 +155,13 @@
|
|||
<script src="//telegram.org/js/bootstrap.min.js"></script>
|
||||
<script src="//telegram.org/js/main-aj.js?68"></script>
|
||||
<script src="/js/widget-frame.js?62"></script>
|
||||
<script src="/js/promote.js?58"></script>
|
||||
<script src="/js/promote.js?59"></script>
|
||||
<script src="/js/jquery-ui.min.js?1"></script>
|
||||
<script src="/js/jquery-ex.js?15"></script>
|
||||
<script src="/js/tchart.min.js?18"></script>
|
||||
<script src="/js/health.js?18"></script>
|
||||
|
||||
<script>ajInit({"version":861,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||
<script>ajInit({"version":863,"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();
|
||||
|
|
|
@ -441,7 +441,7 @@
|
|||
</div>
|
||||
<script src="https://tg.dev/js/jquery.min.js"></script>
|
||||
<script src="https://tg.dev/js/tgsticker.js?31"></script>
|
||||
<script src="/js/cafe.js?28"></script>
|
||||
<script src="/js/cafe.js?29"></script>
|
||||
<script>Cafe.init({"apiUrl":"\/cafe\/api","mode":null,"userId":0,"userHash":null});</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -74,6 +74,7 @@ var Cafe = {
|
|||
},
|
||||
backBtnClicked: function() {
|
||||
Cafe.toggleMode(false);
|
||||
document.activeElement && document.activeElement.blur();
|
||||
},
|
||||
getOrderItem: function(itemEl) {
|
||||
var id = itemEl.data('item-id');
|
||||
|
|
Loading…
Reference in a new issue