mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-03-25 01:22:06 +01:00
Update content of files
This commit is contained in:
parent
a4f628e4ba
commit
836e481abc
3 changed files with 18 additions and 12 deletions
|
@ -18,7 +18,7 @@
|
||||||
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
|
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
|
||||||
<link href="/css/bootstrap-extra.css?2" rel="stylesheet">
|
<link href="/css/bootstrap-extra.css?2" rel="stylesheet">
|
||||||
<link href="/css/telegram.css?212" rel="stylesheet">
|
<link href="/css/telegram.css?212" rel="stylesheet">
|
||||||
<link href="/css/contest.css?38" rel="stylesheet">
|
<link href="/css/contest.css?39" rel="stylesheet">
|
||||||
<link href="/css/contest-zoo.css?7" rel="stylesheet">
|
<link href="/css/contest-zoo.css?7" rel="stylesheet">
|
||||||
<link href="/css/jquery-ui.min.css" rel="stylesheet">
|
<link href="/css/jquery-ui.min.css" rel="stylesheet">
|
||||||
|
|
||||||
|
@ -182,7 +182,7 @@
|
||||||
<script src="/js/jquery-ui.min.js?1"></script>
|
<script src="/js/jquery-ui.min.js?1"></script>
|
||||||
<script src="/js/tgsticker.js?24"></script>
|
<script src="/js/tgsticker.js?24"></script>
|
||||||
|
|
||||||
<script>ajInit({"version":366,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
<script>ajInit({"version":367,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
|
||||||
<script id="aj_script">Aj._useScrollHack=true;
|
<script id="aj_script">Aj._useScrollHack=true;
|
||||||
Aj.onLoad(function(state) {
|
Aj.onLoad(function(state) {
|
||||||
function requestConfirmation(event) {
|
function requestConfirmation(event) {
|
||||||
|
|
|
@ -246,7 +246,6 @@ function ajInit(options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function pageLoaded() {
|
function pageLoaded() {
|
||||||
curBeforeUnload = false;
|
|
||||||
if (curOnLoad.length) {
|
if (curOnLoad.length) {
|
||||||
for (var i = 0; i < curOnLoad.length; i++) {
|
for (var i = 0; i < curOnLoad.length; i++) {
|
||||||
console.log('onLoad', i);
|
console.log('onLoad', i);
|
||||||
|
@ -263,7 +262,6 @@ function ajInit(options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function layerLoaded() {
|
function layerLoaded() {
|
||||||
curBeforeLayerUnload = false;
|
|
||||||
if (curOnLayerLoad.length) {
|
if (curOnLayerLoad.length) {
|
||||||
for (var i = 0; i < curOnLayerLoad.length; i++) {
|
for (var i = 0; i < curOnLayerLoad.length; i++) {
|
||||||
console.log('onLayerLoad', i);
|
console.log('onLayerLoad', i);
|
||||||
|
@ -415,7 +413,7 @@ function ajInit(options) {
|
||||||
if (result.j) {
|
if (result.j) {
|
||||||
window.execScript ? window.execScript(result.j) : eval(result.j);
|
window.execScript ? window.execScript(result.j) : eval(result.j);
|
||||||
}
|
}
|
||||||
Aj.layerLoaded();
|
layerLoaded();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
return changeLocation(url, push_state);
|
return changeLocation(url, push_state);
|
||||||
|
@ -563,12 +561,17 @@ function ajInit(options) {
|
||||||
if (!message && curBeforeUnload) {
|
if (!message && curBeforeUnload) {
|
||||||
message = curBeforeUnload();
|
message = curBeforeUnload();
|
||||||
}
|
}
|
||||||
|
var load_func = function() {
|
||||||
|
curBeforeLayerUnload = false;
|
||||||
|
curBeforeUnload = false;
|
||||||
|
load_fn();
|
||||||
|
};
|
||||||
if (message) {
|
if (message) {
|
||||||
var message_html = $('<div>').text(message).html();
|
var message_html = $('<div>').text(message).html();
|
||||||
showConfirm(message_html, load_fn, l('WEB_LEAVE_PAGE', 'Leave'));
|
showConfirm(message_html, load_func, l('WEB_LEAVE_PAGE', 'Leave'));
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
load_fn();
|
load_func();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -246,7 +246,6 @@ function ajInit(options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function pageLoaded() {
|
function pageLoaded() {
|
||||||
curBeforeUnload = false;
|
|
||||||
if (curOnLoad.length) {
|
if (curOnLoad.length) {
|
||||||
for (var i = 0; i < curOnLoad.length; i++) {
|
for (var i = 0; i < curOnLoad.length; i++) {
|
||||||
console.log('onLoad', i);
|
console.log('onLoad', i);
|
||||||
|
@ -263,7 +262,6 @@ function ajInit(options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function layerLoaded() {
|
function layerLoaded() {
|
||||||
curBeforeLayerUnload = false;
|
|
||||||
if (curOnLayerLoad.length) {
|
if (curOnLayerLoad.length) {
|
||||||
for (var i = 0; i < curOnLayerLoad.length; i++) {
|
for (var i = 0; i < curOnLayerLoad.length; i++) {
|
||||||
console.log('onLayerLoad', i);
|
console.log('onLayerLoad', i);
|
||||||
|
@ -415,7 +413,7 @@ function ajInit(options) {
|
||||||
if (result.j) {
|
if (result.j) {
|
||||||
window.execScript ? window.execScript(result.j) : eval(result.j);
|
window.execScript ? window.execScript(result.j) : eval(result.j);
|
||||||
}
|
}
|
||||||
Aj.layerLoaded();
|
layerLoaded();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
return changeLocation(url, push_state);
|
return changeLocation(url, push_state);
|
||||||
|
@ -563,12 +561,17 @@ function ajInit(options) {
|
||||||
if (!message && curBeforeUnload) {
|
if (!message && curBeforeUnload) {
|
||||||
message = curBeforeUnload();
|
message = curBeforeUnload();
|
||||||
}
|
}
|
||||||
|
var load_func = function() {
|
||||||
|
curBeforeLayerUnload = false;
|
||||||
|
curBeforeUnload = false;
|
||||||
|
load_fn();
|
||||||
|
};
|
||||||
if (message) {
|
if (message) {
|
||||||
var message_html = $('<div>').text(message).html();
|
var message_html = $('<div>').text(message).html();
|
||||||
showConfirm(message_html, load_fn, l('WEB_LEAVE_PAGE', 'Leave'));
|
showConfirm(message_html, load_func, l('WEB_LEAVE_PAGE', 'Leave'));
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
load_fn();
|
load_func();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue