mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
rebuilding Tue Sep 13 10:26:00 AM CST 2022
This commit is contained in:
parent
cdbea0e775
commit
a0bd1d23c8
2 changed files with 3 additions and 11 deletions
11
index.html
11
index.html
|
@ -1,10 +1 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>en/</title>
|
||||
<link rel="canonical" href="en/">
|
||||
<meta name="robots" content="noindex">
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="refresh" content="0; url=en/">
|
||||
</head>
|
||||
</html>
|
||||
<meta http-equiv="refresh" content="0; url=zh/index.html">
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
};
|
||||
|
||||
{
|
||||
let v = location.hash.substring(6);
|
||||
let v = decodeURIComponent(location.hash.substring(6));
|
||||
wordinput.value = v;
|
||||
}
|
||||
|
||||
|
@ -97,6 +97,7 @@
|
|||
let filenames = location.search.substring(6);
|
||||
window.onload = function(){
|
||||
if(filenames.length>0){
|
||||
filenames = decodeURIComponent(filenames);
|
||||
let clickurl = "i:5fdictinput.click():"+filenames;
|
||||
location.href=clickurl;
|
||||
//setTimeout(()=>{dictinput.dispatchEvent(new Event('change', {'bubbles': true}));},100);
|
||||
|
|
Loading…
Reference in a new issue