bingAI: completed

This commit is contained in:
James Feng Cao 2023-04-06 09:05:34 +08:00
parent 2ac6107614
commit bfa1a68ed2
7 changed files with 34 additions and 14 deletions

View File

@ -391,7 +391,7 @@ async function createChat(theChatType) {
do {
try {
let url = URLTrue(magicUrl,'turing/conversation/create');
let res = await fetch(url, {credentials: 'include'});
let res = await fetch(url, {credentials: "include"});
let resjson = await res.json();
if (!resjson.result || resjson.result.value != 'Success') {
mes = resjson;

View File

@ -0,0 +1,14 @@
<script>
let url = "https://muweb.us.to/turing/conversation/create";
/*
fetch(url, {credentials: 'include'})
.then(r=>r.text()).then(data=>{alert(data);});
*/
const xhr = new XMLHttpRequest();
xhr.open("GET", url, true);
xhr.withCredentials = true;
xhr.onload = function(){
alert(xhr.responseText);
};
xhr.send();
</script>

View File

@ -11,7 +11,7 @@
<sitemap>
<loc>zh/sitemap.xml</loc>
<lastmod>2023-04-04T10:48:55+08:00</lastmod>
<lastmod>2023-04-06T09:03:54+08:00</lastmod>
</sitemap>

View File

@ -16,10 +16,12 @@
总要求:长按底部&amp;quot;PC&amp;quot;按钮选择user-agent为&amp;quot;edge&amp;quot;。用户需登录微软网站比如cn.bing.com帐号已经开通newbing。
方法1: bingChat自带魔法直接界面
要求: 安装界面html
勾选选项“使用离线缓存”
复制bing.com cookies至魔法域名
勾选选项“使用离线缓存”, &amp;quot;使用hosts&amp;quot;
hosts文件内添加一行允许发送cookie至魔法url:
Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credentials;true muweb.us.to
点击界面入口
可配置魔法url, 详情
可配置魔法url, 上述hosts文件作相应修改, 复制bing.com cookies至魔法域名。 详情
方法2: 可以采用超级书签/直接界面+脚本+hosts。
其中超级书签固定bingchat入口。
脚本重定向api至魔法师.

View File

@ -16,10 +16,12 @@
总要求:长按底部&amp;quot;PC&amp;quot;按钮选择user-agent为&amp;quot;edge&amp;quot;。用户需登录微软网站比如cn.bing.com帐号已经开通newbing。
方法1: bingChat自带魔法直接界面
要求: 安装界面html
勾选选项“使用离线缓存”
复制bing.com cookies至魔法域名
勾选选项“使用离线缓存”, &amp;quot;使用hosts&amp;quot;
hosts文件内添加一行允许发送cookie至魔法url:
Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credentials;true muweb.us.to
点击界面入口
可配置魔法url, 详情
可配置魔法url, 上述hosts文件作相应修改, 复制bing.com cookies至魔法域名。 详情
方法2: 可以采用超级书签/直接界面+脚本+hosts。
其中超级书签固定bingchat入口。
脚本重定向api至魔法师.

View File

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/zh/_posts/</loc>
<lastmod>2023-04-04T10:48:55+08:00</lastmod>
<lastmod>2023-04-06T09:03:54+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -16,7 +16,7 @@
/>
</url><url>
<loc>/zh/</loc>
<lastmod>2023-04-04T10:48:55+08:00</lastmod>
<lastmod>2023-04-06T09:03:54+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -29,7 +29,7 @@
/>
</url><url>
<loc>/zh/tips/</loc>
<lastmod>2023-04-02T10:01:58+08:00</lastmod>
<lastmod>2023-04-06T09:03:54+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"

View File

@ -53,10 +53,12 @@
<li>
<p>方法1: <a href="../../en/offlinecache/index.html">bingChat自带魔法直接界面</a><br>
要求: 安装界面html<br>
勾选选项“使用离线缓存”<br>
复制bing.com cookies至魔法域名<br>
点击界面入口<br>
可配置魔法url, <a href="https://gitee.com/jja8/NewBingGoGo/blob/master/docs/%E5%88%9B%E5%BB%BA%E8%87%AA%E5%B7%B1%E7%9A%84%E9%AD%94%E6%B3%95%E9%93%BE%E6%8E%A5.md">详情</a></p>
勾选选项“使用离线缓存”, &quot;使用hosts&quot;</p>
<p>hosts文件内添加一行允许发送cookie至魔法url:<br>
Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credentials;true muweb.us.to</p>
<p>点击界面入口<br>
可配置魔法url, 上述hosts文件作相应修改, 复制bing.com cookies至魔法域名。 <a href="https://gitee.com/jja8/NewBingGoGo/blob/master/docs/%E5%88%9B%E5%BB%BA%E8%87%AA%E5%B7%B1%E7%9A%84%E9%AD%94%E6%B3%95%E9%93%BE%E6%8E%A5.md">详情</a></p>
</li>
<li>
<p>方法2: 可以采用超级书签/直接界面+脚本+hosts。<br>
@ -84,8 +86,8 @@ UA为非默认时点击PC按钮将恢复UA为默认同时触发不保存UA
<a href="../filenames">配置文件列表</a>中直接点击文件名即可编辑。</p>
</div>
<p>Last Modified: 2 April 2023<br>
sync newbinggogo<br>
<p>Last Modified: 6 April 2023<br>
bingAI: complete<br>
<pre></pre>
</p>