mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
rebuilding site Sun Aug 22 11:21:57 AM CST 2021
This commit is contained in:
parent
d8e46c5875
commit
1710fc6c75
10 changed files with 98 additions and 4 deletions
|
@ -349,7 +349,7 @@ pdf:uweb:echo file:///sdcard/uweb/app/pdf.js/web/viewer.html?file=%u djvu:uweb:e
|
|||
<pubDate>Sun, 23 Aug 2020 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>https://jamesfengcao.gitee.io/uwebzh/adblock/</guid>
|
||||
<description></description>
|
||||
<description> 如果网站并非视频类小网站,长按底部工具栏[☰]按钮,选取&quot;禁用iframe&quot;。更多可参看自定义样式。 对非复杂交互非大厂网页而言,特别是小说网站,可以长按设置,选取&quot;拦截外链脚本&quot;。 全屏无干扰播放。 长按[☰]按钮可拦截浮动信息。 双正则表达式hosts文件。 针对特定网站的脚本样式。 对非图片为主的网站可直接关闭图像。 对非交互性网站,可关闭[JS]脚本。 </description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
|
|
@ -23,7 +23,17 @@
|
|||
<ul class="tags">
|
||||
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>如果网站并非视频类小网站,长按底部工具栏[☰]按钮,选取"禁用iframe"。更多可参看<a href="../adblock_css">自定义样式</a>。</li>
|
||||
<li>对非复杂交互非大厂网页而言,特别是小说网站,可以长按设置,选取"拦截外链脚本"。</li>
|
||||
<li><a href="../video">全屏无干扰播放</a>。</li>
|
||||
<li>长按[☰]按钮可拦截浮动信息。</li>
|
||||
<li><a href="../adblock_hosts">双正则表达式hosts文件</a>。</li>
|
||||
<li><a href="../sitejs">针对特定网站的脚本样式</a>。</li>
|
||||
<li>对非图片为主的网站可直接关闭图像。</li>
|
||||
<li>对非交互性网站,可关闭[JS]脚本。</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -349,7 +349,7 @@ pdf:uweb:echo file:///sdcard/uweb/app/pdf.js/web/viewer.html?file=%u djvu:uweb:e
|
|||
<pubDate>Sun, 23 Aug 2020 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>https://jamesfengcao.gitee.io/uwebzh/adblock/</guid>
|
||||
<description></description>
|
||||
<description> 如果网站并非视频类小网站,长按底部工具栏[☰]按钮,选取&quot;禁用iframe&quot;。更多可参看自定义样式。 对非复杂交互非大厂网页而言,特别是小说网站,可以长按设置,选取&quot;拦截外链脚本&quot;。 全屏无干扰播放。 长按[☰]按钮可拦截浮动信息。 双正则表达式hosts文件。 针对特定网站的脚本样式。 对非图片为主的网站可直接关闭图像。 对非交互性网站,可关闭[JS]脚本。 </description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
|
|
@ -126,6 +126,10 @@ socks代理</p>
|
|||
<p>i:5a[filename]<br>
|
||||
接收信息至文件</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>i:60[path]:[url]<br>
|
||||
如果本地文件存在就打开,否则访问远程url</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
|
20
searchurl/a.html
Normal file
20
searchurl/a.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="config.js"></script>
|
22
searchurl/config.html
Normal file
22
searchurl/config.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
Serif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="config.js" charset="utf-8"></script>
|
||||
|
17
searchurl/config.js
Normal file
17
searchurl/config.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
let text = "";
|
||||
let d=document;
|
||||
if(d.body)
|
||||
text = d.body.innerHTML;
|
||||
|
||||
let labels = ["Default font"];
|
||||
let names = ["font"];
|
||||
let sa = [`<script>function g(){let f=d.forms[0];d.location.href='i:0i/sdcard/uweb/config.html:'+f.font.value+':http://cdn.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/template/config.html';}<\/script><style>input{height:40px;width:100%;border-radius:50px;}</style><form onsubmit='return g();'>`];
|
||||
|
||||
|
||||
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('<input type="submit" value="Save"></form>');
|
||||
let r = sa.join('<br>');
|
||||
d.documentElement.innerHTML = r;
|
21
searchurl/template/config.html
Normal file
21
searchurl/template/config.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
%1%
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<script charset="utf-8" src="http://cdn.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/config.js"></script>
|
0
searchurl/template/config.html~
Normal file
0
searchurl/template/config.html~
Normal file
|
@ -52,7 +52,7 @@
|
|||
<p><a href="i:0h/sdcard/uweb/mwu.tidx:https://cdn.jsdelivr.net/gh/torappinfo/uwebjs/bin/mwu2020.tidx">Merriam Webster Unabridged</a><br>
|
||||
<a href="i:00mwu:d:text/html:u=\'http://d0.ananas.chaoxing.com/download/3f34bde51d3cdc83b90a957cf35a959e\';tdict_loc /sdcard/uweb/mwu \'%s\'|loc2html text/html.md.html $u /sdcard/uweb/mwu:">安装mwu至主屏</a></p>
|
||||
<p>以下工具需先安装<a href="../searchurl/plugins.html">uweb定制Termux应用</a>,并启动一次完成初始化。</p>
|
||||
<h4 id="a-hrefi0bhttpjamesfengcaogiteeiosearchurlbintdicttargz安装tdict词典工具a"><a href="i:0bhttp://jamesfengcao.gitee.io/searchurl/bin/tdict.tar.gz">安装tdict词典工具</a></h4>
|
||||
<h4 id="a-hrefi0bhttpcdnjsdelivrnetghtorappinfosearchurlbintdicttargz安装tdict词典工具a"><a href="i:0bhttp://cdn.jsdelivr.net/gh/torappinfo/searchurl/bin/tdict.tar.gz">安装tdict词典工具</a></h4>
|
||||
<p>安装完tdict词典工具以后,对/sdcard/uweb/dict目录下的汉语大字典文件如"dictXXX.xz"可在主屏.search文件配置如下字典查询:<br>
|
||||
汉语大字典:c:zd xz %s dictXXX</p>
|
||||
<p>字典文件目录可通过修改termux下“~/share”符号链接来改动。也可使用其它压缩方式如zst,此时配置变为"zd zst %s dictXXX",相应的字典文件名为dictXXX.zst。用户需提供zsttool工具解压文本。</p>
|
||||
|
|
Loading…
Reference in a new issue