rebuilding Sat Sep 10 06:53:01 PM CST 2022

This commit is contained in:
James Feng Cao 2022-09-10 18:53:02 +08:00
parent b6eb718e75
commit e82c754b00
3 changed files with 20 additions and 9 deletions

View File

@ -31,7 +31,7 @@
小书签(bookmarklet)再也不用手工输入,直接将小书签网站加入书签即可。运行时长按出菜单后选择“在新窗口中打开”,小书签将作用于最后一个窗口。
独创不良信息绝杀:屏蔽hosts文件中域名的一切子域名、孙域名...,不良信息一网打尽。 支持域名前缀、网址路径正则表达式屏蔽
独创不良信息绝杀:阻止指定根域名的一切子域名、孙域名...,不良信息一网打尽。 支持域名前缀、网址路径正则表达式。
独创脚本激活模式脚本执行后被激活此后自动作用于同类网址。用于本地文件访问则可实现不同目录以不同风格呈现譬如markdown目录下文本自动转化成html预览。

View File

@ -1 +1,10 @@
<meta http-equiv="refresh" content="0; url=zh/index.html">
<!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>

View File

@ -90,14 +90,16 @@
};
//dictinput.onClick = {(e)=>{e.target.value="";}};
let filenames = location.search.substring(6);
if(filenames.length>0){
dictinput.setAttribute('accept',filenames);
setTimeout(()=>{location.href="i:5fdictinput.click();"},100);
setTimeout(()=>{location.href="i:5fdictinput.click();"},300);
setTimeout(()=>{dictinput.dispatchEvent(new Event('change'));dictinput.removeAttribute('accept')},500);
window.onload = function() {
let filenames = location.search.substring(6);
if(filenames.length>0){
dictinput.setAttribute('accept',filenames);
location.href="i:5fdictinput.click()";
//setTimeout(()=>{location.href="i:5fdictinput.click();"},100);
//setTimeout(()=>{location.href="i:5fdictinput.click();"},300);
setTimeout(()=>{dictinput.dispatchEvent(new Event('change'));dictinput.removeAttribute('accept')},500);
}
}
</script>
</body>
</html>