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

@ -91,7 +91,7 @@ The first part [rootDomain] is required and the others are optional. regex is ja
</div>
<p>Last Modified: 13 May 2023<br>
refine global redirection cookie support<br>
update bingAI/js/optionsSets.js<br>
<pre></pre>
</p>
<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>
<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"
]
@ -186,4 +192,4 @@ async function getPreviousMessages(){
"messageId": getUuid(),
"messageType": "Chat"
}];
}
}

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/en/_posts/</loc>
<lastmod>2023-05-13T17:17:39+08:00</lastmod>
<lastmod>2023-05-14T10:54:36+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -58,7 +58,7 @@
/>
</url><url>
<loc>/en/</loc>
<lastmod>2023-05-13T17:17:39+08:00</lastmod>
<lastmod>2023-05-14T10:54:36+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

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

View file

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