From a0bd1d23c84dc05bf141e782fa53fd1b05db5ecd Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Tue, 13 Sep 2022 10:26:01 +0800 Subject: [PATCH] rebuilding Tue Sep 13 10:26:00 AM CST 2022 --- index.html | 11 +---------- zh/searchurl/txt/mdict.html | 3 ++- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/index.html b/index.html index 33185bf..f9c0bee 100644 --- a/index.html +++ b/index.html @@ -1,10 +1 @@ - - - - en/ - - - - - - + diff --git a/zh/searchurl/txt/mdict.html b/zh/searchurl/txt/mdict.html index 7c72a94..b29150b 100644 --- a/zh/searchurl/txt/mdict.html +++ b/zh/searchurl/txt/mdict.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);