mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
simplify bingAI installation
This commit is contained in:
parent
a7caf970e6
commit
ed25fd1dd7
15 changed files with 43 additions and 44 deletions
|
@ -14,9 +14,8 @@
|
|||
<guid>/en/redirect/</guid>
|
||||
<description>Global redirection Global redirection is enabled with the setting option &quot;Resource redirection&quot;.
|
||||
When a valid global redirection url is set, the &quot;default.redirect&quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.
|
||||
&quot;default.redirect&quot; (valid only without global redirection url) Click the following links to append mirrors to the file &quot;default.redirect&quot;:
|
||||
google recaptcha mirror
|
||||
Each line of the file &quot;default.</description>
|
||||
Global redirection redirects cookies with the setting option &quot;Hide certificate errors&quot;, so use the option with care.
|
||||
&quot;default.redirect&quot; (valid only without global redirection url) Click the following links to append mirrors to the file &quot;default.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
@ -27,8 +26,7 @@ Each line of the file &quot;default.</description>
|
|||
<guid>/en/offlinecache/</guid>
|
||||
<description>Offline resources locate in the folder &quot;sitecache&quot;. With the option &quot;use offline resources&quot; enabled, the corresponding files in &quot;sitecache/[domain name]/[full path including filename, the url path part]&quot; are loaded first before reaching the network.
|
||||
bingChat UI Install bingChat UI ai.html for censored area (bingChat UI)
|
||||
The default proxy &quot;mybing2.xn--xyza.top&quot; needs &quot;bing.com&quot; cookies to establish chat. So copy the cookie before accessing the above UI.
|
||||
Click to install link menu to copy &quot;bing.</description>
|
||||
Serverless local sites Click to install url service that extracts web apps to the folder &quot;sitecache/local/&quot;: support web extensions (.crx for chrome &amp; .xpi for firefox).</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
@ -60,7 +58,7 @@ Long pressing the bookmark button in uweb browser will popup menus defined in fi
|
|||
|
||||
<guid>/en/adblock_domain/</guid>
|
||||
<description>The enhanced hosts files &quot;hosts&quot; and &quot;default.hosts&quot; take effect when the setting option &quot;using hosts&quot; is checked.
|
||||
The enhanced file &quot;hosts&quot; defines IP addresses/attributes for domains. Each line has the following format:
|
||||
hosts The enhanced file &quot;hosts&quot; defines IP addresses/attributes for domains. Each line has the following format:
|
||||
[[IP address][attributes]][single space][domain name]
|
||||
where &quot;[[IP address][attributes]]&quot; could be:
|
||||
ipv4 address such as:
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
|
||||
</ul>
|
||||
<p>The enhanced hosts files "hosts" and "default.hosts" take effect when the setting option "using hosts" is checked.</p>
|
||||
<h4 id="hosts">hosts</h4>
|
||||
<p>The <span style="color:red">enhanced</span> file <a href="file:///data/data/info.torapp.uweb/files/hosts">"hosts"</a> defines IP addresses/attributes for domains. Each line has the following format:<br>
|
||||
[[IP address][attributes]][single space][domain name]</p>
|
||||
<p>where "[[IP address][attributes]]" could be:</p>
|
||||
|
@ -76,15 +77,22 @@ Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credential
|
|||
<p>IP address and response headers, separeded by ';', Ex.:<br>
|
||||
104.21.8.195;Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credentials;true uweb.torapp.eu.org</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>IP address, real domain name and response headers (Experimental), separeded by ';', Ex.:<br>
|
||||
104.21.8.195;www.bing.com uweb.torapp.eu.org</p>
|
||||
<p>which indicates the domain "uweb.torapp.eu.org" is just a proxy of "www.bing.com", and as such, the cookies of "www.bing.com" would be used for "uweb.torapp.eu.org".</p>
|
||||
<p>To make life easier, use lower-case domain name (the first letter should not be a digital) and capitalize the first letter of response header names.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 id="defaulthosts">default.hosts</h4>
|
||||
<p><a href="file:///data/data/info.torapp.uweb/files/default.hosts">"default.hosts"</a> blocks whole domain trees including all descendant domains. The domains in the hosts file must be 2 or 3 segment domains, such as "yahoo.com" and "finance.yahoo.com". If the length of the last 2 segments is less than 7, such as "com.pl", then it is treated as one segment, so domains like "xxx.xxx.com.pl" are also valid in the hosts file.</p>
|
||||
<p>Each line of the hosts file has the following format:<br>
|
||||
[rootDomain][space][regex for domain prefix before rootDomain][space][regex for the whole url without "http(s)://"]<br>
|
||||
The first part [rootDomain] is required and the others are optional. regex is java-grammar regular expression. If the second regex is used, it is recommended to merge the first regex to the second one for performance.</p>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 8 April 2023<br>
|
||||
add cloudflare/bing.js<br>
|
||||
<p>Last Modified: 13 April 2023<br>
|
||||
simplify bingAI installation<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
|
||||
|
|
10
en/index.xml
10
en/index.xml
|
@ -14,9 +14,8 @@
|
|||
<guid>/en/redirect/</guid>
|
||||
<description>Global redirection Global redirection is enabled with the setting option &quot;Resource redirection&quot;.
|
||||
When a valid global redirection url is set, the &quot;default.redirect&quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.
|
||||
&quot;default.redirect&quot; (valid only without global redirection url) Click the following links to append mirrors to the file &quot;default.redirect&quot;:
|
||||
google recaptcha mirror
|
||||
Each line of the file &quot;default.</description>
|
||||
Global redirection redirects cookies with the setting option &quot;Hide certificate errors&quot;, so use the option with care.
|
||||
&quot;default.redirect&quot; (valid only without global redirection url) Click the following links to append mirrors to the file &quot;default.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
@ -27,8 +26,7 @@ Each line of the file &quot;default.</description>
|
|||
<guid>/en/offlinecache/</guid>
|
||||
<description>Offline resources locate in the folder &quot;sitecache&quot;. With the option &quot;use offline resources&quot; enabled, the corresponding files in &quot;sitecache/[domain name]/[full path including filename, the url path part]&quot; are loaded first before reaching the network.
|
||||
bingChat UI Install bingChat UI ai.html for censored area (bingChat UI)
|
||||
The default proxy &quot;mybing2.xn--xyza.top&quot; needs &quot;bing.com&quot; cookies to establish chat. So copy the cookie before accessing the above UI.
|
||||
Click to install link menu to copy &quot;bing.</description>
|
||||
Serverless local sites Click to install url service that extracts web apps to the folder &quot;sitecache/local/&quot;: support web extensions (.crx for chrome &amp; .xpi for firefox).</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
@ -60,7 +58,7 @@ Long pressing the bookmark button in uweb browser will popup menus defined in fi
|
|||
|
||||
<guid>/en/adblock_domain/</guid>
|
||||
<description>The enhanced hosts files &quot;hosts&quot; and &quot;default.hosts&quot; take effect when the setting option &quot;using hosts&quot; is checked.
|
||||
The enhanced file &quot;hosts&quot; defines IP addresses/attributes for domains. Each line has the following format:
|
||||
hosts The enhanced file &quot;hosts&quot; defines IP addresses/attributes for domains. Each line has the following format:
|
||||
[[IP address][attributes]][single space][domain name]
|
||||
where &quot;[[IP address][attributes]]&quot; could be:
|
||||
ipv4 address such as:
|
||||
|
|
|
@ -50,8 +50,6 @@
|
|||
<p>Offline resources locate in the folder "sitecache". With the option "use offline resources" enabled, the corresponding files in "sitecache/[domain name]/[full path including filename, the url path part]" are loaded first before reaching the network.</p>
|
||||
<h4 id="bingchat-ui">bingChat UI</h4>
|
||||
<p><a href="i:0hsitecache/www.bing.com/ai.html:https://gitee.com/jamesfengcao/uweb/raw/master/en/searchurl/bingAI/bing.html">Install bingChat UI ai.html for censored area</a> (<a href="https://www.bing.com/ai.html">bingChat UI</a>)</p>
|
||||
<p>The default proxy "mybing2.xn--xyza.top" needs "bing.com" cookies to establish chat. So copy the cookie before accessing the above UI.<br>
|
||||
<a href="i:0gdefault.link::cookiecopy_bing::0cchttps://www.bing.com:https://mybing2.xn--xyza.top%0A">Click to install link menu to copy "bing.com" cookies to "mybing2.xn--xyza.top"</a></p>
|
||||
<h4 id="serverless-local-sites">Serverless local sites</h4>
|
||||
<p><a href="i:01Extract webapp:i:0bsitecache/local/:">Click to install url service that extracts web apps to the folder "sitecache/local/"</a>: support web extensions (.crx for chrome & .xpi for firefox).</p>
|
||||
<p>Any folder under "sitecache" can be visited as a local site. Urls with search queries can be dynamically processed by the js/wasm code in the local file.</p>
|
||||
|
@ -66,8 +64,8 @@
|
|||
</div>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 1 April 2023<br>
|
||||
add bingAI UI<br>
|
||||
<p>Last Modified: 13 April 2023<br>
|
||||
simplify bingAI installation<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
<h4 id="global-redirection">Global redirection</h4>
|
||||
<p><a href="i:60/data/data/info.torapp.uweb/files/config.html:https://jamesfengcao.codeberg.page/en/searchurl/config.html">Global redirection</a> is enabled with the setting option "Resource redirection".</p>
|
||||
<p>When a valid global redirection url is set, the "default.redirect" has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</p>
|
||||
<p><span style="color:red">Global redirection redirects cookies with the setting option "Hide certificate errors"</span>, so use the option with care.</p>
|
||||
<h4 id="defaultredirect-valid-only-without-global-redirection-url">"default.redirect" (valid only without global redirection url)</h4>
|
||||
<p>Click the following links to append mirrors to the file "default.redirect":<br>
|
||||
<a target="_self" href="i:0gdefault.redirect:../../zh/searchurl/txt/redirect.cfg">google recaptcha mirror</a></p>
|
||||
|
@ -67,7 +68,7 @@
|
|||
|
||||
</div>
|
||||
<p>Last Modified: 12 April 2023<br>
|
||||
global redirection support in config.js<br>
|
||||
refine global redirection cookie support<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
let labels = ["Global redirect url","Default font","Cursive","Fantasy","Fixed","Sans-Serif","Serif"];
|
||||
let labels = ["<a href='https://jamesfengcao.codeberg.page/en/redirect/index.html'>Global redirect url</a>","Default font","Cursive","Fantasy","Fixed","Sans-Serif","Serif"];
|
||||
let names = ["redirecturl","font","cursive","fantasy","fixed","sansserif","serif"];
|
||||
|
||||
let d=document;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>/en/_posts/</loc>
|
||||
<lastmod>2023-04-12T08:29:32+08:00</lastmod>
|
||||
<lastmod>2023-04-13T11:12:32+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -16,10 +16,10 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/redirection/</loc>
|
||||
<lastmod>2023-04-12T08:29:32+08:00</lastmod>
|
||||
<lastmod>2023-04-12T23:33:09+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/en/redirect/</loc>
|
||||
<lastmod>2023-04-12T08:29:32+08:00</lastmod>
|
||||
<lastmod>2023-04-12T23:33:09+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -32,7 +32,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/</loc>
|
||||
<lastmod>2023-04-12T08:29:32+08:00</lastmod>
|
||||
<lastmod>2023-04-13T11:12:32+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -45,7 +45,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/</loc>
|
||||
<lastmod>2023-04-12T08:29:32+08:00</lastmod>
|
||||
<lastmod>2023-04-13T11:12:32+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -58,7 +58,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/offlinecache/</loc>
|
||||
<lastmod>2023-04-01T21:06:06+08:00</lastmod>
|
||||
<lastmod>2023-04-13T11:00:50+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -84,10 +84,10 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/adblock/</loc>
|
||||
<lastmod>2023-04-08T17:53:21+08:00</lastmod>
|
||||
<lastmod>2023-04-13T11:12:32+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/en/adblock_domain/</loc>
|
||||
<lastmod>2023-04-08T17:53:21+08:00</lastmod>
|
||||
<lastmod>2023-04-13T11:12:32+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
<guid>/en/adblock_domain/</guid>
|
||||
<description>The enhanced hosts files &quot;hosts&quot; and &quot;default.hosts&quot; take effect when the setting option &quot;using hosts&quot; is checked.
|
||||
The enhanced file &quot;hosts&quot; defines IP addresses/attributes for domains. Each line has the following format:
|
||||
hosts The enhanced file &quot;hosts&quot; defines IP addresses/attributes for domains. Each line has the following format:
|
||||
[[IP address][attributes]][single space][domain name]
|
||||
where &quot;[[IP address][attributes]]&quot; could be:
|
||||
ipv4 address such as:
|
||||
|
|
|
@ -14,9 +14,8 @@
|
|||
<guid>/en/redirect/</guid>
|
||||
<description>Global redirection Global redirection is enabled with the setting option &quot;Resource redirection&quot;.
|
||||
When a valid global redirection url is set, the &quot;default.redirect&quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.
|
||||
&quot;default.redirect&quot; (valid only without global redirection url) Click the following links to append mirrors to the file &quot;default.redirect&quot;:
|
||||
google recaptcha mirror
|
||||
Each line of the file &quot;default.</description>
|
||||
Global redirection redirects cookies with the setting option &quot;Hide certificate errors&quot;, so use the option with care.
|
||||
&quot;default.redirect&quot; (valid only without global redirection url) Click the following links to append mirrors to the file &quot;default.</description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue