代码拉取完成,页面将自动刷新
/*
This script triggers the webview launcher initialisation sequence.
By default the initialisation is done on first load, this script provides support for navigation and page reload.
Lua code in HTML must support multiple executions as well as onWebviewInitalized handler.
*/
(function() {
var timeoutDelay = 1;
function handleLoad() {
if ((typeof window.external !== 'object') || (typeof window.external.invoke !== 'function')) {
if (timeoutDelay > 30000) {
throw 'window.external is not available';
}
setTimeout(handleLoad, timeoutDelay); // Let external.invoke be registered
timeoutDelay = timeoutDelay * 2;
} else if (typeof window.webview !== 'object') {
window.external.invoke(':init:');
}
}
if (document.readyState === 'complete') {
handleLoad();
} else {
window.addEventListener('load', handleLoad);
}
})();
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。