rebuilding site Fri Jul 29 12:46:00 PM CST 2022

This commit is contained in:
James Feng Cao 2022-07-29 12:46:00 +08:00
parent a64fc68def
commit feabfe5407
10 changed files with 18 additions and 18 deletions

View file

@ -56,7 +56,7 @@
[file extension]:[mimetype]:[command line]</p>
<p>The &quot;[file extension]&quot; part can have at most two-segment of extensions such as &quot;txt.xz&quot;,&quot;html.gz&quot;.<br>
&quot;[mimetype]&quot; indicates the type of &quot;[command line]&quot; output.<br>
&quot;[command line]&quot; is same as the one in <a href="../searchurl/cmds.html">default.cmds</a>. The most often used replacements are:<br>
&quot;[command line]&quot; is same as the one in <a href="../cmds/index.html">default.cmds</a>. The most often used replacements are:<br>
%u (url), %U (urlencoded url), %c (cookie), %p (site password, curl format).</p>
<p>default.filecap example:</p>
<pre><code>txt:text/html:curl %p "%u"

View file

@ -61,11 +61,11 @@
&quot;app[XXX]/&quot;:<a href="../html5/index.html">html5 applications</a><br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/default.longclick">default.longclick</a>&quot;: to configure menus when long-pressing hypertext.<br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/default.uas">default.uas</a>&quot;:<a href="../searchurl/uas.html">user agents</a><br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/default.urls">default.urls</a>&quot;:<a href="../searchurl/urls.html">service urls</a><br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/default.urls">default.urls</a>&quot;:<a href="../urls/index.html">service urls</a><br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/default.acmd">default.acmd</a>&quot;:<a href="../gnuplot/index.html">configure address bar functionalities</a><br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/default.hosts">default.hosts</a>&quot;:<a href="../adblock_hosts/index.html">hosts not allowed to visit</a><br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/default.redirect">default.redirect</a>&quot;:<a href="../redirect/index.html">redirect websites</a><br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/default.cmds">default.cmds</a>&quot;:<a href="../searchurl/cmds.html">commands</a><br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/default.cmds">default.cmds</a>&quot;:<a href="../cmds/index.html">commands</a><br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/default.link">default.link</a>&quot;:<a href="../links/index.html">links</a><br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/default.rjs">default.rjs</a>&quot;:<a href="../rjs/index.html">Remote javascript</a><br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/default.select">default.select</a>&quot;:<a href="../pccopy/index.html">menus for selected text</a><br>
@ -77,13 +77,13 @@
&quot;<a href="file:///data/data/info.torinfo.uweb/files/default.filecap">default.filecap</a>&quot;:<a href="../filecap/index.html">custom file handling</a><br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/default.rc">default.rc</a>&quot;: check the option &quot;custom file handling&quot; to execute the shell script file during uweb launching. <a href="../tools/index.html">tcron</a> provides extra cron tools.<br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/default.rc2">default.rc2</a>&quot;: check the option &quot;custom file handling&quot; to execute the shell script file when uweb returns to foreground.<br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/engine.search">engine.search</a>&quot;: to define quick search engines (pressing right arrow button to use next engine to search). The file format is similar to <a href="../searchurl/search.html">home5.search</a> but using &quot;%s&quot; as search keywords.<br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/engine.search">engine.search</a>&quot;: to define quick search engines (pressing right arrow button to use next engine to search). The file format is similar to <a href="../search/index.html">home5.search</a> but using &quot;%s&quot; as search keywords.<br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/default.siteconf">default.siteconf</a>&quot;: to save ua, js disabling, no-image mode, forbids 3rd-party resources (js and others), active scripts, global scripts for sites. Only save the difference to default ones.<br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/default.playrate">default.playrate</a>&quot;: fullscreen playing menu. The file format is same as <a href="../links/index.html">default.link</a>. Playing ratio menu items should have empty link parts such as &quot;.5x:&quot;, at least one such menu is required. All other menus must be put after playing ratio menus.<br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/default.autoc">default.autoc</a>&quot;: address bar autocomplete candidate strings.<br>
&quot;query.autoc&quot;: home screen search autocomplete candidate strings.<br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/home5.html">home5.html</a>&quot;: user defined home screen. home6.html, home6.search, home7.html ... multiple home screen (pressing right arrow button to visit. &quot;.html&quot; files have priority over &quot;.search&quot; files. home4.html, home4.search, home3.html ... (long pressing left arrow button to access).<br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/home5.search">home5.search</a>&quot;:<a href="../searchurl/search.html">search engines</a><br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/home5.search">home5.search</a>&quot;:<a href="../search/index.html">search engines</a><br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/home.css">home.css</a>&quot;: <a href="../searchurl/homescreen.html">home screen styles</a><br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/bookmark.html">bookmark.html</a>&quot;: bookmarks<br>
&quot;<a href="file:///data/data/info.torinfo.uweb/files/quickstart.html">quickstart.html</a>&quot;: <a href="../searchurl/quickstart.html">quick start</a><br>

View file

@ -50,14 +50,14 @@
</ul>
<h4 id="to-run-commands">To run commands</h4>
<p>Each line of file &quot;<a href="file:///data/data/info.torinfo.uweb/files/default.longclick">default.longclick</a>&quot; has the following format: (same as <a href="../searchurl/cmds.html">default.cmds</a>)<br>
<p>Each line of file &quot;<a href="file:///data/data/info.torinfo.uweb/files/default.longclick">default.longclick</a>&quot; has the following format: (same as <a href="../cmds/index.html">default.cmds</a>)<br>
[Name]:[mimetype]:[command line]<br>
in which [command line] can have <a href="../searchurl/cmds.html">&quot;%c&quot; (cookie), &quot;%u&quot; (current url), &quot;%t&quot; (title)</a> etc.</p>
in which [command line] can have <a href="../cmds/index.html">&quot;%c&quot; (cookie), &quot;%u&quot; (current url), &quot;%t&quot; (title)</a> etc.</p>
<h4 id="to-visit-url-and-load-javascript-file">To visit url and load javascript file</h4>
<p>All &quot;.js&quot; files under the folder &quot;<a href="file:///data/data/info.torinfo.uweb/files/longclick/">longclick</a>&quot; are part of the popup menu.<br>
These javascript files are in the following format:</p>
<ul>
<li>The very first line can begin with &quot;//&quot; followed by website url that can have <a href="../searchurl/cmds.html">&quot;%u&quot; (current url), &quot;%t&quot; (title)</a> etc. included. In this case, the website is visited, then the javascript file is loaded on the new loaded site.</li>
<li>The very first line can begin with &quot;//&quot; followed by website url that can have <a href="../cmds/index.html">&quot;%u&quot; (current url), &quot;%t&quot; (title)</a> etc. included. In this case, the website is visited, then the javascript file is loaded on the new loaded site.</li>
<li>In the &quot;.js&quot; file, variable &quot;arguments&quot; can be used to get parameters. in which arguments[1] is the long-pressed link url, argument[2] is the text description and arguments[0] is the &quot;.js&quot; file name.</li>
</ul>

View file

@ -71,7 +71,7 @@ It formats as &quot;[input mimetype]/[output mimetype]&quot;.<br>
<li>&quot;&quot; (empty): text</li>
<li>&quot;.js&quot; file name under configuration folder. The js file is evaluated and its return value is passed to [command line] as standard input.</li>
</ul>
<p>[output mimetype] is same as the one defined in &quot;<a href="../searchurl/cmds.html">Commands</a>&quot;.</p>
<p>[output mimetype] is same as the one defined in &quot;<a href="../cmds/index.html">Commands</a>&quot;.</p>
<ul>
<li>regular mimetype such as &quot;text/html&quot;: output as the mimetype</li>
<li>&quot;uweb&quot;: output as a link</li>