Compare commits

...

3 commits

Author SHA1 Message Date
James Feng Cao
154e688892 use relative path for one-click config 2022-09-13 17:29:06 +08:00
James Feng Cao
fe41bb41a4 add offline cache 2022-09-13 16:33:31 +08:00
James Feng Cao
ad12551ed7 add resource redirection 2022-09-13 16:13:02 +08:00
21 changed files with 377 additions and 28 deletions

View file

@ -2,7 +2,6 @@
<center><b>使用攻略</b> <a href="../assets/help_en.html">English</a></center> <center><b>使用攻略</b> <a href="../assets/help_en.html">English</a></center>
<p>访问以下网站并点击网页内部功能链接可扩充浏览器功能。<br> <p>访问以下网站并点击网页内部功能链接可扩充浏览器功能。<br>
<a href=".">更新、插件、设置及使用技巧</a> ( <a href=".">更新、插件、设置及使用技巧</a> (
<a href="https://torappinfo.bitbucket.io/zh/">bitbucket</a>
<a href="https://jamesfengcao.gitlab.io/uweb/zh/">gitlab</a> <a href="https://jamesfengcao.gitlab.io/uweb/zh/">gitlab</a>
<a href="https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/index.html">repo</a> <a href="https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/index.html">repo</a>
<a href="https://jamesfengcao.codeberg.page/zh/">codeberg</a> <a href="https://jamesfengcao.codeberg.page/zh/">codeberg</a>
@ -22,7 +21,11 @@
<a href="i:0mi:5h:https://git.launchpad.net/uweb/plain/redirect.html">试验9</a> <a href="i:0mi:5h:https://git.launchpad.net/uweb/plain/redirect.html">试验9</a>
<a href="i:0m04:https://framagit.org/torappinfo/uweb/-/raw/master/redirect.html">试验10</a> <a href="i:0m04:https://framagit.org/torappinfo/uweb/-/raw/master/redirect.html">试验10</a>
<a href="i:0m04:https://agit.ai/jamesfengcao/uweb/raw/branch/master/redirect.html">试验11</a> <a href="i:0m04:https://agit.ai/jamesfengcao/uweb/raw/branch/master/redirect.html">试验11</a>
<a href="i:0mi:5h:https://fastly.jsdelivr.net/gh/torappinfo/uweb/redirect.html">试验12</a> <a href="i:0m04:https://git.froggi.es/jamesfengcao/uweb/raw/branch/master/redirect.html">试验12</a>
<a href="i:0m04:https://git.disroot.org/torappinfo/uweb/raw/branch/master/redirect.html">试验13</a>
<a href="i:0m04:https://gitdab.com/jamesfengcao/uweb/raw/branch/master/redirect.html>试验14</a>
<a href="i:0mi:5h:https://fastly.jsdelivr.net/gh/torappinfo/uweb/redirect.html">试验15</a>
<a href="https://torappinfo.bitbucket.io/zh/">bitbucket</a>
<a href="https://uweb-zh.vercel.app/zh/">vercel</a> <a href="https://uweb-zh.vercel.app/zh/">vercel</a>
<a href="https://uwebzh.pages.dev/zh/">pages</a> <a href="https://uwebzh.pages.dev/zh/">pages</a>
)<br> )<br>

View file

@ -21,7 +21,7 @@ dplayer video player
pdf viewer pdf viewer
epub reader (authorllili) epub reader (authorllili)
djvu viewer djvu viewer
The corresponding menu can be installed with url services. The corresponding menus can be installed with url services.
Features The following mentioned subfolders locate in the configuration folder. Features The following mentioned subfolders locate in the configuration folder.
All html5 applications locating in a subfolder whose name begins with &amp;quot;app&amp;quot; (such as &amp;quot;appPDF&amp;quot;) are allowed to read local files.</description> All html5 applications locating in a subfolder whose name begins with &amp;quot;app&amp;quot; (such as &amp;quot;appPDF&amp;quot;) are allowed to read local files.</description>
</item> </item>
@ -110,6 +110,31 @@ Toggle all checkboxes in forms
Enable selection</description> Enable selection</description>
</item> </item>
<item>
<title>Offline resources</title>
<link>/en/offlinecache/</link>
<pubDate>Mon, 25 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/offlinecache/</guid>
<description>Corresponding files in &amp;quot;sitecache/[domain name]/[full path including filename, &#39;?&#39; , &#39;&amp;amp;&#39; , &#39;=&#39;. exactly as url]&amp;quot; are loaded with option &amp;quot;use offline resources&amp;quot;.</description>
</item>
<item>
<title>Resource redirection</title>
<link>/en/redirect/</link>
<pubDate>Mon, 25 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/redirect/</guid>
<description>Click the following links to append mirrors to the file &amp;quot;default.redirect&amp;quot;:
github mirror:fastgit
github mirror 2
google recaptcha mirror
Each line of the file &amp;quot;default.redirect&amp;quot; has the following format:
[domain name]:[regular expression]:[replacement expression]
in which &amp;quot;[regular expression]&amp;quot; is as defined by java language, and cannot have &amp;quot;:&amp;quot; inside; if empty, it defaults to be same as &amp;quot;[domain name]&amp;quot;.
Ways to enable redirection: Long the image button。 Long pressing the setting button, enable the option &amp;quot;url redirection&amp;quot;.</description>
</item>
<item> <item>
<title>Text selection</title> <title>Text selection</title>
<link>/en/pccopy/</link> <link>/en/pccopy/</link>

View file

@ -50,20 +50,22 @@
<p>This page is for <a href="../index.html">uweb browser</a>.</p> <p>This page is for <a href="../index.html">uweb browser</a>.</p>
<h4 id="html5-applications">Html5 applications</h4> <h4 id="html5-applications">Html5 applications</h4>
<p>Click to install the following html5 apps:<br> <p>Click to install the following html5 apps:<br>
<a target="_self" href="i:0happ/txtview.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/txtview.html">Huge markdown file viewer</a><br> <a target="_self" href="i:0happ/txtview.html:../../zh/searchurl/txt/txtview.html">Huge markdown file viewer</a><br>
<a target="_self" href="i:0happ/markdeep.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/markdeep.html">Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)</a><br> <a target="_self" href="i:0happ/markdeep.html:../../zh/searchurl/txt/markdeep.html">Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)</a><br>
<a target="_self" href="i:0happ/plyr.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/plyr.cfg">plyr video player</a><br> <a target="_self" href="i:0happ/plyr.html:../../zh/searchurl/txt/plyr.cfg">plyr video player</a><br>
<a target="_self" href="i:0happ/dplayer.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/dplayer.html">dplayer video player</a><br> <a target="_self" href="i:0happ/dplayer.html:../../zh/searchurl/txt/dplayer.html">dplayer video player</a><br>
<a target="_self" href="i:0happ/pdfviewer.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/pdfviewer.html">pdf viewer</a><br> <a target="_self" href="i:0happ/pdfviewer.html:../../zh/searchurl/txt/pdfviewer.html">pdf viewer</a><br>
<a target="_self" href="i:0happ/epub.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/epub.html">epub reader (authorllili)</a><br> <a target="_self" href="i:0happ/epub.html:../../zh/searchurl/txt/epub.html">epub reader (authorllili)</a><br>
<a target="_self" href="i:0happ/djvu.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/djvu.html">djvu viewer</a></p> <a target="_self" href="i:0happ/djvu.html:../../zh/searchurl/txt/djvu.html">djvu viewer</a></p>
<p>The corresponding menu can be installed with <a href="../urls/index.html">url services</a>.</p> <p>The corresponding menus can be installed with <a href="../urls/index.html">url services</a>.</p>
<h4 id="features">Features</h4> <h4 id="features">Features</h4>
<p>The following mentioned subfolders locate in the configuration folder.</p> <p>The following mentioned subfolders locate in the configuration folder.</p>
<ul> <ul>
<li>All html5 applications locating in a subfolder whose name begins with &quot;app&quot; (such as &quot;appPDF&quot;) are allowed to read local files. Use url &quot;https://local/sdcard/...&quot; for a local file.</li> <li>All html5 applications locating in a subfolder whose name begins with &quot;app&quot; (such as &quot;appPDF&quot;) are allowed to read local files. Use url &quot;https://local/sdcard/...&quot; for a local file.</li>
<li><span style="color:red">All files under the subfolder &quot;app&quot; can be automatically choosed as file objects by any web page</span>.</li> <li><span style="color:red">All files under the subfolder &quot;app&quot; can be automatically choosed as file objects by any web page</span>.</li>
</ul> </ul>
<p>With the first approach, the html5 application is installed locally and can read any file allowed by the OS; while in the second approach, the html5 application can be either local or remote, and only files under the subfolder &quot;app&quot; can be accessed.</p>
<h4 id="open-local-files-with-html5-apps">Open local files with html5 apps</h4>
<p>Click to configure <a href="../filecap/index.html">default.filecap</a> to open local files, and to open remote files with the option &quot;custom file handling&quot;:<br> <p>Click to configure <a href="../filecap/index.html">default.filecap</a> to open local files, and to open remote files with the option &quot;custom file handling&quot;:<br>
<a target="_self" href="i:0gdefault.filecap:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/filecap.cfg">use pdf.js,djvu.js,epub.js, huge markdown viewer for local files</a></p> <a target="_self" href="i:0gdefault.filecap:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/filecap.cfg">use pdf.js,djvu.js,epub.js, huge markdown viewer for local files</a></p>
<p>url examples are as follows:</p> <p>url examples are as follows:</p>
@ -87,9 +89,9 @@
<li>Press &quot;enter&quot; on the address bar to execute the command.</li> <li>Press &quot;enter&quot; on the address bar to execute the command.</li>
</ul> </ul>
<h4 id="mdict-dictionary-lookup-search-engine">mdict dictionary lookup search engine:</h4> <h4 id="mdict-dictionary-lookup-search-engine">mdict dictionary lookup search engine:</h4>
<p>i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word=%s</p> <p>i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word=%s</p>
<p>The dictionary files (mdx, mdd) must locate in the &quot;app&quot; subfolder under the configuration folder. In above example, the files &quot;xxx.mdx&quot; and &quot;xxx.mdd&quot; locate in the folder &quot;.../app/mdict&quot;.</p> <p>The dictionary files (mdx, mdd) must locate in the &quot;app&quot; subfolder under the configuration folder. In above example, the files &quot;xxx.mdx&quot; and &quot;xxx.mdd&quot; locate in the folder &quot;.../app/mdict&quot;.</p>
<p><a href="i:15d:text/plain:cd /data/data/info.torapp.uweb/files/app/mdict;for i in *.mdx; do b=`basename ${i} .mdx`;fs=%22./mdict/${i}%22;if [ -f ${b}.mdd ];then fs=${fs}%22,./mdict/${b}.mdd%22;fi;echo ${b}:i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=${fs}#word=%25s >>../../home5.search;done:">Clip to paste commands to the address bar</a>, the commands scan mdx/mdd files under app/mdict and add search engines to home screen.</p> <p><a href="i:15d:text/plain:cd /data/data/info.torapp.uweb/files/app/mdict;for i in *.mdx; do b=`basename ${i} .mdx`;fs=%22./mdict/${i}%22;if [ -f ${b}.mdd ];then fs=${fs}%22,./mdict/${b}.mdd%22;fi;echo ${b}:i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=${fs}#word=%25s >>../../home5.search;done:">Clip to paste commands to the address bar</a>, the commands scan mdx/mdd files under app/mdict and add search engines to home screen.</p>
<p>After pasting the command to the address bar, press home screen button, then press &quot;enter&quot; on the address bar to execute the command.</p> <p>After pasting the command to the address bar, press home screen button, then press &quot;enter&quot; on the address bar to execute the command.</p>
</div> </div>

View file

@ -125,6 +125,18 @@
</a> </a>
</li> </li>
<li class="post">
<a href="offlinecache/index.html">
<span>Offline resources</span>
</a>
</li>
<li class="post">
<a href="redirect/index.html">
<span>Resource redirection</span>
</a>
</li>
<li class="post"> <li class="post">
<a href="pccopy/index.html"> <a href="pccopy/index.html">
<span>Text selection</span> <span>Text selection</span>

View file

@ -21,7 +21,7 @@ dplayer video player
pdf viewer pdf viewer
epub reader (authorllili) epub reader (authorllili)
djvu viewer djvu viewer
The corresponding menu can be installed with url services. The corresponding menus can be installed with url services.
Features The following mentioned subfolders locate in the configuration folder. Features The following mentioned subfolders locate in the configuration folder.
All html5 applications locating in a subfolder whose name begins with &amp;quot;app&amp;quot; (such as &amp;quot;appPDF&amp;quot;) are allowed to read local files.</description> All html5 applications locating in a subfolder whose name begins with &amp;quot;app&amp;quot; (such as &amp;quot;appPDF&amp;quot;) are allowed to read local files.</description>
</item> </item>
@ -64,7 +64,7 @@ Note: &#34;Engines&#34; needs file &#34;engine.search&#34;whose format is sam
<pubDate>Thu, 28 Jul 2022 00:00:00 +0000</pubDate> <pubDate>Thu, 28 Jul 2022 00:00:00 +0000</pubDate>
<guid>/en/sitemap/</guid> <guid>/en/sitemap/</guid>
<description>UI Search engines UI (gitee) Customization Long pressing menus for toolbar buttons User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Address bar command modes Font settings Advanced Content AD blocking CSS styles Javascript and CSS for domains Tools Bookmarklets Custom file handling Html5 application Termux Miscellaneous Configuration files Tips Manual </description> <description>UI Search engines UI (gitee) Customization Long pressing menus for toolbar buttons User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Address bar command modes Font settings Advanced Content AD blocking CSS styles Redirection Offline cache Javascript and CSS for domains Tools Bookmarklets Custom file handling Html5 application Termux Miscellaneous Configuration files Tips Manual </description>
</item> </item>
<item> <item>
@ -217,6 +217,31 @@ Performance
Remote javascript is defined in default.rjs. Click the following link to install. (Force exit and re-launch the app, then long press the &amp;quot;search&amp;quot; button to popup the menu.</description> Remote javascript is defined in default.rjs. Click the following link to install. (Force exit and re-launch the app, then long press the &amp;quot;search&amp;quot; button to popup the menu.</description>
</item> </item>
<item>
<title>Offline resources</title>
<link>/en/offlinecache/</link>
<pubDate>Mon, 25 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/offlinecache/</guid>
<description>Corresponding files in &amp;quot;sitecache/[domain name]/[full path including filename, &#39;?&#39; , &#39;&amp;amp;&#39; , &#39;=&#39;. exactly as url]&amp;quot; are loaded with option &amp;quot;use offline resources&amp;quot;.</description>
</item>
<item>
<title>Resource redirection</title>
<link>/en/redirect/</link>
<pubDate>Mon, 25 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/redirect/</guid>
<description>Click the following links to append mirrors to the file &amp;quot;default.redirect&amp;quot;:
github mirror:fastgit
github mirror 2
google recaptcha mirror
Each line of the file &amp;quot;default.redirect&amp;quot; has the following format:
[domain name]:[regular expression]:[replacement expression]
in which &amp;quot;[regular expression]&amp;quot; is as defined by java language, and cannot have &amp;quot;:&amp;quot; inside; if empty, it defaults to be same as &amp;quot;[domain name]&amp;quot;.
Ways to enable redirection: Long the image button。 Long pressing the setting button, enable the option &amp;quot;url redirection&amp;quot;.</description>
</item>
<item> <item>
<title>Text selection</title> <title>Text selection</title>
<link>/en/pccopy/</link> <link>/en/pccopy/</link>

View file

@ -0,0 +1,55 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="/uwebzh/style.css" type="text/css" />
<title>Offline resources</title>
<script type="text/javascript">
function findLang(){
let href = location.href;
for(let i=href.length-1;i>0;i--){
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
return i;
}
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);
}
</script>
</head>
<body>
<header class='header'>
<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>
<a class="logo" href="javascript:void(0)" onclick="return nav2Lang('zh')">简体中文</a>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">Offline resources
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p>Corresponding files in &quot;sitecache/[domain name]/[full path including filename, '?' , '&amp;' , '='. exactly as url]&quot; are loaded with option &quot;use offline resources&quot;.</p>
</div>
</body>
</html>

69
en/redirect/index.html Normal file
View file

@ -0,0 +1,69 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="/uwebzh/style.css" type="text/css" />
<title>Resource redirection</title>
<script type="text/javascript">
function findLang(){
let href = location.href;
for(let i=href.length-1;i>0;i--){
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
return i;
}
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);
}
</script>
</head>
<body>
<header class='header'>
<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>
<a class="logo" href="javascript:void(0)" onclick="return nav2Lang('zh')">简体中文</a>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">Resource redirection
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
<li><a href="../tags/redirection">redirection</a> </li>
</ul>
<p>Click the following links to append mirrors to the file &quot;default.redirect&quot;:<br>
<a href="i:0gdefault.redirect::github.com::hub.fastgit.xyz%0A">github mirror:fastgit</a><br>
<a href="i:0gdefault.redirect::github.com::hub.0z.gs%0A">github mirror 2</a></p>
<p><a target="_self" href="i:0gdefault.redirect:http://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/redirect.cfg">google recaptcha mirror</a></p>
<p>Each line of the file &quot;default.redirect&quot; has the following format:<br>
[domain name]:[regular expression]:[replacement expression]</p>
<p>in which &quot;[regular expression]&quot; is as defined by java language, and cannot have &quot;:&quot; inside; if empty, it defaults to be same as &quot;[domain name]&quot;.</p>
<h4 id="ways-to-enable-redirection">Ways to enable redirection:</h4>
<ul>
<li><a href="../urls/index.html">Long the image button</a></li>
<li>Long pressing the setting button, enable the option &quot;url redirection&quot;.</li>
<li>Long pressing the setting button, enable the option &quot;Resource redirection&quot;.</li>
</ul>
</div>
</body>
</html>

View file

@ -202,6 +202,35 @@
hreflang="en" hreflang="en"
href="/en/rjs/" href="/en/rjs/"
/> />
</url><url>
<loc>/en/offlinecache/</loc>
<lastmod>2022-04-25T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/offlinecache/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/offlinecache/"
/>
</url><url>
<loc>/en/tags/redirection/</loc>
<lastmod>2022-04-25T00:00:00+00:00</lastmod>
</url><url>
<loc>/en/redirect/</loc>
<lastmod>2022-04-25T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/redirect/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/redirect/"
/>
</url><url> </url><url>
<loc>/en/tags/clipboard/</loc> <loc>/en/tags/clipboard/</loc>
<lastmod>2022-04-23T00:00:00+00:00</lastmod> <lastmod>2022-04-23T00:00:00+00:00</lastmod>

View file

@ -73,6 +73,8 @@
<ul> <ul>
<li><a href="../adblock/index.html">AD blocking</a></li> <li><a href="../adblock/index.html">AD blocking</a></li>
<li><a href="../globalcss/index.html">CSS styles</a></li> <li><a href="../globalcss/index.html">CSS styles</a></li>
<li><a href="../redirect/index.html">Redirection</a></li>
<li><a href="../offlinecache/index.html">Offline cache</a></li>
<li><a href="../sitejs/index.html">Javascript and CSS for domains</a></li> <li><a href="../sitejs/index.html">Javascript and CSS for domains</a></li>
</ul> </ul>
<h5 id="tools">Tools</h5> <h5 id="tools">Tools</h5>

View file

@ -15,6 +15,8 @@
<li><a href="PC">PC</a> 1</li> <li><a href="PC">PC</a> 1</li>
<li><a href="redirection">redirection</a> 1</li>
<li><a href="search%20engine">search engine</a> 1</li> <li><a href="search%20engine">search engine</a> 1</li>
<li><a href="ssh">ssh</a> 1</li> <li><a href="ssh">ssh</a> 1</li>

View file

@ -15,6 +15,15 @@
<description></description> <description></description>
</item> </item>
<item>
<title>redirection</title>
<link>/en/tags/redirection/</link>
<pubDate>Mon, 25 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/tags/redirection/</guid>
<description></description>
</item>
<item> <item>
<title>clipboard</title> <title>clipboard</title>
<link>/en/tags/clipboard/</link> <link>/en/tags/clipboard/</link>

View file

@ -0,0 +1,53 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="/uwebzh/style.css" type="text/css" />
<title>redirection</title>
<script type="text/javascript">
function findLang(){
let href = location.href;
for(let i=href.length-1;i>0;i--){
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
return i;
}
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);
}
</script>
</head>
<body>
<header class='header'>
<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>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">redirection</h1>
<ul class="posts">
<li class="post">
<a href="../../redirect">
<span>Resource redirection</span>
</a>
</li>
</ul>
<ul>
</div>
</body>
</html>

View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>redirection on </title>
<link>/en/tags/redirection/</link>
<description>Recent content in redirection on </description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Mon, 25 Apr 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/tags/redirection/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Resource redirection</title>
<link>/en/redirect/</link>
<pubDate>Mon, 25 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/redirect/</guid>
<description>Click the following links to append mirrors to the file &amp;quot;default.redirect&amp;quot;:
github mirror:fastgit
github mirror 2
google recaptcha mirror
Each line of the file &amp;quot;default.redirect&amp;quot; has the following format:
[domain name]:[regular expression]:[replacement expression]
in which &amp;quot;[regular expression]&amp;quot; is as defined by java language, and cannot have &amp;quot;:&amp;quot; inside; if empty, it defaults to be same as &amp;quot;[domain name]&amp;quot;.
Ways to enable redirection: Long the image button。 Long pressing the setting button, enable the option &amp;quot;url redirection&amp;quot;.</description>
</item>
</channel>
</rss>

View file

@ -32,7 +32,7 @@ Note: &#34;Engines&#34; needs file &#34;engine.search&#34;whose format is sam
<pubDate>Thu, 28 Jul 2022 00:00:00 +0000</pubDate> <pubDate>Thu, 28 Jul 2022 00:00:00 +0000</pubDate>
<guid>/en/sitemap/</guid> <guid>/en/sitemap/</guid>
<description>UI Search engines UI (gitee) Customization Long pressing menus for toolbar buttons User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Address bar command modes Font settings Advanced Content AD blocking CSS styles Javascript and CSS for domains Tools Bookmarklets Custom file handling Html5 application Termux Miscellaneous Configuration files Tips Manual </description> <description>UI Search engines UI (gitee) Customization Long pressing menus for toolbar buttons User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Address bar command modes Font settings Advanced Content AD blocking CSS styles Redirection Offline cache Javascript and CSS for domains Tools Bookmarklets Custom file handling Html5 application Termux Miscellaneous Configuration files Tips Manual </description>
</item> </item>
<item> <item>

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

@ -13,7 +13,7 @@
<guid>/zh/html5/</guid> <guid>/zh/html5/</guid>
<description>mdict字典搜索引擎: <description>mdict字典搜索引擎:
i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word= i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=
字典文件必须位于配置目录应用子目录&amp;quot;app&amp;quot;下。上述字典搜索引擎例子中文件&amp;quot;xxx.mdx&amp;quot;及&amp;quot;xxx.mdd&amp;quot;位于&amp;quot;.../app/mdict&amp;quot;下。 字典文件必须位于配置目录应用子目录&amp;quot;app&amp;quot;下。上述字典搜索引擎例子中文件&amp;quot;xxx.mdx&amp;quot;及&amp;quot;xxx.mdd&amp;quot;位于&amp;quot;.../app/mdict&amp;quot;下。
点击安装超大文件阅读器支持txt, html, markdown 点击安装超大文件阅读器支持txt, html, markdown
点击安装超大文件阅读器markdeep版, latex, diagram,graphviz等 点击安装超大文件阅读器markdeep版, latex, diagram,graphviz等

View file

@ -48,15 +48,15 @@
</ul> </ul>
<p>mdict字典搜索引擎:<br> <p>mdict字典搜索引擎:<br>
i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word=</p> i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=</p>
<p>字典文件必须位于配置目录应用子目录&quot;app&quot;下。上述字典搜索引擎例子中文件&quot;xxx.mdx&quot;&quot;xxx.mdd&quot;位于&quot;.../app/mdict&quot;下。</p> <p>字典文件必须位于配置目录应用子目录&quot;app&quot;下。上述字典搜索引擎例子中文件&quot;xxx.mdx&quot;&quot;xxx.mdd&quot;位于&quot;.../app/mdict&quot;下。</p>
<p><a target="_self" href="i:0happ/txtview.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/txtview.html">点击安装超大文件阅读器支持txt, html, markdown</a><br> <p><a target="_self" href="i:0happ/txtview.html:../searchurl/txt/txtview.html">点击安装超大文件阅读器支持txt, html, markdown</a><br>
<a target="_self" href="i:0happ/markdeep.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/markdeep.html">点击安装超大文件阅读器markdeep版, latex, diagram,graphviz等</a><br> <a target="_self" href="i:0happ/markdeep.html:../searchurl/txt/markdeep.html">点击安装超大文件阅读器markdeep版, latex, diagram,graphviz等</a><br>
<a target="_self" href="i:0happ/plyr.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/plyr.cfg">点击安装plyr视频播放器</a><br> <a target="_self" href="i:0happ/plyr.html:../searchurl/txt/plyr.cfg">点击安装plyr视频播放器</a><br>
<a target="_self" href="i:0happ/dplayer.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/dplayer.html">点击安装dplayer视频播放器</a><br> <a target="_self" href="i:0happ/dplayer.html:../searchurl/txt/dplayer.html">点击安装dplayer视频播放器</a><br>
<a target="_self" href="i:0happ/pdfviewer.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/pdfviewer.html">点击安装pdf阅读器</a><br> <a target="_self" href="i:0happ/pdfviewer.html:../searchurl/txt/pdfviewer.html">点击安装pdf阅读器</a><br>
<a target="_self" href="i:0happ/epub.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/epub.html">点击安装epub阅读器(作者llili)</a><br> <a target="_self" href="i:0happ/epub.html:../searchurl/txt/epub.html">点击安装epub阅读器(作者llili)</a><br>
<a target="_self" href="i:0happ/djvu.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/djvu.html">点击安装djvu阅读器</a><br> <a target="_self" href="i:0happ/djvu.html:../searchurl/txt/djvu.html">点击安装djvu阅读器</a><br>
相应的菜单安装可见<a href="../urls/index.html">浏览器特色服务</a></p> 相应的菜单安装可见<a href="../urls/index.html">浏览器特色服务</a></p>
<p>超微配置目录下的子目录名如果以&quot;app&quot;开始(譬如&quot;appPDF&quot;),则这些&quot;app&quot;开头目录树下放置的html5应用将可获得功能增强。</p> <p>超微配置目录下的子目录名如果以&quot;app&quot;开始(譬如&quot;appPDF&quot;),则这些&quot;app&quot;开头目录树下放置的html5应用将可获得功能增强。</p>
<p><a href="../filecap/index.html">配置default.filecap</a>并打开选项“文件预处理”,清后台重启浏览器后超微可直接阅读应用对应格式文件。<br> <p><a href="../filecap/index.html">配置default.filecap</a>并打开选项“文件预处理”,清后台重启浏览器后超微可直接阅读应用对应格式文件。<br>

View file

@ -88,7 +88,7 @@ novip:https://www.novipnoad.com/s=
<guid>/zh/html5/</guid> <guid>/zh/html5/</guid>
<description>mdict字典搜索引擎: <description>mdict字典搜索引擎:
i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word= i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=
字典文件必须位于配置目录应用子目录&amp;quot;app&amp;quot;下。上述字典搜索引擎例子中文件&amp;quot;xxx.mdx&amp;quot;及&amp;quot;xxx.mdd&amp;quot;位于&amp;quot;.../app/mdict&amp;quot;下。 字典文件必须位于配置目录应用子目录&amp;quot;app&amp;quot;下。上述字典搜索引擎例子中文件&amp;quot;xxx.mdx&amp;quot;及&amp;quot;xxx.mdd&amp;quot;位于&amp;quot;.../app/mdict&amp;quot;下。
点击安装超大文件阅读器支持txt, html, markdown 点击安装超大文件阅读器支持txt, html, markdown
点击安装超大文件阅读器markdeep版, latex, diagram,graphviz等 点击安装超大文件阅读器markdeep版, latex, diagram,graphviz等

View file

@ -30,6 +30,10 @@
<header class='header'> <header class='header'>
<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> <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>
<a class="logo" href="javascript:void(0)" onclick="return nav2Lang('en')">English</a>
<nav> <nav>
</nav> </nav>
</header> </header>

View file

@ -30,6 +30,10 @@
<header class='header'> <header class='header'>
<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> <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>
<a class="logo" href="javascript:void(0)" onclick="return nav2Lang('en')">English</a>
<nav> <nav>
</nav> </nav>
</header> </header>
@ -71,7 +75,7 @@ developer.android.com::developer.android.google.cn</p>
<p>重启uweb后长按链接弹出菜单选&quot;国内镜像&quot;,浏览器将访问网址的国内镜像。若网址为本地文件,则浏览器会自动调用此类文件编辑器。</p> <p>重启uweb后长按链接弹出菜单选&quot;国内镜像&quot;,浏览器将访问网址的国内镜像。若网址为本地文件,则浏览器会自动调用此类文件编辑器。</p>
</li> </li>
<li> <li>
<p><a href="../urls">长按工具条图像按钮</a></p> <p><a href="../urls/index.html">长按工具条图像按钮</a></p>
</li> </li>
<li> <li>
<p>长按设置,选中&quot;自定义重定向&quot;</p> <p>长按设置,选中&quot;自定义重定向&quot;</p>

View file

@ -217,6 +217,16 @@
</url><url> </url><url>
<loc>/zh/redirect/</loc> <loc>/zh/redirect/</loc>
<lastmod>2022-04-25T00:00:00+00:00</lastmod> <lastmod>2022-04-25T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/redirect/"
/>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/redirect/"
/>
</url><url> </url><url>
<loc>/zh/tags/pc/</loc> <loc>/zh/tags/pc/</loc>
<lastmod>2022-04-23T00:00:00+00:00</lastmod> <lastmod>2022-04-23T00:00:00+00:00</lastmod>
@ -485,5 +495,15 @@
<loc>/zh/tags/%E4%B8%8B%E8%BD%BD/</loc> <loc>/zh/tags/%E4%B8%8B%E8%BD%BD/</loc>
</url><url> </url><url>
<loc>/zh/offlinecache/</loc> <loc>/zh/offlinecache/</loc>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/offlinecache/"
/>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/offlinecache/"
/>
</url> </url>
</urlset> </urlset>