bingAI fix

This commit is contained in:
James Feng Cao 2023-04-25 19:08:18 +08:00
parent 6ae4b1bb30
commit 8f2c1c9ad0
7 changed files with 23 additions and 25 deletions

View file

@ -17,7 +17,7 @@
<input id="restartNewChat" class="onShow" type="button" value="new chat">
<input id="restart" type="button" value="🧹">
<div id="input-div">
<textarea id="input" type="text" enterkeyhint="send" maxlength="2000" autocapitalize="off" autocomplete="off" aria-autocomplete="both" spellcheck="false" aria-label="ask Bing" autocorrect="off" placeholder="type question here..."></textarea>
<textarea id="input" type="text" enterkeyhint="send" autocapitalize="off" autocomplete="off" aria-autocomplete="both" spellcheck="false" aria-label="ask Bing" autocorrect="off" placeholder="type question here..."></textarea>
<input id="send" type="button" value="✓">
</div>

View file

@ -7,6 +7,11 @@ var send_button = document.getElementById('send');
let restartNewChat = document.getElementById('restartNewChat');
var thisChatType = chatTypes.balance;
//全局变量
var talk;
var returnMessage;
var isSpeaking = false;
reSetStartChatMessage();
//(string)
@ -49,7 +54,6 @@ function onMessage(json, returnMessage) {
onMessageIsOKClose = true;
returnMessage.getCatWebSocket().close(1000, 'ok');
} else {
talk = undefined;
localStorage.removeItem('LastChatJson');
if (json.type == 1) {
porserArguments(json.arguments);
@ -78,13 +82,6 @@ input_text.addEventListener('keydown', (event) => {
}
});
//全局变量
var talk;
var returnMessage;
var isSpeaking = false;
/**重置聊天框和聊天建议到初始状态 */
function reSetStartChatMessage(type) {
createChat(thisChatType).then((r) => {

View file

@ -11,7 +11,7 @@
<sitemap>
<loc>zh/sitemap.xml</loc>
<lastmod>2023-04-19T23:06:34+08:00</lastmod>
<lastmod>2023-04-22T18:03:41+08:00</lastmod>
</sitemap>

View file

@ -157,7 +157,6 @@ UA为非默认时点击PC按钮将恢复UA为默认同时触发不保存UA
<guid>/zh/search/</guid>
<description>超微浏览器下点击搜索引擎配置链接可自动添加到主屏。
推荐引擎(将下面文本添加到home5.search中)
bingChat:i:92X-Forwarded-For;8.8.8.8;User-Agent;Mobile Safari EdgA/111.0.1624.80:https://www.bing.com/search?q=
顺序:i:40%s_00
apkdl:https://apkdl.in/app/search?q=
apkbog:https://www.apkbog.com/en/apks/search/
@ -194,8 +193,6 @@ toplinks:https://www.toplinks.cc/s/?keyword=
google:https://google.com/search?q=
谷歌:https://谷歌.ml/search?q=
必应:https://www.bing.com/search?q=
bingUS:i:92X-Forwarded-For;8.8.8.8:https://www.bing.com/search?q=
简单搜索:i:92User-Agent;SearchCraft:https://m.baidu.com/s?wd=
百度:https://m.baidu.com/s?wd=
Fsou:https://fsoufsou.com/search?q=
neeva:https://neeva.com/search?q=
@ -219,7 +216,12 @@ libvio:https://libvio.me/search/-------------.html?wd=
努努影院:https://www.nunuyy.top/so/%s---.html
louk:https://www.louk.cn/vodsearch/-------------.html?wd=
4444影视:http://k.4444.li/search.php?searchword=
nfmovies:https://www.nfmovies.com/search.php?searchword=</description>
nfmovies:https://www.nfmovies.com/search.php?searchword=
电影狗:https://www.dianyinggou.com/so/
pianku:https://www.pianku.la/search/%s-------------.html
novip:https://www.novipnoad.com/s=
555dianying:https://555dianying.cc/vodsearch/-------------.html?wd=
zhenbuka:https://www.zhenbuka.net/search/-------------.html?wd=</description>
</item>
<item>

View file

@ -49,7 +49,6 @@
</ul>
<p><a href="../index.html">超微浏览器</a>下点击搜索引擎配置链接可自动添加到主屏。</p>
<p>推荐引擎(将下面文本添加到home5.search中)</p>
<p><a href="i:00bingChat:i:92X-Forwarded-For;8.8.8.8;User-Agent;Mobile Safari EdgA/111.0.1624.80:https://www.bing.com/search?q=">bingChat:i:92X-Forwarded-For;8.8.8.8;User-Agent;Mobile Safari EdgA/111.0.1624.80:https://www.bing.com/search?q=</a></p>
<p><a href="i:00顺序:i:40%s_00">顺序:i:40%s_00</a></p>
<p><a href="i:00apkdl:https://apkdl.in/app/search?q=">apkdl:https://apkdl.in/app/search?q=</a></p>
<p><a href="i:00apkbog:https://www.apkbog.com/en/apks/search/">apkbog:https://www.apkbog.com/en/apks/search/</a></p>
@ -91,8 +90,6 @@
<a href="i:00google:https://google.com/search?q=">google:https://google.com/search?q=</a></p>
<p><a href="i:00谷歌:https://谷歌.ml/search?q=">谷歌:https://谷歌.ml/search?q=</a></p>
<p><a href="i:00必应:https://www.bing.com/search?q=">必应:https://www.bing.com/search?q=</a></p>
<p><a href="i:00bingUS:i:92X-Forwarded-For;8.8.8.8:https://www.bing.com/search?q=">bingUS:i:92X-Forwarded-For;8.8.8.8:https://www.bing.com/search?q=</a></p>
<p><a href="i:00简单搜索:i:92User-Agent;SearchCraft:https://m.baidu.com/s?wd=">简单搜索:i:92User-Agent;SearchCraft:https://m.baidu.com/s?wd=</a></p>
<p><a href="i:00百度:https://m.baidu.com/s?wd=">百度:https://m.baidu.com/s?wd=</a></p>
<p><a href="i:00Fsou:https://fsoufsou.com/search?q=">Fsou:https://fsoufsou.com/search?q=</a></p>
<p><a href="i:00neeva:https://neeva.com/search?q=">neeva:https://neeva.com/search?q=</a></p>
@ -302,7 +299,7 @@
<a href="https://www.zhihu.com/question/20251786">有哪些特殊的搜索引擎</a></p>
</div>
<p>Last Modified: 13 March 2023<br>
<p>Last Modified: 22 April 2023<br>
add newbing tips<br>
<pre></pre>
</p>

View file

@ -29,7 +29,7 @@
/>
</url><url>
<loc>/zh/</loc>
<lastmod>2023-04-19T23:06:34+08:00</lastmod>
<lastmod>2023-04-22T18:03:41+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -126,7 +126,7 @@
/>
</url><url>
<loc>/zh/topposts/</loc>
<lastmod>2023-03-13T10:49:42+08:00</lastmod>
<lastmod>2023-04-22T18:03:41+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -139,7 +139,7 @@
/>
</url><url>
<loc>/zh/search/</loc>
<lastmod>2023-03-13T10:49:42+08:00</lastmod>
<lastmod>2023-04-22T18:03:41+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"

View file

@ -14,7 +14,6 @@
<guid>/zh/search/</guid>
<description>超微浏览器下点击搜索引擎配置链接可自动添加到主屏。
推荐引擎(将下面文本添加到home5.search中)
bingChat:i:92X-Forwarded-For;8.8.8.8;User-Agent;Mobile Safari EdgA/111.0.1624.80:https://www.bing.com/search?q=
顺序:i:40%s_00
apkdl:https://apkdl.in/app/search?q=
apkbog:https://www.apkbog.com/en/apks/search/
@ -51,8 +50,6 @@ toplinks:https://www.toplinks.cc/s/?keyword=
google:https://google.com/search?q=
谷歌:https://谷歌.ml/search?q=
必应:https://www.bing.com/search?q=
bingUS:i:92X-Forwarded-For;8.8.8.8:https://www.bing.com/search?q=
简单搜索:i:92User-Agent;SearchCraft:https://m.baidu.com/s?wd=
百度:https://m.baidu.com/s?wd=
Fsou:https://fsoufsou.com/search?q=
neeva:https://neeva.com/search?q=
@ -76,7 +73,12 @@ libvio:https://libvio.me/search/-------------.html?wd=
努努影院:https://www.nunuyy.top/so/%s---.html
louk:https://www.louk.cn/vodsearch/-------------.html?wd=
4444影视:http://k.4444.li/search.php?searchword=
nfmovies:https://www.nfmovies.com/search.php?searchword=</description>
nfmovies:https://www.nfmovies.com/search.php?searchword=
电影狗:https://www.dianyinggou.com/so/
pianku:https://www.pianku.la/search/%s-------------.html
novip:https://www.novipnoad.com/s=
555dianying:https://555dianying.cc/vodsearch/-------------.html?wd=
zhenbuka:https://www.zhenbuka.net/search/-------------.html?wd=</description>
</item>
<item>