mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
Advanced customization configuration to auto reload after changes
This commit is contained in:
parent
88c107828b
commit
08959823db
6 changed files with 16 additions and 12 deletions
|
@ -289,6 +289,10 @@ Similar to i:5i, except executing the js file after possible url hash change.</p
|
|||
Visiting [url], but use the second url as auto paging url.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>i:8l[filename]<br>
|
||||
Loading configuration [filename]. Ex. "i:8lconfig.html" to reload config.html.</p>
|
||||
</li>
|
||||
<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>
|
||||
|
@ -302,8 +306,8 @@ Bundle of internal urls, if it is an "i:0" url, then it should have th
|
|||
</ul>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 1 June 2023<br>
|
||||
enhance i:b1 with callback url<br>
|
||||
<p>Last Modified: 2 June 2023<br>
|
||||
make config.js to auto reload<br>
|
||||
<pre>i:56 urls support CTRL_A to CTRL-Z
|
||||
</pre>
|
||||
</p>
|
||||
|
|
|
@ -13,7 +13,7 @@ let sa = [`<head><meta charset="utf-8"><meta name="viewport" content="width=devi
|
|||
<option value="monospace">
|
||||
<option value="cursive">
|
||||
</datalist>
|
||||
<form onsubmit="let d=document;let f=d.forms[0];d.location.href='i:0i/data/data/info.torapp.uweb/files/config.html:'
|
||||
<form onsubmit="let d=document;let f=d.forms[0];d.location.href='i:b1Save config.html%0A%0Ai:8lconfig.html%0Ai:0i/data/data/info.torapp.uweb/files/config.html:'
|
||||
+f.redirecturl.value+
|
||||
'&'+ f.downloadpath.value+
|
||||
'&'+ f.font.value+
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>/en/_posts/</loc>
|
||||
<lastmod>2023-06-01T21:43:03+08:00</lastmod>
|
||||
<lastmod>2023-06-02T09:57:15+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -58,7 +58,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/</loc>
|
||||
<lastmod>2023-06-01T21:43:03+08:00</lastmod>
|
||||
<lastmod>2023-06-02T09:57:15+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -71,7 +71,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/links/</loc>
|
||||
<lastmod>2023-06-01T21:43:03+08:00</lastmod>
|
||||
<lastmod>2023-06-02T09:57:15+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
|
|
@ -4,14 +4,14 @@
|
|||
<sitemap>
|
||||
<loc>en/sitemap.xml</loc>
|
||||
|
||||
<lastmod>2023-06-01T21:43:03+08:00</lastmod>
|
||||
<lastmod>2023-06-02T09:57:15+08:00</lastmod>
|
||||
|
||||
</sitemap>
|
||||
|
||||
<sitemap>
|
||||
<loc>zh/sitemap.xml</loc>
|
||||
|
||||
<lastmod>2023-06-01T21:36:50+08:00</lastmod>
|
||||
<lastmod>2023-06-02T09:59:22+08:00</lastmod>
|
||||
|
||||
</sitemap>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>/zh/_posts/</loc>
|
||||
<lastmod>2023-06-01T21:36:50+08:00</lastmod>
|
||||
<lastmod>2023-06-02T09:59:22+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
|
@ -29,7 +29,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/zh/</loc>
|
||||
<lastmod>2023-06-01T21:36:50+08:00</lastmod>
|
||||
<lastmod>2023-06-02T09:59:22+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
|
@ -74,7 +74,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/zh/tips/</loc>
|
||||
<lastmod>2023-06-01T21:36:50+08:00</lastmod>
|
||||
<lastmod>2023-06-02T09:59:22+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
|
|
|
@ -98,7 +98,7 @@ UA为非默认时,点击PC按钮将恢复UA为默认,同时触发不保存UA
|
|||
</ul>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 1 June 2023<br>
|
||||
<p>Last Modified: 2 June 2023<br>
|
||||
enhance i:b1 with callback url<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
|
|
Loading…
Reference in a new issue