mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
rebuilding site Mon Sep 20 08:00:27 PM CST 2021
This commit is contained in:
parent
c5b160ee3c
commit
04fcd354f9
4 changed files with 37 additions and 26 deletions
|
@ -1,6 +1,6 @@
|
|||
|
||||
|
||||
|
||||
Serif
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
Serif
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,12 +1,24 @@
|
|||
let labels = ["网页默认字体族","cursive字体族","Fantasy字体族","Fixed字体族","Sans-Serif字体族","Serif字体族"];
|
||||
let names = ["font","cursive","fantasy","fixed","sansserif","serif"];
|
||||
|
||||
let text = "\n".repeat(labels.length-1);
|
||||
let text;
|
||||
let d=document;
|
||||
if(d.body)
|
||||
text = d.body.innerHTML;
|
||||
else
|
||||
text = "\n".repeat(labels.length-1);
|
||||
|
||||
let sa = [`<style>input{height:40px;width:100%;border-radius:50px;}</style><form onsubmit="let d=document;let f=d.forms[0];d.location.href='i:0i/sdcard/uweb/config.html:'+f.font.value+
|
||||
let sa = [`<style>input{height:40px;width:100%;border-radius:50px;}</style>
|
||||
<datalist id="family">
|
||||
<option value="sans-serif">
|
||||
<option value="sans-serif-condensed">
|
||||
<option value="sans-serif-smallcaps">
|
||||
<option value="serif">
|
||||
<option value="serif-monospace">
|
||||
<option value="monospace">
|
||||
<option value="cursive">
|
||||
</datalist>
|
||||
<form onsubmit="let d=document;let f=d.forms[0];d.location.href='i:0i/sdcard/uweb/config.html:'+f.font.value+
|
||||
'&'+ f.cursive.value +
|
||||
'&'+ f.fantasy.value +
|
||||
'&'+ f.fixed.value +
|
||||
|
@ -17,7 +29,7 @@ let sa = [`<style>input{height:40px;width:100%;border-radius:50px;}</style><form
|
|||
|
||||
let strs = text.split('\n');
|
||||
for (let i = 0; i < labels.length; i++){
|
||||
sa.push("<label>"+labels[i]+"<input type='text' name='"+names[i]+"' value='"+strs[i]+"'/></label>");
|
||||
sa.push("<label>"+labels[i]+"<input list='family' type='text' name='"+names[i]+"' value='"+strs[i]+"'/></label>");
|
||||
}
|
||||
sa.push('<input type="submit" value="Save"></form>');
|
||||
let r = sa.join('<br>');
|
||||
|
|
|
@ -24,33 +24,33 @@ body>ul{padding-left:0;}
|
|||
|
||||
<p><a href="i:252097151" onclick="return checkbox_toggle(checkBoxes.length);">切换</a>/<a href="i:260" onclick="return checkbox_reset(checkBoxes.length);">重置</a>/<a href="i:262097151" onclick="return checkbox_set(checkBoxes.length);">反置所有</a>/<a href="i:2631" onclick="return checkbox_set(5);">反置前五个</a>/<a href="i:26511" onclick="return checkbox_set(9);">反置前九个</a>以下功能 (点击链接可切换):</p>
|
||||
<ul>
|
||||
<li><label><a href="i:251"><input type="checkbox"/>新窗口打开服务 (长按图像/历史按钮等)</a></label></li>
|
||||
<li><a href="i:251"><label><input type="checkbox"/>新窗口打开服务 (长按图像/历史按钮等)</label></a></li>
|
||||
<li>工具按钮短按长按功能互换
|
||||
<ul>
|
||||
<li><label><a href="i:252"><input type="checkbox"/>[☰]</a></label></li>
|
||||
<li><label><a href="i:254"><input type="checkbox"/>设置</a></label></li>
|
||||
<li><a href="i:252"><label><input type="checkbox"/>[☰]</label></a></li>
|
||||
<li><a href="i:254"><label><input type="checkbox"/>设置</label></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><label><a href="i:258"><input type="checkbox"/>被调用20秒内按后退键后台装载页面</a></label></li>
|
||||
<li><label><a href="i:2516"><input type="checkbox"/>无安全证书警告</a></label></li>
|
||||
<li><a href="i:258"><label><input type="checkbox"/>被调用20秒内按后退键后台装载页面</label></a></li>
|
||||
<li><a href="i:2516"><label><input type="checkbox"/>无安全证书警告</label></a></li>
|
||||
----------------5---------------
|
||||
<li><label><a href="i:2532"><input type="checkbox"/>新窗口打开下个引擎搜索</a></label></li>
|
||||
<li><label><a href="i:2564"><input type="checkbox"/>自动填充采用从头开始匹配</a></label></li>
|
||||
<li><label><a href="i:25128"><input type="checkbox"/>禁用videoplayer.js</a></label></li>
|
||||
<li><label><a href="i:25256"><input type="checkbox"/>自动调整文本大小</a></label></li>
|
||||
<li><a href="i:2532"><label><input type="checkbox"/>新窗口打开下个引擎搜索</label></a></li>
|
||||
<li><a href="i:2564"><label><input type="checkbox"/>自动填充采用从头开始匹配</label></a></li>
|
||||
<li><a href="i:25128"><label><input type="checkbox"/>禁用videoplayer.js</label></a></li>
|
||||
<li><a href="i:25256"><label><input type="checkbox"/>自动调整文本大小</label></a></li>
|
||||
----------------9---------------
|
||||
<li><label><a href="i:25512"><input type="checkbox"/>长按链接命令菜单切换为常用链接</a></label></li>
|
||||
<li><label><a href="i:251024"><input type="checkbox"/>长按链接命令菜单切换为常用命令</a></label></li>
|
||||
<li><label><a href="i:252048"><input type="checkbox"/>隐藏地址栏</a></label></li>
|
||||
<li><label><a href="i:254096"><input type="checkbox"/>隐藏工具条</a></label></li>
|
||||
<li><label><a href="i:258192"><input type="checkbox"/>不使用双列书签</a></label></li>
|
||||
<li><label><a href="i:2516384"><input type="checkbox"/>主屏使用"query.autoc"常用查询列表(android8+以上webview有bug)</a></label></li>
|
||||
<li><label><a href="i:2532768"><input type="checkbox"/>全屏播放不自动横屏</a></label></li>
|
||||
<li><label><a href="i:2565536"><input type="checkbox"/>禁止弹出JS确认框</a></label></li>
|
||||
<li><label><a href="i:25131072"><input type="checkbox"/>保存查询历史</a></label></li>
|
||||
<li><label><a href="i:25262144"><input type="checkbox"/>切换窗口时保留面板</a></label></li>
|
||||
<li><label><a href="i:25524288"><input type="checkbox"/>弹出视频地址时同时弹出iframe地址</a></label></li>
|
||||
<li><label><a href="i:251048576"><input type="checkbox"/>关闭窗口保持音频播放</a></label></li>
|
||||
<li><a href="i:25512"><label><input type="checkbox"/>长按链接命令菜单切换为常用链接</label></a></li>
|
||||
<li><a href="i:251024"><label><input type="checkbox"/>长按链接命令菜单切换为常用命令</label></a></li>
|
||||
<li><a href="i:252048"><label><input type="checkbox"/>隐藏地址栏</label></a></li>
|
||||
<li><a href="i:254096"><label><input type="checkbox"/>隐藏工具条</label></a></li>
|
||||
<li><a href="i:258192"><label><input type="checkbox"/>不使用双列书签</label></a></li>
|
||||
<li><a href="i:2516384"><label><input type="checkbox"/>主屏使用"query.autoc"常用查询列表(android8+以上webview有bug)</label></a></li>
|
||||
<li><a href="i:2532768"><label><input type="checkbox"/>全屏播放不自动横屏</label></a></li>
|
||||
<li><a href="i:2565536"><label><input type="checkbox"/>禁止弹出JS确认框</label></a></li>
|
||||
<li><a href="i:25131072"><label><input type="checkbox"/>保存查询历史</label></a></li>
|
||||
<li><a href="i:25262144"><label><input type="checkbox"/>切换窗口时保留面板</label></a></li>
|
||||
<li><a href="i:25524288"><label><input type="checkbox"/>弹出视频地址时同时弹出iframe地址</label></a></li>
|
||||
<li><a href="i:251048576"><label><input type="checkbox"/>关闭窗口保持音频播放</label></a></li>
|
||||
</ul>
|
||||
<script>
|
||||
checkBoxes=document.getElementsByTagName("input");
|
||||
|
|
Loading…
Reference in a new issue