support bundled installation

This commit is contained in:
James Feng Cao 2023-04-18 16:08:42 +08:00
parent acef3cbd59
commit b21c1074d7
8 changed files with 42 additions and 23 deletions

View File

@ -295,11 +295,16 @@ The "Host" Header (fake header, different from the standard) must be t
Ex. i:92Host;209.216.230.240:https://news.ycombinator.com<br>
use &quot;i:0mi:92Host;209.216.230.240::https://news.ycombinator.com&quot; to visit the site with specified IP address.</p>
</li>
<li>
<p>i:b1[internal urls separated by newline]<br>
Bundle of internal urls, if it is an &quot;i:0&quot; url, then it should have the following format:<br>
[title\n][msg\n][i:0url].</p>
</li>
</ul>
</div>
<p>Last Modified: 10 April 2023<br>
enhance :0cc cookie copy<br>
<p>Last Modified: 18 April 2023<br>
support bundled installation<br>
<pre>i:56 urls support CTRL_A to CTRL-Z
</pre>
</p>

View File

@ -234,7 +234,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);
let resjson = await res.json();
if (!resjson.result || resjson.result.value != 'Success') {
mes = resjson;

View File

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/en/_posts/</loc>
<lastmod>2023-04-17T11:05:09+08:00</lastmod>
<lastmod>2023-04-18T16:06:03+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -58,7 +58,7 @@
/>
</url><url>
<loc>/en/</loc>
<lastmod>2023-04-17T11:05:09+08:00</lastmod>
<lastmod>2023-04-18T16:06:03+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -71,7 +71,7 @@
/>
</url><url>
<loc>/en/links/</loc>
<lastmod>2023-04-10T08:20:10+08:00</lastmod>
<lastmod>2023-04-18T16:06:03+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"

View File

@ -4,14 +4,14 @@
<sitemap>
<loc>en/sitemap.xml</loc>
<lastmod>2023-04-17T11:05:09+08:00</lastmod>
<lastmod>2023-04-18T16:06:03+08:00</lastmod>
</sitemap>
<sitemap>
<loc>zh/sitemap.xml</loc>
<lastmod>2023-04-17T11:14:55+08:00</lastmod>
<lastmod>2023-04-18T15:54:20+08:00</lastmod>
</sitemap>

View File

@ -106,11 +106,13 @@ c[cssFlag]: For example, &amp;quot;c12&amp;quot; will apply the third and fourth
<guid>/zh/tips/</guid>
<description>免魔法直接使用newbing (chatgpt)
总要求:长按底部&amp;quot;PC&amp;quot;按钮选择user-agent为&amp;quot;edge&amp;quot;。用户需登录微软网站比如cn.bing.com帐号已经开通newbing。
方法1: bingChat &amp;amp; Write自带魔法直接界面
要求: 安装界面html
勾选选项“使用离线缓存”, &amp;quot;使用hosts&amp;quot;
方法1:
点击一键安装必应AI
或者分步安装:
安装界面html, bingChat &amp;amp; Write自带魔法直接界面
hosts文件内添加一行允许发送cookie至魔法url:
Click to append to &amp;quot;hosts&amp;quot;, edit the last part as magic url domain
使用: 勾选选项“使用离线缓存”, &amp;quot;使用hosts&amp;quot;
点击界面入口
可配置魔法url, 上述hosts文件作相应修改。 详情
方法2: 可以采用超级书签/直接界面+脚本+hosts。

View File

@ -106,11 +106,13 @@ c[cssFlag]: For example, &amp;quot;c12&amp;quot; will apply the third and fourth
<guid>/zh/tips/</guid>
<description>免魔法直接使用newbing (chatgpt)
总要求:长按底部&amp;quot;PC&amp;quot;按钮选择user-agent为&amp;quot;edge&amp;quot;。用户需登录微软网站比如cn.bing.com帐号已经开通newbing。
方法1: bingChat &amp;amp; Write自带魔法直接界面
要求: 安装界面html
勾选选项“使用离线缓存”, &amp;quot;使用hosts&amp;quot;
方法1:
点击一键安装必应AI
或者分步安装:
安装界面html, bingChat &amp;amp; Write自带魔法直接界面
hosts文件内添加一行允许发送cookie至魔法url:
Click to append to &amp;quot;hosts&amp;quot;, edit the last part as magic url domain
使用: 勾选选项“使用离线缓存”, &amp;quot;使用hosts&amp;quot;
点击界面入口
可配置魔法url, 上述hosts文件作相应修改。 详情
方法2: 可以采用超级书签/直接界面+脚本+hosts。

View File

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/zh/_posts/</loc>
<lastmod>2023-04-17T11:14:55+08:00</lastmod>
<lastmod>2023-04-18T15:54:20+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -29,7 +29,7 @@
/>
</url><url>
<loc>/zh/</loc>
<lastmod>2023-04-17T11:14:55+08:00</lastmod>
<lastmod>2023-04-18T15:54:20+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -74,7 +74,7 @@
/>
</url><url>
<loc>/zh/tips/</loc>
<lastmod>2023-04-17T07:39:29+08:00</lastmod>
<lastmod>2023-04-18T15:54:20+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"

View File

@ -51,14 +51,24 @@
总要求:长按底部&quot;PC&quot;按钮选择user-agent为&quot;edge&quot;。用户需登录微软网站比如cn.bing.com帐号已经开通newbing。</p>
<ul>
<li>
<p>方法1: <a href="../../en/offlinecache/index.html">bingChat &amp; Write自带魔法直接界面</a><br>
要求: 安装界面html<br>
勾选选项“使用离线缓存”, &quot;使用hosts&quot;</p>
<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%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">必应AI</a></p>
</li>
<li>
<p>或者分步安装:<br>
安装界面html, <a href="../../en/offlinecache/index.html">bingChat &amp; Write自带魔法直接界面</a></p>
<p>hosts文件内添加一行允许发送cookie至魔法url:<br>
<a href="i:0ghosts::www.bing.com;Access-Control-Allow-Origin;https://www.bing.com;Access-Control-Allow-Credentials;true mybing2.xn--xyza.top%0A">Click to append to &quot;hosts&quot;, edit the last part as magic url domain</a></p>
<p>点击界面入口<br>
</li>
<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>
</li>
</ul>
</li>
<li>
<p>方法2: 可以采用超级书签/直接界面+脚本+hosts。<br>
其中超级书签固定bingchat入口。<br>
@ -85,8 +95,8 @@ UA为非默认时点击PC按钮将恢复UA为默认同时触发不保存UA
<a href="../filenames">配置文件列表</a>中直接点击文件名即可编辑。</p>
</div>
<p>Last Modified: 17 April 2023<br>
add mimetype uwebA<br>
<p>Last Modified: 18 April 2023<br>
support bundled installation<br>
<pre></pre>
</p>