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>
<html>
<head>
<meta name="generator" content="Hugo 0.125.4">
<meta name="generator" content="Hugo 0.125.6">
<meta charset="utf-8">
<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">

View File

@ -1,9 +1,12 @@
<script>var verCode = %1%;</script>
<script>
let verCode = %1%;
let latestV = 1048;
if( verCode>=latestV) alert("Already up to date!");
else
(function(){
let latestV = 1048;
try {
if(verCode>=latestV) {alert("Already up to date!");return;}
}catch(e){}
location.href = "https://s1.asytech.cn/s/tQrgT5kBRg8Trry/download?path=%2F&files=uweb"+
latestV + ".apk&downloadStartSecret=aisiyi";
})();
</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>

View File

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