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);