Compare commits

...

2 commits

Author SHA1 Message Date
James Feng Cao
a8700372f4 update bingAI api 2023-05-19 15:09:14 +08:00
James Feng Cao
2d72f7825a add link to magic urls 2023-05-13 20:12:55 +08:00
11 changed files with 80 additions and 72 deletions

View file

@ -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 &amp;quot;hosts&amp;quot; and &amp;quot;default.hosts&amp;quot; take effect when the setting option &amp;quot;using hosts&amp;quot; is checked.
<description>The enhanced hosts files &amp;quot;hosts&amp;quot; and &amp;quot;default.hosts&amp;quot; take effect with the setting option &amp;quot;use hosts&amp;quot;.
hosts The enhanced file &amp;quot;hosts&amp;quot; defines IP addresses/attributes for domains. Each line has the following format:
[[IP address][attributes]][single space][domain name]
where &amp;quot;[[IP address][attributes]]&amp;quot; could be:
@ -127,7 +127,7 @@ The command line could be a &amp;quot;.js&amp;quot;, &amp;quot;.sh&amp;quot; or
<guid>/en/url2site/</guid>
<description>The uweb internal link &amp;quot;i:0m&amp;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:
&amp;quot;i:0m04:[url]&amp;quot;: to treat the [url] content as html with bookmarklet. &amp;quot;i:0mi:5h:[url]&amp;quot;: to treat the [url] content as html (for download or no-script links etc.) &amp;quot;i:0mi:5h?[postfix]::[url]&amp;quot;: auto append query postfix to url to retrieve content. &amp;quot;i:0mi:5h/[regex]/[replacement]::[url]&amp;quot;: use the result of regular expression replacement to retrieve the content.</description>
&amp;quot;i:0m04:[url]&amp;quot;: to treat the [url] content as html with bookmarklet. &amp;quot;i:0m?:[url]&amp;quot;: to treat the [url] content as html, handling css/js properly. &amp;quot;i:0m?[postfix]:[url]&amp;quot;: auto append query postfix to url to retrieve content. &amp;quot;i:0mi:5h:[url]&amp;quot;: similar to &amp;quot;i:0m?:[url]&amp;quot;, to treat the [url] content as html (for download or no-script links etc.</description>
</item>
<item>

View file

@ -48,7 +48,7 @@
<li><a href="../tags/adblock">adblock</a> </li>
</ul>
<p>The enhanced hosts files &quot;hosts&quot; and &quot;default.hosts&quot; take effect when the setting option &quot;using hosts&quot; is checked.</p>
<p>The enhanced hosts files &quot;hosts&quot; and &quot;default.hosts&quot; take effect with the setting option &quot;use hosts&quot;.</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">&quot;hosts&quot;</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>

View file

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

View file

@ -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 &amp;quot;hosts&amp;quot; and &amp;quot;default.hosts&amp;quot; take effect when the setting option &amp;quot;using hosts&amp;quot; is checked.
<description>The enhanced hosts files &amp;quot;hosts&amp;quot; and &amp;quot;default.hosts&amp;quot; take effect with the setting option &amp;quot;use hosts&amp;quot;.
hosts The enhanced file &amp;quot;hosts&amp;quot; defines IP addresses/attributes for domains. Each line has the following format:
[[IP address][attributes]][single space][domain name]
where &amp;quot;[[IP address][attributes]]&amp;quot; could be:
@ -173,7 +173,7 @@ The command line could be a &amp;quot;.js&amp;quot;, &amp;quot;.sh&amp;quot; or
<guid>/en/url2site/</guid>
<description>The uweb internal link &amp;quot;i:0m&amp;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:
&amp;quot;i:0m04:[url]&amp;quot;: to treat the [url] content as html with bookmarklet. &amp;quot;i:0mi:5h:[url]&amp;quot;: to treat the [url] content as html (for download or no-script links etc.) &amp;quot;i:0mi:5h?[postfix]::[url]&amp;quot;: auto append query postfix to url to retrieve content. &amp;quot;i:0mi:5h/[regex]/[replacement]::[url]&amp;quot;: use the result of regular expression replacement to retrieve the content.</description>
&amp;quot;i:0m04:[url]&amp;quot;: to treat the [url] content as html with bookmarklet. &amp;quot;i:0m?:[url]&amp;quot;: to treat the [url] content as html, handling css/js properly. &amp;quot;i:0m?[postfix]:[url]&amp;quot;: auto append query postfix to url to retrieve content. &amp;quot;i:0mi:5h:[url]&amp;quot;: similar to &amp;quot;i:0m?:[url]&amp;quot;, to treat the [url] content as html (for download or no-script links etc.</description>
</item>
<item>

View file

@ -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 = [
"Chat",
"ActionRequest",
"Chat",
"Context",
"InternalSearchQuery",
"InternalSearchResult",
"Disengaged",
"InternalLoaderMessage",
"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"
]

View file

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

View file

@ -12,7 +12,7 @@
<pubDate>Mon, 20 Mar 2023 00:00:00 +0000</pubDate>
<guid>/en/adblock_domain/</guid>
<description>The enhanced hosts files &amp;quot;hosts&amp;quot; and &amp;quot;default.hosts&amp;quot; take effect when the setting option &amp;quot;using hosts&amp;quot; is checked.
<description>The enhanced hosts files &amp;quot;hosts&amp;quot; and &amp;quot;default.hosts&amp;quot; take effect with the setting option &amp;quot;use hosts&amp;quot;.
hosts The enhanced file &amp;quot;hosts&amp;quot; defines IP addresses/attributes for domains. Each line has the following format:
[[IP address][attributes]][single space][domain name]
where &amp;quot;[[IP address][attributes]]&amp;quot; could be:

View file

@ -45,16 +45,18 @@
<p>The <a href="../index.html">uweb</a> internal link &quot;<a href="../links/index.html">i:0m</a>&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:</p>
<ul>
<li>&quot;i:0m04:[url]&quot;: to treat the [url] content as html with bookmarklet.</li>
<li>&quot;i:0mi:5h:[url]&quot;: to treat the [url] content as html (for download or no-script links etc.)</li>
<li>&quot;i:0mi:5h?[postfix]::[url]&quot;: auto append query postfix to url to retrieve content.</li>
<li>&quot;i:0m?:[url]&quot;: to treat the [url] content as html, handling css/js properly.</li>
<li>&quot;i:0m?[postfix]:[url]&quot;: auto append query postfix to url to retrieve content.</li>
<li>&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.)</li>
<li>&quot;i:0mi:5h?[postfix]::[url]&quot;: similar to &quot;i:0m?[postfix]:[url]&quot;. auto append query postfix to url to retrieve content.</li>
<li>&quot;i:0mi:5h/[regex]/[replacement]::[url]&quot;: 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>
&quot;i:0m/.../[local.html]:[url]&quot;, where the local file &quot;/.../[local.html]&quot; processes &quot;[url]&quot; 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>

View file

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

View file

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

View file

@ -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>使用: 勾选选项“使用离线缓存”, &quot;使用hosts&quot;<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>