mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
rebuilding Sat Sep 10 06:53:01 PM CST 2022
This commit is contained in:
parent
b6eb718e75
commit
e82c754b00
3 changed files with 20 additions and 9 deletions
|
@ -31,7 +31,7 @@
|
|||
|
||||
小书签(bookmarklet)再也不用手工输入,直接将小书签网站加入书签即可。运行时长按出菜单后选择“在新窗口中打开”,小书签将作用于最后一个窗口。
|
||||
|
||||
独创不良信息绝杀:屏蔽hosts文件中域名的一切子域名、孙域名...,不良信息一网打尽。 支持域名前缀、网址路径正则表达式屏蔽。
|
||||
独创不良信息绝杀:阻止指定根域名的一切子域名、孙域名...,不良信息一网打尽。 支持根域名前缀、网址路径正则表达式。
|
||||
|
||||
独创脚本激活模式,脚本执行后被激活,此后自动作用于同类网址。用于本地文件访问则可实现不同目录以不同风格呈现,譬如markdown目录下文本自动转化成html预览。
|
||||
|
||||
|
|
11
index.html
11
index.html
|
@ -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>
|
||||
|
|
|
@ -90,14 +90,16 @@
|
|||
};
|
||||
|
||||
//dictinput.onClick = {(e)=>{e.target.value="";}};
|
||||
window.onload = function() {
|
||||
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);
|
||||
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>
|
||||
|
|
Loading…
Reference in a new issue