update bingAI api

This commit is contained in:
James Feng Cao 2023-05-19 15:09:14 +08:00
parent 2d72f7825a
commit a8700372f4
8 changed files with 64 additions and 56 deletions

View File

@ -127,7 +127,7 @@ The command line could be a ".js", ".sh" or
<guid>/en/url2site/</guid> <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: <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>
<item> <item>

View File

@ -91,7 +91,7 @@ The first part [rootDomain] is required and the others are optional. regex is ja
</div> </div>
<p>Last Modified: 13 May 2023<br> <p>Last Modified: 13 May 2023<br>
refine global redirection cookie support<br> update bingAI/js/optionsSets.js<br>
<pre></pre> <pre></pre>
</p> </p>
<script> <script>

View File

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

View File

@ -8,11 +8,13 @@ let chatTypes = {
"responsible_ai_policy_235", "responsible_ai_policy_235",
"enablemm", "enablemm",
"h3imaginative", "h3imaginative",
"responseos", "cricketansgnd",
"cachewriteext", "cachewriteext",
"e2ecachewrite", "e2ecachewrite",
"nodlcpcwrite", "nodlcpcwrite",
"travelansgnd", "nointernalsugg",
"saharasugg",
"enablenewsfc",
"dv3sugg", "dv3sugg",
"clgalileo", "clgalileo",
"gencontentv3" "gencontentv3"
@ -25,33 +27,34 @@ let chatTypes = {
"responsible_ai_policy_235", "responsible_ai_policy_235",
"enablemm", "enablemm",
"galileo", "galileo",
"responseos", "cricketansgnd",
"cachewriteext", "cachewriteext",
"e2ecachewrite", "e2ecachewrite",
"nodlcpcwrite", "nodlcpcwrite",
"travelansgnd", "nointernalsugg",
"dv3sugg" "saharasugg",
"enablenewsfc",
"dv3sugg",
"saharagenconv5"
], ],
//精准选项 //精准选项
accurate: [ accurate: [
"chk1cf", "nlu_direct_response_filter",
"nopreloadsscf", "deepleo",
"winlongmsg2tf", "disable_emoji_spoken_text",
"perfimpcomb", "responsible_ai_policy_235",
"sugdivdis", "enablemm",
"sydnoinputt", "h3precise",
"wpcssopt", "cricketansgnd",
"wintone2tf", "cachewriteext",
"0404sydicnbs0", "e2ecachewrite",
"405suggbs0", "nodlcpcwrite",
"scctl", "nointernalsugg",
"330uaugs0", "saharasugg",
"0329resp", "enablenewsfc",
"udscahrfon", "dv3sugg",
"udstrblm5", "clgalileo",
"404e2ewrt", "gencontentv3"
"408nodedups0",
"403tvlansgnd"
] ]
} }
@ -60,11 +63,14 @@ let source = "cib";
//接收消息类型 //接收消息类型
let allowedMessageTypes = [ let allowedMessageTypes = [
"Chat", "ActionRequest",
"Chat",
"Context",
"InternalSearchQuery", "InternalSearchQuery",
"InternalSearchResult", "InternalSearchResult",
"Disengaged", "Disengaged",
"InternalLoaderMessage", "InternalLoaderMessage",
"Progress",
"RenderCardRequest", "RenderCardRequest",
"AdsQuery", "AdsQuery",
"SemanticSerp", "SemanticSerp",
@ -74,24 +80,24 @@ let allowedMessageTypes = [
//切片id也不知道是啥意思反正官网的更新了 //切片id也不知道是啥意思反正官网的更新了
let sliceIds = [ let sliceIds = [
"chk1cf", "winmuid2tf",
"nopreloadsscf", "sydconfigoptc",
"winlongmsg2tf", "forallv2nscpw",
"perfimpcomb", "allnopvt",
"sugdivdis", "anssuptokenlist",
"sydnoinputt", "tempcacheread",
"wpcssopt", "temptacache",
"wintone2tf", "encjsreftf",
"0404sydicnbs0", "winlongmsgtf",
"405suggbs0", "wrapnoins",
"scctl", "505iccric",
"330uaugs0", "0430dv3s0",
"0329resp", "505scsv5",
"udscahrfon", "scprompt2",
"udstrblm5", "508jbcar",
"404e2ewrt", "425bicb2",
"408nodedups0", "406sportgnds0",
"403tvlansgnd" "427startpm"
] ]
@ -186,4 +192,4 @@ async function getPreviousMessages(){
"messageId": getUuid(), "messageId": getUuid(),
"messageType": "Chat" "messageType": "Chat"
}]; }];
} }

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-05-13T17:17:39+08:00</lastmod> <lastmod>2023-05-14T10:54:36+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-05-13T17:17:39+08:00</lastmod> <lastmod>2023-05-14T10:54:36+08:00</lastmod>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="zh" hreflang="zh"
@ -194,7 +194,7 @@
<lastmod>2023-02-18T14:12:02+08:00</lastmod> <lastmod>2023-02-18T14:12:02+08:00</lastmod>
</url><url> </url><url>
<loc>/en/url2site/</loc> <loc>/en/url2site/</loc>
<lastmod>2023-03-29T07:19:36+08:00</lastmod> <lastmod>2023-05-14T10:54:36+08:00</lastmod>
</url><url> </url><url>
<loc>/en/html5/</loc> <loc>/en/html5/</loc>
<lastmod>2023-02-20T21:49:16+08:00</lastmod> <lastmod>2023-02-20T21:49:16+08:00</lastmod>

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> <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> <ul>
<li>&quot;i:0m04:[url]&quot;: to treat the [url] content as html with bookmarklet.</li> <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:0m?:[url]&quot;: to treat the [url] content as html, handling css/js properly.</li>
<li>&quot;i:0mi:5h?[postfix]::[url]&quot;: auto append query postfix to url to retrieve content.</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> <li>&quot;i:0mi:5h/[regex]/[replacement]::[url]&quot;: use the result of regular expression replacement to retrieve the content.</li>
</ul> </ul>
<p>For more complicated links such as cloud storage shared links, which need user gestures to reach temporary generated content link, use<br> <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> &quot;i:0m/.../[local.html]:[url]&quot;, where the local file &quot;/.../[local.html]&quot; processes &quot;[url]&quot; as needed.</p>
</div> </div>
<p>Last Modified: 29 March 2023<br> <p>Last Modified: 14 May 2023<br>
add bingAI url<br> update bingAI/js/optionsSets.js<br>
<pre></pre> <pre></pre>
</p> </p>
<script> <script>

View File

@ -4,7 +4,7 @@
<sitemap> <sitemap>
<loc>en/sitemap.xml</loc> <loc>en/sitemap.xml</loc>
<lastmod>2023-05-13T17:17:39+08:00</lastmod> <lastmod>2023-05-14T10:54:36+08:00</lastmod>
</sitemap> </sitemap>

View File

@ -99,7 +99,7 @@ UA为非默认时点击PC按钮将恢复UA为默认同时触发不保存UA
</div> </div>
<p>Last Modified: 13 May 2023<br> <p>Last Modified: 13 May 2023<br>
fix bingAI draw<br> update bingAI/js/optionsSets.js<br>
<pre></pre> <pre></pre>
</p> </p>
<script> <script>