enhance latest.html

This commit is contained in:
James Feng Cao 2024-05-07 09:30:31 +08:00
parent a0f510ca9a
commit e16ae4bfd9
3 changed files with 9 additions and 6 deletions

View file

@ -1,7 +1,7 @@
<!doctype html> <!doctype html>
<html> <html>
<head> <head>
<meta name="generator" content="Hugo 0.125.4"> <meta name="generator" content="Hugo 0.125.6">
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="../en/index.xml" title="uweb browser: unlimited power"> <link rel="alternate" type="application/rss+xml" href="../en/index.xml" title="uweb browser: unlimited power">

View file

@ -1,9 +1,12 @@
<script>var verCode = %1%;</script>
<script> <script>
let verCode = %1%; (function(){
let latestV = 1048; let latestV = 1048;
if( verCode>=latestV) alert("Already up to date!"); try {
else if(verCode>=latestV) {alert("Already up to date!");return;}
}catch(e){}
location.href = "https://s1.asytech.cn/s/tQrgT5kBRg8Trry/download?path=%2F&files=uweb"+ location.href = "https://s1.asytech.cn/s/tQrgT5kBRg8Trry/download?path=%2F&files=uweb"+
latestV + ".apk&downloadStartSecret=aisiyi"; latestV + ".apk&downloadStartSecret=aisiyi";
})();
</script> </script>
<a href="en/changelog/index.html#" onclick="{let url=location.href;let l=url.length;if(url.charCodeAt(l-1)==35)return true;let iS=url.indexOf('/',14);if(l-iS<19)return true;location.href='i:0mi:5h:'+url+'/../en/changelog/index.html';return false;}">Release notes</a> <a href="en/changelog/index.html#" onclick="{let url=location.href;let l=url.length;if(url.charCodeAt(l-1)==35)return true;let iS=url.indexOf('/',14);if(l-iS<19)return true;location.href='i:0mi:5h:'+url+'/../en/changelog/index.html';return false;}">Release notes</a>

View file

@ -1,7 +1,7 @@
<!doctype html> <!doctype html>
<html> <html>
<head> <head>
<meta name="generator" content="Hugo 0.125.4"> <meta name="generator" content="Hugo 0.125.6">
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="../zh/index.xml" title="超微浏览器: 威、快、高效、极致优化"> <link rel="alternate" type="application/rss+xml" href="../zh/index.xml" title="超微浏览器: 威、快、高效、极致优化">