latest.html 869 B

1234567891011121314151617181920212223
  1. <script>var verCode = %1%;</script>
  2. <script>
  3. (function(){
  4. let latestV = 1084;
  5. try {
  6. if(verCode>=latestV) {
  7. var ls = navigator.languages;
  8. let msg = "Already up to date!";
  9. do {
  10. for(var i in ls){
  11. if(ls[i].startsWith("en")) break;
  12. if(ls[i].startsWith("zh")) {
  13. msg = "已经是最新版!";
  14. break;}
  15. }
  16. }while(false);
  17. alert(msg);return;}
  18. }catch(e){}
  19. location.href = "https://master.dl.sourceforge.net/project/uwebbrowser/v1/uweb"+latestV+".apk?viasf=1";
  20. })();
  21. </script>
  22. <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>