mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-28 07:20:31 +01:00
Update content of files
This commit is contained in:
parent
13ec5a14aa
commit
0f67a5c286
12 changed files with 15 additions and 15 deletions
|
@ -220,7 +220,7 @@
|
|||
<script src="/js/bootstrap.min.js?1"></script>
|
||||
<script src="/js/core-widgets.js?1"></script>
|
||||
|
||||
<script>DiscussionWidget.init({"default_link":"https:\/\/t.me\/contest\/198","link_error":"Invalid post link","widget_script":"https:\/\/telegram.org\/js\/telegram-widget.js?21"});
|
||||
<script>DiscussionWidget.init({"default_link":"https:\/\/t.me\/contest\/198","link_error":"Invalid post link","widget_script":"https:\/\/telegram.org\/js\/telegram-widget.js?22"});
|
||||
backToTopInit("Go up");
|
||||
removePreloadInit();
|
||||
</script>
|
||||
|
|
|
@ -320,7 +320,7 @@ function updateWidget(widget_update, init) {
|
|||
attrs += ' data-radius="' + escapeHTML(radius_value) + '"';
|
||||
}
|
||||
if (widget_update) {
|
||||
var code = '<script async src="https://telegram.org/js/telegram-widget.js?21" data-telegram-login="samplebot" data-size="' + escapeHTML(size) + '"' + (!userpic ? ' data-userpic="false"' : '') + ' data-onauth="onTelegramAuth(user)"' + attrs + (form.request_write.checked ? ' data-request-access="write"' : '') + '><\/script>';
|
||||
var code = '<script async src="https://telegram.org/js/telegram-widget.js?22" data-telegram-login="samplebot" data-size="' + escapeHTML(size) + '"' + (!userpic ? ' data-userpic="false"' : '') + ' data-onauth="onTelegramAuth(user)"' + attrs + (form.request_write.checked ? ' data-request-access="write"' : '') + '><\/script>';
|
||||
$('#widget_container').html(code);
|
||||
}
|
||||
var post_link = $('#post_link').val() || 'https://t.me/telegram/83',
|
||||
|
@ -333,7 +333,7 @@ function updateWidget(widget_update, init) {
|
|||
attrs += ' data-onauth="onTelegramAuth(user)"';
|
||||
html += "\n<script type=\"text/javascript\">\n function onTelegramAuth(user) {\n alert('Logged in as ' + user.first_name + ' ' + user.last_name + ' (' + user.id + (user.username ? ', @' + user.username : '') + ')');\n }\n<\/script>";
|
||||
}
|
||||
var code = '<script async src="https://telegram.org/js/telegram-widget.js?21" data-telegram-login="' + escapeHTML(bot_username || 'samplebot') + '" data-size="' + escapeHTML(size) + '"' + (!userpic ? ' data-userpic="false"' : '') + attrs + (form.request_write.checked ? ' data-request-access="write"' : '') + '><\/script>' + html;
|
||||
var code = '<script async src="https://telegram.org/js/telegram-widget.js?22" data-telegram-login="' + escapeHTML(bot_username || 'samplebot') + '" data-size="' + escapeHTML(size) + '"' + (!userpic ? ' data-userpic="false"' : '') + attrs + (form.request_write.checked ? ' data-request-access="write"' : '') + '><\/script>' + html;
|
||||
$('#embed_code').val(code);
|
||||
$('#embed_code').height(0);
|
||||
$('#embed_code').height($('#embed_code').get(0).scrollHeight);
|
||||
|
|
|
@ -234,7 +234,7 @@
|
|||
<script src="/js/bootstrap.min.js?1"></script>
|
||||
<script src="/js/core-widgets.js?1"></script>
|
||||
|
||||
<script>PostWidget.init({"default_link":"https:\/\/t.me\/telegram\/83","link_error":"Invalid post link","widget_script":"https:\/\/telegram.org\/js\/telegram-widget.js?21"});
|
||||
<script>PostWidget.init({"default_link":"https:\/\/t.me\/telegram\/83","link_error":"Invalid post link","widget_script":"https:\/\/telegram.org\/js\/telegram-widget.js?22"});
|
||||
backToTopInit("Go up");
|
||||
removePreloadInit();
|
||||
</script>
|
||||
|
|
|
@ -234,7 +234,7 @@ function telegramForwardButton($url, $text = '') {
|
|||
var button_size = form.button_size.value;
|
||||
var button_text = form.button_text.value;
|
||||
tfi.removeClass('is-invalid');
|
||||
var code = '<script async src="https://telegram.org/js/telegram-widget.js?21" data-telegram-share-url="' + escapeHTML(share_url) + '"' + (share_comment ? ' data-comment="' + escapeHTML(share_comment) + '"' : '') + (button_size ? ' data-size="' + escapeHTML(button_size) + '"' : '') + (button_text ? ' data-text="' + escapeHTML(button_text) + '"' : '') + '><\/script>';
|
||||
var code = '<script async src="https://telegram.org/js/telegram-widget.js?22" data-telegram-share-url="' + escapeHTML(share_url) + '"' + (share_comment ? ' data-comment="' + escapeHTML(share_comment) + '"' : '') + (button_size ? ' data-size="' + escapeHTML(button_size) + '"' : '') + (button_text ? ' data-text="' + escapeHTML(button_text) + '"' : '') + '><\/script>';
|
||||
$('#embed_code').val(code);
|
||||
$('#embed_code').height(0);
|
||||
$('#embed_code').height($('#embed_code').get(0).scrollHeight);
|
||||
|
|
|
@ -220,7 +220,7 @@
|
|||
<script src="/js/bootstrap.min.js?1"></script>
|
||||
<script src="/js/core-widgets.js?1"></script>
|
||||
|
||||
<script>DiscussionWidget.init({"default_link":"https:\/\/t.me\/contest\/198","link_error":"Invalid post link","widget_script":"https:\/\/telegram.org\/js\/telegram-widget.js?21"});
|
||||
<script>DiscussionWidget.init({"default_link":"https:\/\/t.me\/contest\/198","link_error":"Invalid post link","widget_script":"https:\/\/telegram.org\/js\/telegram-widget.js?22"});
|
||||
backToTopInit("Go up");
|
||||
removePreloadInit();
|
||||
</script>
|
||||
|
|
|
@ -320,7 +320,7 @@ function updateWidget(widget_update, init) {
|
|||
attrs += ' data-radius="' + escapeHTML(radius_value) + '"';
|
||||
}
|
||||
if (widget_update) {
|
||||
var code = '<script async src="https://telegram.org/js/telegram-widget.js?21" data-telegram-login="samplebot" data-size="' + escapeHTML(size) + '"' + (!userpic ? ' data-userpic="false"' : '') + ' data-onauth="onTelegramAuth(user)"' + attrs + (form.request_write.checked ? ' data-request-access="write"' : '') + '><\/script>';
|
||||
var code = '<script async src="https://telegram.org/js/telegram-widget.js?22" data-telegram-login="samplebot" data-size="' + escapeHTML(size) + '"' + (!userpic ? ' data-userpic="false"' : '') + ' data-onauth="onTelegramAuth(user)"' + attrs + (form.request_write.checked ? ' data-request-access="write"' : '') + '><\/script>';
|
||||
$('#widget_container').html(code);
|
||||
}
|
||||
var post_link = $('#post_link').val() || 'https://t.me/telegram/83',
|
||||
|
@ -333,7 +333,7 @@ function updateWidget(widget_update, init) {
|
|||
attrs += ' data-onauth="onTelegramAuth(user)"';
|
||||
html += "\n<script type=\"text/javascript\">\n function onTelegramAuth(user) {\n alert('Logged in as ' + user.first_name + ' ' + user.last_name + ' (' + user.id + (user.username ? ', @' + user.username : '') + ')');\n }\n<\/script>";
|
||||
}
|
||||
var code = '<script async src="https://telegram.org/js/telegram-widget.js?21" data-telegram-login="' + escapeHTML(bot_username || 'samplebot') + '" data-size="' + escapeHTML(size) + '"' + (!userpic ? ' data-userpic="false"' : '') + attrs + (form.request_write.checked ? ' data-request-access="write"' : '') + '><\/script>' + html;
|
||||
var code = '<script async src="https://telegram.org/js/telegram-widget.js?22" data-telegram-login="' + escapeHTML(bot_username || 'samplebot') + '" data-size="' + escapeHTML(size) + '"' + (!userpic ? ' data-userpic="false"' : '') + attrs + (form.request_write.checked ? ' data-request-access="write"' : '') + '><\/script>' + html;
|
||||
$('#embed_code').val(code);
|
||||
$('#embed_code').height(0);
|
||||
$('#embed_code').height($('#embed_code').get(0).scrollHeight);
|
||||
|
|
|
@ -234,7 +234,7 @@
|
|||
<script src="/js/bootstrap.min.js?1"></script>
|
||||
<script src="/js/core-widgets.js?1"></script>
|
||||
|
||||
<script>PostWidget.init({"default_link":"https:\/\/t.me\/telegram\/83","link_error":"Invalid post link","widget_script":"https:\/\/telegram.org\/js\/telegram-widget.js?21"});
|
||||
<script>PostWidget.init({"default_link":"https:\/\/t.me\/telegram\/83","link_error":"Invalid post link","widget_script":"https:\/\/telegram.org\/js\/telegram-widget.js?22"});
|
||||
backToTopInit("Go up");
|
||||
removePreloadInit();
|
||||
</script>
|
||||
|
|
|
@ -234,7 +234,7 @@ function telegramForwardButton($url, $text = '') {
|
|||
var button_size = form.button_size.value;
|
||||
var button_text = form.button_text.value;
|
||||
tfi.removeClass('is-invalid');
|
||||
var code = '<script async src="https://telegram.org/js/telegram-widget.js?21" data-telegram-share-url="' + escapeHTML(share_url) + '"' + (share_comment ? ' data-comment="' + escapeHTML(share_comment) + '"' : '') + (button_size ? ' data-size="' + escapeHTML(button_size) + '"' : '') + (button_text ? ' data-text="' + escapeHTML(button_text) + '"' : '') + '><\/script>';
|
||||
var code = '<script async src="https://telegram.org/js/telegram-widget.js?22" data-telegram-share-url="' + escapeHTML(share_url) + '"' + (share_comment ? ' data-comment="' + escapeHTML(share_comment) + '"' : '') + (button_size ? ' data-size="' + escapeHTML(button_size) + '"' : '') + (button_text ? ' data-text="' + escapeHTML(button_text) + '"' : '') + '><\/script>';
|
||||
$('#embed_code').val(code);
|
||||
$('#embed_code').height(0);
|
||||
$('#embed_code').height($('#embed_code').get(0).scrollHeight);
|
||||
|
|
|
@ -220,7 +220,7 @@
|
|||
<script src="/js/bootstrap.min.js?1"></script>
|
||||
<script src="/js/core-widgets.js?1"></script>
|
||||
|
||||
<script>DiscussionWidget.init({"default_link":"https:\/\/t.me\/contest\/198","link_error":"Invalid post link","widget_script":"https:\/\/telegram.org\/js\/telegram-widget.js?21"});
|
||||
<script>DiscussionWidget.init({"default_link":"https:\/\/t.me\/contest\/198","link_error":"Invalid post link","widget_script":"https:\/\/telegram.org\/js\/telegram-widget.js?22"});
|
||||
backToTopInit("Go up");
|
||||
removePreloadInit();
|
||||
</script>
|
||||
|
|
|
@ -320,7 +320,7 @@ function updateWidget(widget_update, init) {
|
|||
attrs += ' data-radius="' + escapeHTML(radius_value) + '"';
|
||||
}
|
||||
if (widget_update) {
|
||||
var code = '<script async src="https://telegram.org/js/telegram-widget.js?21" data-telegram-login="samplebot" data-size="' + escapeHTML(size) + '"' + (!userpic ? ' data-userpic="false"' : '') + ' data-onauth="onTelegramAuth(user)"' + attrs + (form.request_write.checked ? ' data-request-access="write"' : '') + '><\/script>';
|
||||
var code = '<script async src="https://telegram.org/js/telegram-widget.js?22" data-telegram-login="samplebot" data-size="' + escapeHTML(size) + '"' + (!userpic ? ' data-userpic="false"' : '') + ' data-onauth="onTelegramAuth(user)"' + attrs + (form.request_write.checked ? ' data-request-access="write"' : '') + '><\/script>';
|
||||
$('#widget_container').html(code);
|
||||
}
|
||||
var post_link = $('#post_link').val() || 'https://t.me/telegram/83',
|
||||
|
@ -333,7 +333,7 @@ function updateWidget(widget_update, init) {
|
|||
attrs += ' data-onauth="onTelegramAuth(user)"';
|
||||
html += "\n<script type=\"text/javascript\">\n function onTelegramAuth(user) {\n alert('Logged in as ' + user.first_name + ' ' + user.last_name + ' (' + user.id + (user.username ? ', @' + user.username : '') + ')');\n }\n<\/script>";
|
||||
}
|
||||
var code = '<script async src="https://telegram.org/js/telegram-widget.js?21" data-telegram-login="' + escapeHTML(bot_username || 'samplebot') + '" data-size="' + escapeHTML(size) + '"' + (!userpic ? ' data-userpic="false"' : '') + attrs + (form.request_write.checked ? ' data-request-access="write"' : '') + '><\/script>' + html;
|
||||
var code = '<script async src="https://telegram.org/js/telegram-widget.js?22" data-telegram-login="' + escapeHTML(bot_username || 'samplebot') + '" data-size="' + escapeHTML(size) + '"' + (!userpic ? ' data-userpic="false"' : '') + attrs + (form.request_write.checked ? ' data-request-access="write"' : '') + '><\/script>' + html;
|
||||
$('#embed_code').val(code);
|
||||
$('#embed_code').height(0);
|
||||
$('#embed_code').height($('#embed_code').get(0).scrollHeight);
|
||||
|
|
|
@ -234,7 +234,7 @@
|
|||
<script src="/js/bootstrap.min.js?1"></script>
|
||||
<script src="/js/core-widgets.js?1"></script>
|
||||
|
||||
<script>PostWidget.init({"default_link":"https:\/\/t.me\/telegram\/83","link_error":"Invalid post link","widget_script":"https:\/\/telegram.org\/js\/telegram-widget.js?21"});
|
||||
<script>PostWidget.init({"default_link":"https:\/\/t.me\/telegram\/83","link_error":"Invalid post link","widget_script":"https:\/\/telegram.org\/js\/telegram-widget.js?22"});
|
||||
backToTopInit("Go up");
|
||||
removePreloadInit();
|
||||
</script>
|
||||
|
|
|
@ -234,7 +234,7 @@ function telegramForwardButton($url, $text = '') {
|
|||
var button_size = form.button_size.value;
|
||||
var button_text = form.button_text.value;
|
||||
tfi.removeClass('is-invalid');
|
||||
var code = '<script async src="https://telegram.org/js/telegram-widget.js?21" data-telegram-share-url="' + escapeHTML(share_url) + '"' + (share_comment ? ' data-comment="' + escapeHTML(share_comment) + '"' : '') + (button_size ? ' data-size="' + escapeHTML(button_size) + '"' : '') + (button_text ? ' data-text="' + escapeHTML(button_text) + '"' : '') + '><\/script>';
|
||||
var code = '<script async src="https://telegram.org/js/telegram-widget.js?22" data-telegram-share-url="' + escapeHTML(share_url) + '"' + (share_comment ? ' data-comment="' + escapeHTML(share_comment) + '"' : '') + (button_size ? ' data-size="' + escapeHTML(button_size) + '"' : '') + (button_text ? ' data-text="' + escapeHTML(button_text) + '"' : '') + '><\/script>';
|
||||
$('#embed_code').val(code);
|
||||
$('#embed_code').height(0);
|
||||
$('#embed_code').height($('#embed_code').get(0).scrollHeight);
|
||||
|
|
Loading…
Reference in a new issue