use relative path template for backup.html

This commit is contained in:
James Feng Cao 2022-11-25 13:25:29 +08:00
parent 68014621bb
commit b0aaa72b31
11 changed files with 11 additions and 44 deletions

View File

@ -79,7 +79,7 @@ It formats as &quot;[input mimetype]/[output mimetype]&quot;.<br>
</ul>
<p><a target="_self" href="i:0hcheck.js:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/check.js">checked.js</a>: Evaluate checked.js and return value as standard input for the command line. For any file url ending with &quot;/&quot;, optionally append &quot;?[prefix][<em>[postfix]]&quot;. For example, &quot;file:///sdcard/?</em>.png&quot; lists all .png files under the folder &quot;/sdcard&quot;. Select files and process them with checked.js(such as &quot;copy to PC&quot; as the later example).</p>
<p>default.select sample file:<br>
copy2addressbar:uweb:printf i:15;cat<br>
copy2addressbar:/uweb:printf i:15;cat<br>
copy2PCClipboard::ssh [user:password]@192.168.2.102 &quot;DISPLAY=:0 xsel -i&quot;<br>
richtext2PCClipboard:html:ssh [user:password]@192.168.2.102 &quot;DISPLAY=:0 xsel -i&quot;<br>
copyFiles:checked.js:while read fname;do scp $fname [user:password]@192.168.2.102:Downloads/.; done</p>

View File

@ -1,10 +1 @@
<!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>
<meta http-equiv="refresh" content="0; url=en/index.html">

View File

@ -275,10 +275,7 @@ html/text/html: 选中富文本为html格式, 输出mimetype为text/html。
/termux: 命令运行结果将作为termux下命令运行。
checked.js: 运行配置目录下checked.js其返回值作为命令行标准输入。对任何目录型(以“/”结尾)文件url后面可附&amp;quot;?[文件前缀][[文件后缀]]&amp;quot;。譬如&amp;quot;file:///sdcard/?.png&amp;quot;会列举出&amp;quot;/sdcard&amp;quot;目录下所有.png文件。此时选择选定文件则可利用checked.js复制文件至PC。(参看下面具体配置)
配置default.select如下
复制文本到地址栏:uweb:printf i:15;cat
笔记::(cat;echo;echo;)&amp;gt;&amp;gt;notes.txt
富文本笔记:html:(cat;echo &#39;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&#39;;echo;)&amp;gt;&amp;gt;notes.html
命名笔记::(cat;echo;echo;)&amp;gt;&amp;gt;%s
复制文本到地址栏:/uweb:printf i:15;cat
复制至PC剪贴板::ssh [user:password]@192.168.2.102 &amp;quot;DISPLAY=:0 xsel -i&amp;quot;
复制富文本至PC剪贴板:html:ssh [user:password]@192.168.2.102 &amp;quot;DISPLAY=:0 xsel -i&amp;quot;
复制文件至PC:checked.js:while read fname;do scp $fname [user:password]@192.168.2.102:Downloads/.; done

View File

@ -487,10 +487,7 @@ html/text/html: 选中富文本为html格式, 输出mimetype为text/html。
/termux: 命令运行结果将作为termux下命令运行。
checked.js: 运行配置目录下checked.js其返回值作为命令行标准输入。对任何目录型(以“/”结尾)文件url后面可附&amp;quot;?[文件前缀][[文件后缀]]&amp;quot;。譬如&amp;quot;file:///sdcard/?.png&amp;quot;会列举出&amp;quot;/sdcard&amp;quot;目录下所有.png文件。此时选择选定文件则可利用checked.js复制文件至PC。(参看下面具体配置)
配置default.select如下
复制文本到地址栏:uweb:printf i:15;cat
笔记::(cat;echo;echo;)&amp;gt;&amp;gt;notes.txt
富文本笔记:html:(cat;echo &#39;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&#39;;echo;)&amp;gt;&amp;gt;notes.html
命名笔记::(cat;echo;echo;)&amp;gt;&amp;gt;%s
复制文本到地址栏:/uweb:printf i:15;cat
复制至PC剪贴板::ssh [user:password]@192.168.2.102 &amp;quot;DISPLAY=:0 xsel -i&amp;quot;
复制富文本至PC剪贴板:html:ssh [user:password]@192.168.2.102 &amp;quot;DISPLAY=:0 xsel -i&amp;quot;
复制文件至PC:checked.js:while read fname;do scp $fname [user:password]@192.168.2.102:Downloads/.; done

View File

@ -78,10 +78,7 @@ html/text/html: 选中富文本为html格式, 输出mimetype为text/html。<br>
/termux: 命令运行结果将作为termux下命令运行。<br>
<a target="_self" href="i:0hcheck.js:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/check.js">checked.js</a>: 运行配置目录下checked.js其返回值作为命令行标准输入。对任何目录型(以“/”结尾)文件url后面可附&quot;?[文件前缀][<em>[文件后缀]]&quot;。譬如&quot;file:///sdcard/?</em>.png&quot;会列举出&quot;/sdcard&quot;目录下所有.png文件。此时选择选定文件则可利用checked.js复制文件至PC。(参看下面具体配置)</p>
<p>配置default.select如下<br>
复制文本到地址栏:uweb:printf i:15;cat<br>
笔记::(cat;echo;echo;)&gt;&gt;notes.txt<br>
富文本笔记:html:(cat;echo '&lt;p&gt;&lt;/p&gt;';echo;)&gt;&gt;notes.html<br>
命名笔记::(cat;echo;echo;)&gt;&gt;%s<br>
复制文本到地址栏:/uweb:printf i:15;cat<br>
复制至PC剪贴板::ssh [user:password]@192.168.2.102 &quot;DISPLAY=:0 xsel -i&quot;<br>
复制富文本至PC剪贴板:html:ssh [user:password]@192.168.2.102 &quot;DISPLAY=:0 xsel -i&quot;<br>
复制文件至PC:checked.js:while read fname;do scp $fname [user:password]@192.168.2.102:Downloads/.; done</p>

View File

@ -2,7 +2,7 @@
<script>function g(){
let d=document;
let f=d.forms[0];
window.open("f:"+f.i.value+"::"+f.e.value+"&"+f.u.value+":https://fastly.jsdelivr.net/gh/torappinfo/uweb/searchurl/template/backup.html");
window.open("f:"+f.i.value+"::"+f.e.value+"&"+f.u.value+":template/backup.html");
return false;
}
</script><style>

View File

@ -33,10 +33,7 @@ html/text/html: 选中富文本为html格式, 输出mimetype为text/html。
/termux: 命令运行结果将作为termux下命令运行。
checked.js: 运行配置目录下checked.js其返回值作为命令行标准输入。对任何目录型(以“/”结尾)文件url后面可附&amp;quot;?[文件前缀][[文件后缀]]&amp;quot;。譬如&amp;quot;file:///sdcard/?.png&amp;quot;会列举出&amp;quot;/sdcard&amp;quot;目录下所有.png文件。此时选择选定文件则可利用checked.js复制文件至PC。(参看下面具体配置)
配置default.select如下
复制文本到地址栏:uweb:printf i:15;cat
笔记::(cat;echo;echo;)&amp;gt;&amp;gt;notes.txt
富文本笔记:html:(cat;echo &#39;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&#39;;echo;)&amp;gt;&amp;gt;notes.html
命名笔记::(cat;echo;echo;)&amp;gt;&amp;gt;%s
复制文本到地址栏:/uweb:printf i:15;cat
复制至PC剪贴板::ssh [user:password]@192.168.2.102 &amp;quot;DISPLAY=:0 xsel -i&amp;quot;
复制富文本至PC剪贴板:html:ssh [user:password]@192.168.2.102 &amp;quot;DISPLAY=:0 xsel -i&amp;quot;
复制文件至PC:checked.js:while read fname;do scp $fname [user:password]@192.168.2.102:Downloads/.; done

View File

@ -33,10 +33,7 @@ html/text/html: 选中富文本为html格式, 输出mimetype为text/html。
/termux: 命令运行结果将作为termux下命令运行。
checked.js: 运行配置目录下checked.js其返回值作为命令行标准输入。对任何目录型(以“/”结尾)文件url后面可附&amp;quot;?[文件前缀][[文件后缀]]&amp;quot;。譬如&amp;quot;file:///sdcard/?.png&amp;quot;会列举出&amp;quot;/sdcard&amp;quot;目录下所有.png文件。此时选择选定文件则可利用checked.js复制文件至PC。(参看下面具体配置)
配置default.select如下
复制文本到地址栏:uweb:printf i:15;cat
笔记::(cat;echo;echo;)&amp;gt;&amp;gt;notes.txt
富文本笔记:html:(cat;echo &#39;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&#39;;echo;)&amp;gt;&amp;gt;notes.html
命名笔记::(cat;echo;echo;)&amp;gt;&amp;gt;%s
复制文本到地址栏:/uweb:printf i:15;cat
复制至PC剪贴板::ssh [user:password]@192.168.2.102 &amp;quot;DISPLAY=:0 xsel -i&amp;quot;
复制富文本至PC剪贴板:html:ssh [user:password]@192.168.2.102 &amp;quot;DISPLAY=:0 xsel -i&amp;quot;
复制文件至PC:checked.js:while read fname;do scp $fname [user:password]@192.168.2.102:Downloads/.; done

View File

@ -33,10 +33,7 @@ html/text/html: 选中富文本为html格式, 输出mimetype为text/html。
/termux: 命令运行结果将作为termux下命令运行。
checked.js: 运行配置目录下checked.js其返回值作为命令行标准输入。对任何目录型(以“/”结尾)文件url后面可附&amp;quot;?[文件前缀][[文件后缀]]&amp;quot;。譬如&amp;quot;file:///sdcard/?.png&amp;quot;会列举出&amp;quot;/sdcard&amp;quot;目录下所有.png文件。此时选择选定文件则可利用checked.js复制文件至PC。(参看下面具体配置)
配置default.select如下
复制文本到地址栏:uweb:printf i:15;cat
笔记::(cat;echo;echo;)&amp;gt;&amp;gt;notes.txt
富文本笔记:html:(cat;echo &#39;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&#39;;echo;)&amp;gt;&amp;gt;notes.html
命名笔记::(cat;echo;echo;)&amp;gt;&amp;gt;%s
复制文本到地址栏:/uweb:printf i:15;cat
复制至PC剪贴板::ssh [user:password]@192.168.2.102 &amp;quot;DISPLAY=:0 xsel -i&amp;quot;
复制富文本至PC剪贴板:html:ssh [user:password]@192.168.2.102 &amp;quot;DISPLAY=:0 xsel -i&amp;quot;
复制文件至PC:checked.js:while read fname;do scp $fname [user:password]@192.168.2.102:Downloads/.; done

View File

@ -33,10 +33,7 @@ html/text/html: 选中富文本为html格式, 输出mimetype为text/html。
/termux: 命令运行结果将作为termux下命令运行。
checked.js: 运行配置目录下checked.js其返回值作为命令行标准输入。对任何目录型(以“/”结尾)文件url后面可附&amp;quot;?[文件前缀][[文件后缀]]&amp;quot;。譬如&amp;quot;file:///sdcard/?.png&amp;quot;会列举出&amp;quot;/sdcard&amp;quot;目录下所有.png文件。此时选择选定文件则可利用checked.js复制文件至PC。(参看下面具体配置)
配置default.select如下
复制文本到地址栏:uweb:printf i:15;cat
笔记::(cat;echo;echo;)&amp;gt;&amp;gt;notes.txt
富文本笔记:html:(cat;echo &#39;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&#39;;echo;)&amp;gt;&amp;gt;notes.html
命名笔记::(cat;echo;echo;)&amp;gt;&amp;gt;%s
复制文本到地址栏:/uweb:printf i:15;cat
复制至PC剪贴板::ssh [user:password]@192.168.2.102 &amp;quot;DISPLAY=:0 xsel -i&amp;quot;
复制富文本至PC剪贴板:html:ssh [user:password]@192.168.2.102 &amp;quot;DISPLAY=:0 xsel -i&amp;quot;
复制文件至PC:checked.js:while read fname;do scp $fname [user:password]@192.168.2.102:Downloads/.; done

View File

@ -33,10 +33,7 @@ html/text/html: 选中富文本为html格式, 输出mimetype为text/html。
/termux: 命令运行结果将作为termux下命令运行。
checked.js: 运行配置目录下checked.js其返回值作为命令行标准输入。对任何目录型(以“/”结尾)文件url后面可附&amp;quot;?[文件前缀][[文件后缀]]&amp;quot;。譬如&amp;quot;file:///sdcard/?.png&amp;quot;会列举出&amp;quot;/sdcard&amp;quot;目录下所有.png文件。此时选择选定文件则可利用checked.js复制文件至PC。(参看下面具体配置)
配置default.select如下
复制文本到地址栏:uweb:printf i:15;cat
笔记::(cat;echo;echo;)&amp;gt;&amp;gt;notes.txt
富文本笔记:html:(cat;echo &#39;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&#39;;echo;)&amp;gt;&amp;gt;notes.html
命名笔记::(cat;echo;echo;)&amp;gt;&amp;gt;%s
复制文本到地址栏:/uweb:printf i:15;cat
复制至PC剪贴板::ssh [user:password]@192.168.2.102 &amp;quot;DISPLAY=:0 xsel -i&amp;quot;
复制富文本至PC剪贴板:html:ssh [user:password]@192.168.2.102 &amp;quot;DISPLAY=:0 xsel -i&amp;quot;
复制文件至PC:checked.js:while read fname;do scp $fname [user:password]@192.168.2.102:Downloads/.; done