mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
Compare commits
2 commits
7e7871f764
...
a8700372f4
Author | SHA1 | Date | |
---|---|---|---|
|
a8700372f4 | ||
|
2d72f7825a |
11 changed files with 80 additions and 72 deletions
|
@ -59,7 +59,7 @@ Long pressing the bookmark button in uweb browser will popup menus defined in fi
|
|||
<pubDate>Mon, 20 Mar 2023 00:00:00 +0000</pubDate>
|
||||
|
||||
<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.
|
||||
<description>The enhanced hosts files &quot;hosts&quot; and &quot;default.hosts&quot; take effect with the setting option &quot;use hosts&quot;.
|
||||
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:
|
||||
|
@ -127,7 +127,7 @@ The command line could be a &quot;.js&quot;, &quot;.sh&quot; or
|
|||
|
||||
<guid>/en/url2site/</guid>
|
||||
<description>The uweb internal link &quot;i:0m&quot; make any url such as download or indirect link visitable as a website. The test mirrors in the uweb manual are examples using the following tricks:
|
||||
&quot;i:0m04:[url]&quot;: to treat the [url] content as html with bookmarklet. &quot;i:0mi:5h:[url]&quot;: to treat the [url] content as html (for download or no-script links etc.) &quot;i:0mi:5h?[postfix]::[url]&quot;: auto append query postfix to url to retrieve content. &quot;i:0mi:5h/[regex]/[replacement]::[url]&quot;: use the result of regular expression replacement to retrieve the content.</description>
|
||||
&quot;i:0m04:[url]&quot;: to treat the [url] content as html with bookmarklet. &quot;i:0m?:[url]&quot;: to treat the [url] content as html, handling css/js properly. &quot;i:0m?[postfix]:[url]&quot;: auto append query postfix to url to retrieve content. &quot;i:0mi:5h:[url]&quot;: similar to &quot;i:0m?:[url]&quot;, to treat the [url] content as html (for download or no-script links etc.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
<li><a href="../tags/adblock">adblock</a> </li>
|
||||
|
||||
</ul>
|
||||
<p>The enhanced hosts files "hosts" and "default.hosts" take effect when the setting option "using hosts" is checked.</p>
|
||||
<p>The enhanced hosts files "hosts" and "default.hosts" take effect with the setting option "use hosts".</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>
|
||||
|
@ -90,8 +90,8 @@ Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credential
|
|||
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: 13 April 2023<br>
|
||||
refine global redirection cookie support<br>
|
||||
<p>Last Modified: 13 May 2023<br>
|
||||
update bingAI/js/optionsSets.js<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
<script>
|
||||
|
|
|
@ -110,7 +110,7 @@ Clipboard2QR needs libqrencode.</p>
|
|||
|
||||
</div>
|
||||
<p>Last Modified: 12 May 2023<br>
|
||||
add simple modification info<br>
|
||||
fix en/cmds<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
<script>
|
||||
|
|
|
@ -59,7 +59,7 @@ Long pressing the bookmark button in uweb browser will popup menus defined in fi
|
|||
<pubDate>Mon, 20 Mar 2023 00:00:00 +0000</pubDate>
|
||||
|
||||
<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.
|
||||
<description>The enhanced hosts files &quot;hosts&quot; and &quot;default.hosts&quot; take effect with the setting option &quot;use hosts&quot;.
|
||||
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:
|
||||
|
@ -173,7 +173,7 @@ The command line could be a &quot;.js&quot;, &quot;.sh&quot; or
|
|||
|
||||
<guid>/en/url2site/</guid>
|
||||
<description>The uweb internal link &quot;i:0m&quot; make any url such as download or indirect link visitable as a website. The test mirrors in the uweb manual are examples using the following tricks:
|
||||
&quot;i:0m04:[url]&quot;: to treat the [url] content as html with bookmarklet. &quot;i:0mi:5h:[url]&quot;: to treat the [url] content as html (for download or no-script links etc.) &quot;i:0mi:5h?[postfix]::[url]&quot;: auto append query postfix to url to retrieve content. &quot;i:0mi:5h/[regex]/[replacement]::[url]&quot;: use the result of regular expression replacement to retrieve the content.</description>
|
||||
&quot;i:0m04:[url]&quot;: to treat the [url] content as html with bookmarklet. &quot;i:0m?:[url]&quot;: to treat the [url] content as html, handling css/js properly. &quot;i:0m?[postfix]:[url]&quot;: auto append query postfix to url to retrieve content. &quot;i:0mi:5h:[url]&quot;: similar to &quot;i:0m?:[url]&quot;, to treat the [url] content as html (for download or no-script links etc.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
|
|
@ -8,11 +8,13 @@ let chatTypes = {
|
|||
"responsible_ai_policy_235",
|
||||
"enablemm",
|
||||
"h3imaginative",
|
||||
"responseos",
|
||||
"cricketansgnd",
|
||||
"cachewriteext",
|
||||
"e2ecachewrite",
|
||||
"nodlcpcwrite",
|
||||
"travelansgnd",
|
||||
"nointernalsugg",
|
||||
"saharasugg",
|
||||
"enablenewsfc",
|
||||
"dv3sugg",
|
||||
"clgalileo",
|
||||
"gencontentv3"
|
||||
|
@ -25,33 +27,34 @@ let chatTypes = {
|
|||
"responsible_ai_policy_235",
|
||||
"enablemm",
|
||||
"galileo",
|
||||
"responseos",
|
||||
"cricketansgnd",
|
||||
"cachewriteext",
|
||||
"e2ecachewrite",
|
||||
"nodlcpcwrite",
|
||||
"travelansgnd",
|
||||
"dv3sugg"
|
||||
"nointernalsugg",
|
||||
"saharasugg",
|
||||
"enablenewsfc",
|
||||
"dv3sugg",
|
||||
"saharagenconv5"
|
||||
],
|
||||
//精准选项
|
||||
accurate: [
|
||||
"chk1cf",
|
||||
"nopreloadsscf",
|
||||
"winlongmsg2tf",
|
||||
"perfimpcomb",
|
||||
"sugdivdis",
|
||||
"sydnoinputt",
|
||||
"wpcssopt",
|
||||
"wintone2tf",
|
||||
"0404sydicnbs0",
|
||||
"405suggbs0",
|
||||
"scctl",
|
||||
"330uaugs0",
|
||||
"0329resp",
|
||||
"udscahrfon",
|
||||
"udstrblm5",
|
||||
"404e2ewrt",
|
||||
"408nodedups0",
|
||||
"403tvlansgnd"
|
||||
"nlu_direct_response_filter",
|
||||
"deepleo",
|
||||
"disable_emoji_spoken_text",
|
||||
"responsible_ai_policy_235",
|
||||
"enablemm",
|
||||
"h3precise",
|
||||
"cricketansgnd",
|
||||
"cachewriteext",
|
||||
"e2ecachewrite",
|
||||
"nodlcpcwrite",
|
||||
"nointernalsugg",
|
||||
"saharasugg",
|
||||
"enablenewsfc",
|
||||
"dv3sugg",
|
||||
"clgalileo",
|
||||
"gencontentv3"
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -60,11 +63,14 @@ let source = "cib";
|
|||
|
||||
//接收消息类型
|
||||
let allowedMessageTypes = [
|
||||
"ActionRequest",
|
||||
"Chat",
|
||||
"Context",
|
||||
"InternalSearchQuery",
|
||||
"InternalSearchResult",
|
||||
"Disengaged",
|
||||
"InternalLoaderMessage",
|
||||
"Progress",
|
||||
"RenderCardRequest",
|
||||
"AdsQuery",
|
||||
"SemanticSerp",
|
||||
|
@ -74,24 +80,24 @@ let allowedMessageTypes = [
|
|||
|
||||
//切片id,也不知道是啥意思,反正官网的更新了
|
||||
let sliceIds = [
|
||||
"chk1cf",
|
||||
"nopreloadsscf",
|
||||
"winlongmsg2tf",
|
||||
"perfimpcomb",
|
||||
"sugdivdis",
|
||||
"sydnoinputt",
|
||||
"wpcssopt",
|
||||
"wintone2tf",
|
||||
"0404sydicnbs0",
|
||||
"405suggbs0",
|
||||
"scctl",
|
||||
"330uaugs0",
|
||||
"0329resp",
|
||||
"udscahrfon",
|
||||
"udstrblm5",
|
||||
"404e2ewrt",
|
||||
"408nodedups0",
|
||||
"403tvlansgnd"
|
||||
"winmuid2tf",
|
||||
"sydconfigoptc",
|
||||
"forallv2nscpw",
|
||||
"allnopvt",
|
||||
"anssuptokenlist",
|
||||
"tempcacheread",
|
||||
"temptacache",
|
||||
"encjsreftf",
|
||||
"winlongmsgtf",
|
||||
"wrapnoins",
|
||||
"505iccric",
|
||||
"0430dv3s0",
|
||||
"505scsv5",
|
||||
"scprompt2",
|
||||
"508jbcar",
|
||||
"425bicb2",
|
||||
"406sportgnds0",
|
||||
"427startpm"
|
||||
]
|
||||
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>/en/_posts/</loc>
|
||||
<lastmod>2023-05-09T22:48:54+08:00</lastmod>
|
||||
<lastmod>2023-05-14T10:54:36+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -45,7 +45,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/</loc>
|
||||
<lastmod>2023-04-20T10:17:34+08:00</lastmod>
|
||||
<lastmod>2023-05-13T17:17:39+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -58,7 +58,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/</loc>
|
||||
<lastmod>2023-05-12T14:04:24+08:00</lastmod>
|
||||
<lastmod>2023-05-14T10:54:36+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -84,10 +84,10 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/adblock/</loc>
|
||||
<lastmod>2023-04-13T11:12:32+08:00</lastmod>
|
||||
<lastmod>2023-05-13T17:17:39+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/en/adblock_domain/</loc>
|
||||
<lastmod>2023-04-13T11:12:32+08:00</lastmod>
|
||||
<lastmod>2023-05-13T17:17:39+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -194,7 +194,7 @@
|
|||
<lastmod>2023-02-18T14:12:02+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/en/url2site/</loc>
|
||||
<lastmod>2023-03-29T07:19:36+08:00</lastmod>
|
||||
<lastmod>2023-05-14T10:54:36+08:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/en/html5/</loc>
|
||||
<lastmod>2023-02-20T21:49:16+08:00</lastmod>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<pubDate>Mon, 20 Mar 2023 00:00:00 +0000</pubDate>
|
||||
|
||||
<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.
|
||||
<description>The enhanced hosts files &quot;hosts&quot; and &quot;default.hosts&quot; take effect with the setting option &quot;use hosts&quot;.
|
||||
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:
|
||||
|
|
|
@ -45,16 +45,18 @@
|
|||
<p>The <a href="../index.html">uweb</a> internal link "<a href="../links/index.html">i:0m</a>" make any url such as download or indirect link visitable as a website. The test mirrors in the uweb manual are examples using the following tricks:</p>
|
||||
<ul>
|
||||
<li>"i:0m04:[url]": to treat the [url] content as html with bookmarklet.</li>
|
||||
<li>"i:0mi:5h:[url]": to treat the [url] content as html (for download or no-script links etc.)</li>
|
||||
<li>"i:0mi:5h?[postfix]::[url]": auto append query postfix to url to retrieve content.</li>
|
||||
<li>"i:0m?:[url]": to treat the [url] content as html, handling css/js properly.</li>
|
||||
<li>"i:0m?[postfix]:[url]": auto append query postfix to url to retrieve content.</li>
|
||||
<li>"i:0mi:5h:[url]": similar to "i:0m?:[url]", to treat the [url] content as html (for download or no-script links etc.)</li>
|
||||
<li>"i:0mi:5h?[postfix]::[url]": similar to "i:0m?[postfix]:[url]". auto append query postfix to url to retrieve content.</li>
|
||||
<li>"i:0mi:5h/[regex]/[replacement]::[url]": use the result of regular expression replacement to retrieve the content.</li>
|
||||
</ul>
|
||||
<p>For more complicated links such as cloud storage shared links, which need user gestures to reach temporary generated content link, use<br>
|
||||
"i:0m/.../[local.html]:[url]", where the local file "/.../[local.html]" processes "[url]" as needed.</p>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 29 March 2023<br>
|
||||
add bingAI url<br>
|
||||
<p>Last Modified: 14 May 2023<br>
|
||||
update bingAI/js/optionsSets.js<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
<script>
|
||||
|
|
|
@ -4,14 +4,14 @@
|
|||
<sitemap>
|
||||
<loc>en/sitemap.xml</loc>
|
||||
|
||||
<lastmod>2023-05-12T14:04:24+08:00</lastmod>
|
||||
<lastmod>2023-05-14T10:54:36+08:00</lastmod>
|
||||
|
||||
</sitemap>
|
||||
|
||||
<sitemap>
|
||||
<loc>zh/sitemap.xml</loc>
|
||||
|
||||
<lastmod>2023-05-09T22:58:32+08:00</lastmod>
|
||||
<lastmod>2023-05-13T20:07:47+08:00</lastmod>
|
||||
|
||||
</sitemap>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>/zh/_posts/</loc>
|
||||
<lastmod>2023-05-09T22:58:32+08:00</lastmod>
|
||||
<lastmod>2023-05-13T20:07:47+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
|
@ -29,7 +29,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/zh/</loc>
|
||||
<lastmod>2023-05-09T22:58:32+08:00</lastmod>
|
||||
<lastmod>2023-05-13T20:07:47+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
|
@ -74,7 +74,7 @@
|
|||
/>
|
||||
</url><url>
|
||||
<loc>/zh/tips/</loc>
|
||||
<lastmod>2023-05-09T22:58:32+08:00</lastmod>
|
||||
<lastmod>2023-05-13T20:07:47+08:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
|
|
|
@ -72,7 +72,7 @@ UA为非默认时,点击PC按钮将恢复UA为默认,同时触发不保存UA
|
|||
<p>方法1:</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p>点击一键安装<a href="i:b1Install bing chat UI%0A%0Ai:0hsitecache/www.bing.com/ai.html:../../en/searchurl/bingAI/bing.html%0AInstall bing compose UI%0A%0Ai:0hsitecache/www.bing.com/write.html:../../en/searchurl/bingAI/write.html%0AInstall bing Draw UI%0A%0Ai:0hsitecache/www.bing.com/draw.html:../../en/searchurl/bingAI/draw.html%0AConfig hosts%0A空格后为魔法域名,请按需修改%0Ai:0ghosts::www.bing.com;Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credentials;true mybing2.xn--xyza.top%0Ai:52:https://www.bing.com/ai.html%0Ai:52:https://www.bing.com/write.html%0Ai:52:https://www.bing.com/draw.html">必应AI</a></p>
|
||||
<p>点击一键安装<a href="i:b1Install bing chat UI%0A%0Ai:0hsitecache/www.bing.com/ai.html:../../en/searchurl/bingAI/bing.html%0AInstall bing compose UI%0A%0Ai:0hsitecache/www.bing.com/write.html:../../en/searchurl/bingAI/write.html%0AInstall bing Draw UI%0A%0Ai:0hsitecache/www.bing.com/draw.html:../../en/searchurl/bingAI/draw.html%0AConfig hosts%0A空格后为魔法域名,请按需修改%0Ai:0ghosts::www.bing.com;Access-Control-Allow-Origin;https://www.bing.com mybing2.xn--xyza.top%0a%0Ai:52:https://www.bing.com/ai.html%0Ai:52:https://www.bing.com/write.html%0Ai:52:https://www.bing.com/draw.html">必应AI</a></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>或者分步安装:<br>
|
||||
|
@ -83,7 +83,7 @@ UA为非默认时,点击PC按钮将恢复UA为默认,同时触发不保存UA
|
|||
<li>
|
||||
<p>使用: 勾选选项“使用离线缓存”, "使用hosts"<br>
|
||||
点击界面入口<br>
|
||||
可配置魔法url, 上述hosts文件作相应修改。 <a href="https://gitee.com/jja8/NewBingGoGo.wikis/blob/master/%E5%88%9B%E5%BB%BA%E9%AD%94%E6%B3%95%E9%93%BE%E6%8E%A5/%E4%BD%BF%E7%94%A8%E5%85%8D%E8%B4%B9%E7%9A%84%E7%9A%84%E4%BA%91%E6%9C%8D%E5%8A%A1%E6%8F%90%E4%BE%9B%E5%95%86%E5%88%9B%E5%BB%BA%E9%AD%94%E6%B3%95%E9%93%BE%E6%8E%A5.md">详情</a></p>
|
||||
可配置<a href="https://gitee.com/jja8/NewBingGoGo/issues/I6S6BH">魔法url</a>, 上述hosts文件作相应修改。 <a href="https://gitee.com/jja8/NewBingGoGo.wikis/blob/master/%E5%88%9B%E5%BB%BA%E9%AD%94%E6%B3%95%E9%93%BE%E6%8E%A5/%E4%BD%BF%E7%94%A8%E5%85%8D%E8%B4%B9%E7%9A%84%E7%9A%84%E4%BA%91%E6%9C%8D%E5%8A%A1%E6%8F%90%E4%BE%9B%E5%95%86%E5%88%9B%E5%BB%BA%E9%AD%94%E6%B3%95%E9%93%BE%E6%8E%A5.md">详情</a></p>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
@ -98,8 +98,8 @@ UA为非默认时,点击PC按钮将恢复UA为默认,同时触发不保存UA
|
|||
</ul>
|
||||
|
||||
</div>
|
||||
<p>Last Modified: 9 May 2023<br>
|
||||
fix bingAI draw<br>
|
||||
<p>Last Modified: 13 May 2023<br>
|
||||
update bingAI/js/optionsSets.js<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
<script>
|
||||
|
|
Loading…
Reference in a new issue