Advanced customization configuration to auto reload after changes

This commit is contained in:
James Feng Cao 2023-06-02 10:07:46 +08:00
parent 88c107828b
commit 08959823db
6 changed files with 16 additions and 12 deletions

View File

@ -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. &quot;i:8lconfig.html&quot; to reload config.html.</p>
</li>
<li>
<p>i:92[http request headers separated by ';']:[url]<br>
The &quot;Host&quot; 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 &quot;i:0&quot; 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>

View File

@ -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+

View File

@ -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"

View File

@ -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>

View File

@ -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"

View File

@ -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>