Compare commits

...

2 commits

Author SHA1 Message Date
James Feng Cao
840fca625b auto reload after configuration save 2023-06-02 10:44:29 +08:00
James Feng Cao
08959823db Advanced customization configuration to auto reload after changes 2023-06-02 10:07:46 +08:00
7 changed files with 17 additions and 13 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> Visiting [url], but use the second url as auto paging url.</p>
</li> </li>
<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> <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> 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> 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> </ul>
</div> </div>
<p>Last Modified: 1 June 2023<br> <p>Last Modified: 2 June 2023<br>
enhance i:b1 with callback url<br> make config.js to auto reload<br>
<pre>i:56 urls support CTRL_A to CTRL-Z <pre>i:56 urls support CTRL_A to CTRL-Z
</pre> </pre>
</p> </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="monospace">
<option value="cursive"> <option value="cursive">
</datalist> </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.redirecturl.value+
'&'+ f.downloadpath.value+ '&'+ f.downloadpath.value+
'&'+ f.font.value+ '&'+ f.font.value+

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml"> xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url> <url>
<loc>/en/_posts/</loc> <loc>/en/_posts/</loc>
<lastmod>2023-06-01T21:43:03+08:00</lastmod> <lastmod>2023-06-02T09:57:15+08:00</lastmod>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="zh" hreflang="zh"
@ -58,7 +58,7 @@
/> />
</url><url> </url><url>
<loc>/en/</loc> <loc>/en/</loc>
<lastmod>2023-06-01T21:43:03+08:00</lastmod> <lastmod>2023-06-02T09:57:15+08:00</lastmod>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="zh" hreflang="zh"
@ -71,7 +71,7 @@
/> />
</url><url> </url><url>
<loc>/en/links/</loc> <loc>/en/links/</loc>
<lastmod>2023-06-01T21:43:03+08:00</lastmod> <lastmod>2023-06-02T09:57:15+08:00</lastmod>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="zh" hreflang="zh"

View file

@ -4,14 +4,14 @@
<sitemap> <sitemap>
<loc>en/sitemap.xml</loc> <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>
<sitemap> <sitemap>
<loc>zh/sitemap.xml</loc> <loc>zh/sitemap.xml</loc>
<lastmod>2023-06-01T21:36:50+08:00</lastmod> <lastmod>2023-06-02T09:59:22+08:00</lastmod>
</sitemap> </sitemap>

View file

@ -13,7 +13,7 @@ let sa = [`<head><meta charset="utf-8"><meta name="viewport" content="width=devi
<option value="monospace"> <option value="monospace">
<option value="cursive"> <option value="cursive">
</datalist> </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:b1保存配置%0A%0Ai:8lconfig.html%0Ai:0i/data/data/info.torapp.uweb/files/config.html:'
+f.redirecturl.value+ +f.redirecturl.value+
'&'+ f.downloadpath.value+ '&'+ f.downloadpath.value+
'&'+ f.font.value+ '&'+ f.font.value+

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml"> xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url> <url>
<loc>/zh/_posts/</loc> <loc>/zh/_posts/</loc>
<lastmod>2023-06-01T21:36:50+08:00</lastmod> <lastmod>2023-06-02T09:59:22+08:00</lastmod>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="en" hreflang="en"
@ -29,7 +29,7 @@
/> />
</url><url> </url><url>
<loc>/zh/</loc> <loc>/zh/</loc>
<lastmod>2023-06-01T21:36:50+08:00</lastmod> <lastmod>2023-06-02T09:59:22+08:00</lastmod>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="en" hreflang="en"
@ -74,7 +74,7 @@
/> />
</url><url> </url><url>
<loc>/zh/tips/</loc> <loc>/zh/tips/</loc>
<lastmod>2023-06-01T21:36:50+08:00</lastmod> <lastmod>2023-06-02T09:59:22+08:00</lastmod>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="en" hreflang="en"

View file

@ -98,7 +98,7 @@ UA为非默认时点击PC按钮将恢复UA为默认同时触发不保存UA
</ul> </ul>
</div> </div>
<p>Last Modified: 1 June 2023<br> <p>Last Modified: 2 June 2023<br>
enhance i:b1 with callback url<br> enhance i:b1 with callback url<br>
<pre></pre> <pre></pre>
</p> </p>