2020-05-09 14:42:57 +00:00
<!doctype html>
< html >
< head >
2020-04-29 08:37:43 +00:00
< meta charset = "utf-8" >
2020-05-09 14:42:57 +00:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2023-12-11 07:23:07 +00:00
2024-04-01 13:51:55 +00:00
< link rel = "stylesheet" href = "../style.css#" type = "text/css" / >
2020-05-09 14:42:57 +00:00
< title > 常用链接< / title >
2022-06-30 03:43:09 +00:00
< script type = "text/javascript" >
2022-07-12 02:24:02 +00:00
function findLang(){
2022-06-30 03:43:09 +00:00
let href = location.href;
for(let i=href.length-1;i>0;i--){
if('/'==href.charAt(i) & & '/'==href.charAt(i-3))
2022-07-12 02:24:02 +00:00
return i;
2022-06-30 03:43:09 +00:00
}
2022-07-12 02:24:02 +00:00
return 0;
}
function nav2(page){
let i = findLang();
location.href = location.href.substring(0,i+1)+page;
}
function nav2Lang(lang){
let i = findLang();
let href = location.href;
location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
2022-06-30 03:43:09 +00:00
}
< / script >
2020-05-09 14:42:57 +00:00
< / head >
< body >
< header class = 'header' >
2024-04-02 05:42:43 +00:00
< a class = "logo" href = "javascript:void(0)" onclick = "return nav2('index.html#')" > Home< / a > < a class = "logo" href = "javascript:void(0)" onclick = "return nav2('tags/index.html#')" > Tags< / a >
2022-07-12 02:24:02 +00:00
< a class = "logo" href = "javascript:void(0)" onclick = "return nav2Lang('en')" > English< / a >
2020-05-09 14:42:57 +00:00
< nav >
< / nav >
< / header >
2020-08-29 00:42:46 +00:00
< br / >
2020-04-29 08:37:43 +00:00
2020-05-09 14:42:57 +00:00
< div class = "container" >
< h1 class = "title" > 常用链接
< br >
< span class = "subtitle" > < / span >
< / h1 >
< ul class = "tags" >
2020-04-29 08:37:43 +00:00
2020-05-09 14:42:57 +00:00
< / ul >
2022-08-17 03:16:49 +00:00
< p > 点击以下链接可安装至常用链接:< br >
2023-06-05 00:30:00 +00:00
< a href = "i:0gdefault.link::长截屏::ccapture%0A" > 长截屏< / a > (需< a href = "i:61:../searchurl/func.html" > 长截屏模式< / a > )< / p >
< p > < a href = "i:0gdefault.link::vpn:i:1dandroid.net.vpn.SETTINGS:::%0A" > VPN< / a > < br >
2023-04-04 06:51:30 +00:00
< a href = "i:0gdefault.link::showCookie:i:53:%25c%0A" > showCookie< / a > < br >
2022-10-02 06:55:36 +00:00
< a href = "i:0gdefault.link::wireless:i:1dandroid.settings.WIRELESS_SETTINGS:::%0A" > wireless< / a > < br >
2023-02-12 14:03:54 +00:00
< a href = "i:0gdefault.link::显示安全证书:i:1c%0A" > 显示网站安全证书< / a > < br >
2023-01-19 09:38:17 +00:00
< a href = "i:0gdefault.link::上传坚果云: {let path=`%f`;let iSlash=path.lastIndexOf('/',path.length-2);let f;if('/'!=path[path.length-1])f=path.substring(iSlash+1);else f=path.substring(iSlash+1,path.length-1)+'.tgz';location.href='i:0u'+path+':https://dav.jianguoyun.com/dav/%e6%88%91%e7%9a%84%e5%9d%9a%e6%9e%9c%e4%ba%91/'+f;}%0A" > 上传坚果云< / a > < / p >
2023-01-22 09:27:29 +00:00
< p > < a href = "../../en/searchurl/webdav.html" > 更多 webdav ...< / a > < / p >
2023-01-19 09:24:07 +00:00
< p > < a href = "i:0gdefault.link::迅雷盘离线:http://pan.xunlei.com/ {let rsc=setInterval(function(){var offBtn=document.querySelector('.pan-dropdown-menu.plus-menu>a:nth-child(2)');if(offBtn){clearInterval(rsc);var wsc=setInterval(function(){offBtn.click();var textarea=document.querySelector('.fileurl-input__container>textarea');if(textarea){clearInterval(wsc);textarea.value='%25u';var event=document.createEvent('HTMLEvents');event.initEvent('input',false,true);textarea.dispatchEvent(event);document.querySelector('.pan-dialog-btn__primary').click();}},200);}},1000);}%0A" > 迅雷盘离线< / a > < / p >
2022-07-09 00:45:17 +00:00
< p > < a href = "i:0gdefault.link::网页全屏: location.href='i:5fsetTimeout(()=>document.documentElement.requestFullscreen(),50);';%0A" > 网页全屏< / a > < / p >
2023-02-20 14:03:43 +00:00
< p > < a href = "i:0gdefault.link:../searchurl/txt/link.cfg" > 点击安装Cookie延期, 地址栏内删除特殊字符, 站内搜索, seedr离线下载等< / a > < br >
< a href = "i:0gdefault.link:../searchurl/txt/offline.link" > 点击安装离线下载(pcloud,furk,微云等)< / a > < / p >
2024-04-02 11:38:45 +00:00
< p > < a href = "../index.html#" > uweb浏览器< / a > 中长按书签按钮可弹出常用链接菜单,这些链接定义在文件" default.link" 中,改动过的文件清后台重启动后生效。每行格式如下:< br >
2020-05-09 14:42:57 +00:00
[菜单名]:[url][空格][javascript脚本]< br >
2024-04-02 11:38:45 +00:00
其中空格及之后的脚本为可选项。url及之后的脚本支持< a href = "../cmd/index.html#" > " %u" ," %s" 等替换< / a > 。< br >
2020-05-09 14:42:57 +00:00
脚本将在链接访问结束时自动执行。< / p >
< p > url除支持所有标准的http(s):,javascript:等链接外,还支持超微内部链接(" :" 为链接第二个字符)及特殊链接(" :" 为链接首字符)。< / p >
2020-08-23 16:27:44 +00:00
< p > 不少本地链接文件(file:///)超微浏览器将会做特殊处理。仅举几例说明:< br >
2024-04-02 11:38:45 +00:00
.js文件(同< a href = "../longclick/index.html#" > 长按链接运行js文件< / a > ): 首行前两个字符为" //" 者,超微将打开" //" 后面的目标网址并执行此文件代码,目标网址支持< a href = "../cmd/index.html" > " %u" ," %s" 等替换< / a > 。否则直接执行此文件。此时[javascript脚本]将作为运行.js文件的參数arguments[1]。推荐将常用js脚本本地链接保存在.link文件中。< / p >
< p > < a href = "../gesture/index.html#" > default.gesture< / a > 及default.button文件采用了完全一样的格式。.gesture文件定义了手势操作。.button文件则从最后一个按钮开始倒着重定义了底部工具栏按钮单击操作。< / p >
2020-05-22 13:17:27 +00:00
< p > 各类代理配置如下:< br >
2020-11-10 09:26:59 +00:00
httpproxy::010[proxy host]:[port]< br >
socks5::011[socks host]:[port]< br >
2020-05-22 13:17:27 +00:00
noproxy::010:< / p >
2020-11-10 09:15:34 +00:00
< h3 id = "为首字符特殊链接" > " :" 为首字符特殊链接< / h3 >
< ul >
< li >
< p > :0001< br >
自动翻到上一页。(网页无法前进时按前进按钮可自动翻到下一页。)< / p >
< / li >
< li >
2022-06-06 03:43:35 +00:00
< p > :0003< br >
切换全屏模式< / p >
< / li >
< li >
< p > :0004< br >
屏幕旋转< / p >
< / li >
< li >
2020-11-30 07:21:56 +00:00
< p > :001[fileurl]< br >
加入媒体库< / p >
< / li >
< li >
2020-11-10 09:26:59 +00:00
< p > :010[proxy host]:[port]< br >
2020-11-10 09:15:34 +00:00
设置http代理, " :010:" 禁用代理。< / p >
< / li >
< li >
2020-11-10 09:26:59 +00:00
< p > :011[socks host]:[port]< br >
2020-11-10 09:15:34 +00:00
socks代理< / p >
< / li >
< / ul >
2020-10-12 00:05:19 +00:00
< h3 id = "i内部链接" > " i:" 内部链接:< / h3 >
< ul >
2020-11-10 09:15:34 +00:00
< li >
2022-05-31 02:33:44 +00:00
< p > i:0m[bookmarklet index|prefix|c[cssFlag]]:[url]< br >
2022-05-28 09:31:21 +00:00
将url作为网站访问, [bookmarklet index]至少占两个字符。< / p >
2022-07-02 01:15:32 +00:00
< ul >
< li > c[cssFlag]: For example, " c12" will apply the third and fourth global CSS (12=2^2+2^3).< / li >
< li > All other cases will be treated as prefix, the real visited url is " [prefix]+url" .< / li >
< / ul >
2022-03-19 08:53:04 +00:00
< / li >
< li >
2021-08-19 15:00:10 +00:00
< p > i:15[string]< br >
设置地址栏内容为[string]< / p >
< / li >
< li >
2020-11-10 09:26:59 +00:00
< p > i:16[mimetype]:[Action Name]:[App Name]:[Activity Name]< br >
2022-07-02 01:15:32 +00:00
读取第三方应用输入。< / p >
2020-11-10 09:15:34 +00:00
< / li >
< li >
2020-11-10 09:26:59 +00:00
< p > i:18[extended mimetype]:[range]:[url]< br >
2020-10-12 00:05:19 +00:00
读取url部分数据并使用指定mimetype强制处理。< br >
< range > :格式同http header。譬如" 500-1000,-300" < br >
2020-11-10 09:15:34 +00:00
< extended mimetype > :可以为标准的mimetype。也可以在标准mimetype后面添加" .< 文件名> " , 此时uweb配置目录下的文件“< 文件名> ”内容会附在url部分数据后面一起显示。< / p >
< / li >
< li >
2021-12-30 08:01:56 +00:00
< p > i:19[string]< br >
地址栏内容末尾附加[string]< / p >
< / li >
< li >
2023-02-12 14:03:54 +00:00
< p > i:1c< br >
2022-04-22 12:24:46 +00:00
显示网站证书< / p >
< / li >
< li >
2023-02-12 14:03:54 +00:00
< p > i:1d< action > :< type > :< Category > :< data > < br >
Launch app for specific < action > < / p >
2022-05-18 01:11:42 +00:00
< / li >
< li >
2023-02-12 14:03:54 +00:00
< p > i:1w< br >
等待从网络接收url并打开< / p >
2022-05-17 10:48:36 +00:00
< / li >
< li >
2023-02-12 14:03:54 +00:00
< p > i:1w1< br >
等待从网络接收url并打开(不显示ip)< / p >
2022-08-17 03:16:49 +00:00
< / li >
< li >
2022-02-10 02:15:25 +00:00
< p > i:50[path]:[string]< br >
保存为文件。< / p >
2020-11-10 09:15:34 +00:00
< / li >
< li >
2022-05-26 01:22:19 +00:00
< p > i:51[path]:[url]< br >
2022-06-25 09:20:15 +00:00
保存为地址栏提示< / p >
2020-11-10 09:15:34 +00:00
< / li >
< li >
2022-05-26 01:22:19 +00:00
< p > i:52[path]:[string]< br >
2022-06-25 09:20:15 +00:00
保存为书签< / p >
2020-11-10 09:15:34 +00:00
< / li >
< li >
2022-05-26 01:22:19 +00:00
< p > i:53[path]:[string]< br >
2022-06-25 09:20:15 +00:00
保存为笔记< / p >
2020-11-10 09:15:34 +00:00
< / li >
2020-11-28 09:31:17 +00:00
< li >
2022-05-26 01:22:19 +00:00
< p > i:54[path]:[url]< br >
2020-12-30 08:38:11 +00:00
保存为搜索引擎< / p >
2020-11-28 09:31:17 +00:00
< / li >
2020-11-30 07:21:56 +00:00
< li >
2022-05-26 01:22:19 +00:00
< p > i:55[path]:[url]< br >
2020-12-30 08:38:11 +00:00
保存为链接< / p >
2020-11-30 07:21:56 +00:00
< / li >
2020-12-15 04:08:03 +00:00
< li >
< p > i:56[string]< br >
将string插入到网页当前输入框。< / p >
< / li >
2020-12-28 03:59:26 +00:00
< li >
< p > i:57[jscode]< br >
执行js代码, 即使网页禁用js。< / p >
< / li >
2020-12-30 08:38:11 +00:00
< li >
< p > i:58[url]< br >
保存到桌面< / p >
< / li >
2021-07-30 08:45:12 +00:00
< li >
< p > i:5a[filename]< br >
接收信息至文件< / p >
< / li >
2021-08-22 03:21:57 +00:00
< li >
2022-05-26 11:59:21 +00:00
< p > i:5b[string]< br >
复制至剪贴板。< / p >
2021-10-19 14:23:37 +00:00
< / li >
< li >
2021-11-12 07:24:33 +00:00
< p > i:5c[url]< br >
更改自动翻页url< / p >
< / li >
< li >
2022-02-10 02:15:25 +00:00
< p > i:5d[file url]< br >
兼容其它浏览器的方式打开本地文件。< / p >
< / li >
< li >
2022-04-08 06:25:26 +00:00
< p > i:5e[string]< br >
TTS< / p >
< / li >
< li >
2022-05-27 13:01:14 +00:00
< p > i:5f[videourl]< br >
2022-05-28 09:31:21 +00:00
play video fullscreen. if videourl is empty, then make following requestFullscreen() work.< / p >
2022-05-17 10:48:36 +00:00
< / li >
< li >
2024-04-19 08:11:12 +00:00
< p > i:5h[?postfix:|/regex/replacement:|encoding:][url]< br >
2022-05-28 09:31:21 +00:00
force html for url< / p >
2024-04-19 08:11:12 +00:00
< ul >
< li > [encoding:]: force web page encoding.< / li >
< / ul >
2022-05-27 13:01:14 +00:00
< / li >
< li >
2022-05-26 11:59:21 +00:00
< p > i:5i[url]< br >
重用已有窗口跳转至不同anchor。< / p >
< / li >
< li >
2022-05-28 09:31:21 +00:00
< p > i:5j[string]< br >
2022-08-25 02:40:29 +00:00
if [string] is file url, then send the file/folder to network, otherwise send [string] to network.< / p >
2022-05-28 09:31:21 +00:00
< / li >
< li >
2022-10-26 14:43:36 +00:00
< p > i:5p[videourl]< br >
play video in external player< / p >
< / li >
< li >
2021-08-22 03:21:57 +00:00
< p > i:60[path]:[url]< br >
如果本地文件存在就打开, 否则访问远程url< / p >
< / li >
2022-02-10 09:20:09 +00:00
< li >
< p > i:62[path]:[js code]< br >
保存js返回值为文件< / p >
< / li >
2022-03-19 08:53:04 +00:00
< li >
< p > i:63[bookmarklet index]:[url]< / p >
< / li >
2022-05-12 14:36:23 +00:00
< li >
2022-05-13 07:12:27 +00:00
< p > i:70[url]:[自动翻页url]< br >
2022-05-12 14:36:23 +00:00
访问网址url, 但指定使用后一网址自动翻页< / p >
< / li >
2023-03-20 03:57:14 +00:00
< li >
< p > i:92[http request headers separated by ';']:[url]< br >
The " Host" Header (fake header, different from the standard) must be the first header.< br >
Ex. i:92Host;209.216.230.240:https://news.ycombinator.com< br >
use " i:0mi:92Host;209.216.230.240::https://news.ycombinator.com" to visit the site with specified IP address.< / p >
< / li >
2020-10-12 00:05:19 +00:00
< / ul >
2020-04-29 08:37:43 +00:00
< / div >
2024-04-19 08:11:12 +00:00
< p > Last Modified: 19 April 2024< br >
add i:5hencoding: support< br >
2023-03-07 02:07:05 +00:00
< pre > < / pre >
< / p >
2024-03-21 01:04:37 +00:00
2023-05-06 01:56:44 +00:00
< script id = 'jsgiscus'
src='https://giscus.app/client.js'
data-repo="torappinfo/uweb"
data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE="
data-category="Announcements"
data-category-id="DIC_kwDOEgNLGc4CQjsh"
2023-05-06 02:49:29 +00:00
data-mapping="title"
2023-05-06 01:56:44 +00:00
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="light"
data-lang="en"
data-loading="lazy"
2023-05-06 02:49:29 +00:00
crossorigin="anonymous" async>
2023-05-06 01:40:28 +00:00
< / script >
2020-04-29 08:37:43 +00:00
2024-04-03 01:47:35 +00:00
< footer class = "site-footer" >
< div class = "container" >
2024-04-04 13:28:55 +00:00
© 2018-2024 Richard H. Cao
2024-04-03 01:47:35 +00:00
< / div >
< / footer >
2024-04-04 13:28:55 +00:00
<!-- This document is licensed under the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front - Cover Texts, and no Back - Cover Texts. A copy of the license is available at <https://www.gnu.org/licenses/>. -->
2020-05-09 14:42:57 +00:00
< / body >
2020-04-29 08:37:43 +00:00
< / html >