add config for bingChat UI

This commit is contained in:
James Feng Cao 2023-04-01 23:34:44 +08:00
parent 9ec7186e34
commit c8a8b0214f
12 changed files with 50 additions and 30 deletions

View file

@ -1,8 +1,8 @@
### Uweb browser: unlimited power
<a href="README.zh-Hans.md" onclick="{let u=location.href; if(u.endsWith('index.html'))location='../../zh/readme/index.html'}">中文</a>
<a href="README.zh-Hans.md" onclick="{let u=location.href; if(u.endsWith('index.html')){location='../../zh/readme/index.html';return false;}}">中文</a>
[Amazon appstore](https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5)
<a href="en/download.md" onclick="{let u=location.href; if(u.endsWith('index.html'))location='../../en/changelog/index.html'}">Downloads</a>
<a href="en/download.md" onclick="{let u=location.href; if(u.endsWith('index.html')){location='../../en/changelog/index.html';return false;}}">Downloads</a>
[Uweb browser: downloads, plugins and tips](https://torappinfo.github.io/uweb/en/)
(Mirrors: [netlify](https://uwebzh.netlify.app/en/) [gitlab](https://jamesfengcao.gitlab.io/uweb/en/) [stormkit](https://uweb.stormkit.dev/en/) [surge](https://uweb.surge.sh/en/) [codeberg](https://jamesfengcao.codeberg.page/en/) [repo](https://repo.or.cz/uweb.git/blob_plain/HEAD:/en/index.html) [pages](https://muweb.pages.dev/en/) [vercel](https://uweb.vercel.app/en/) [bitbucket](https://torappinfo.bitbucket.io/en/) [render](https://uweb.onrender.com/en/))

View file

@ -1,15 +1,15 @@
### 超微浏览器 (uweb browser): 微、威、快、高效、极致优化
<a href="README.md" onclick="{let u=location.href; if(u.endsWith('index.html'))location='../../en/readme/index.html'}">English</a>
<a href="zh/donate.md" onclick="{let u=location.href; if(u.endsWith('index.html'))location='../searchurl/donate.html'}">捐赠</a>
<a href="README.md" onclick="{let u=location.href; if(u.endsWith('index.html')){location='../../en/readme/index.html;return false;'}}">English</a>
<a href="zh/donate.md" onclick="{let u=location.href; if(u.endsWith('index.html')){location='../searchurl/donate.html';return false;}}">捐赠</a>
[Amazon appstore](https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5)
<a href="en/download.md" onclick="{let u=location.href; if(u.endsWith('index.html'))location='../../en/changelog/index.html'}">Downloads</a>
<a href="en/download.md" onclick="{let u=location.href; if(u.endsWith('index.html')){location='../../en/changelog/index.html';return false;}}">Downloads</a>
[超微浏览器下载及使用技巧](https://uwebzh.netlify.app/zh/)
(Mirrors: [gitlab](https://jamesfengcao.gitlab.io/uweb/zh/) [repo](https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/index.html) [codeberg](https://jamesfengcao.codeberg.page/zh/) [netlify](https://uwebzh.netlify.app/zh/) [stormkit](https://uweb.stormkit.dev/zh/) [surge](https://uweb.surge.sh/zh/) [github](https://torappinfo.github.io/uweb/zh/) [torapp](https://torapp.eu.org) [epizy](http://uweb.epizy.com/) [pages](https://muweb.pages.dev/zh/) [render](https://uweb.onrender.com) [bitbucket](https://torappinfo.bitbucket.io/zh/) [vercel](https://uweb.vercel.app/zh/))
- <span style="color:red">国内可以直接使用<a href="https://uwebzh.netlify.app/zh/tips/index.html" onclick="{let u=location.href; if(u.endsWith('index.html'))location='../tips/index.html'}">newbing/chatgpt</a></span>
- <span style="color:red">国内可以直接使用<a href="https://uwebzh.netlify.app/zh/tips/index.html" onclick="{let u=location.href; if(u.endsWith('index.html')){location='../tips/index.html';return false;}}">newbing/chatgpt</a></span>
- 微不到200K。
- 威支持使用js脚本、url服务、shell命令、内部功能链接定制菜单按钮手势; 远程数据皆可成网站。html5应用增强可匹配本地应用。
- 便捷图书pdf/djvu/txt/词典mdict,kiwix/命令行/APP/webapp(web extensions)可作为搜索引擎使用。

View file

@ -67,7 +67,7 @@
</div>
<p>Last Modified: 1 April 2023<br>
add base in bing.html<br>
add bingAI UI<br>
<pre></pre>
</p>

View file

@ -48,9 +48,9 @@
</ul>
<h3 id="uweb-browser-unlimited-power">Uweb browser: unlimited power</h3>
<p><a href="README.zh-Hans.md" onclick="{let u=location.href; if(u.endsWith('index.html'))location='../../zh/readme/index.html'}">中文</a></p>
<p><a href="README.zh-Hans.md" onclick="{let u=location.href; if(u.endsWith('index.html')){location='../../zh/readme/index.html';return false;}}">中文</a></p>
<p><a href="https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5">Amazon appstore</a><br>
<a href="en/download.md" onclick="{let u=location.href; if(u.endsWith('index.html'))location='../../en/changelog/index.html'}">Downloads</a></p>
<a href="en/download.md" onclick="{let u=location.href; if(u.endsWith('index.html')){location='../../en/changelog/index.html';return false;}}">Downloads</a></p>
<p><a href="https://torappinfo.github.io/uweb/en/">Uweb browser: downloads, plugins and tips</a><br>
(Mirrors: <a href="https://uwebzh.netlify.app/en/">netlify</a> <a href="https://jamesfengcao.gitlab.io/uweb/en/">gitlab</a> <a href="https://uweb.stormkit.dev/en/">stormkit</a> <a href="https://uweb.surge.sh/en/">surge</a> <a href="https://jamesfengcao.codeberg.page/en/">codeberg</a> <a href="https://repo.or.cz/uweb.git/blob_plain/HEAD:/en/index.html">repo</a> <a href="https://muweb.pages.dev/en/">pages</a> <a href="https://uweb.vercel.app/en/">vercel</a> <a href="https://torappinfo.bitbucket.io/en/">bitbucket</a> <a href="https://uweb.onrender.com/en/">render</a>)</p>
<ul>
@ -96,8 +96,8 @@
</ul>
</div>
<p>Last Modified: 31 March 2023<br>
use [ipv6] in hosts<br>
<p>Last Modified: 1 April 2023<br>
fix &lt;a&gt; tag with href &amp; onclick for README<br>
<pre></pre>
</p>

View file

@ -5,8 +5,8 @@
<meta charset="utf-8">
<base href="https://gitee.com/jamesfengcao/uweb/raw/master/en/searchurl/bingAI/">
<title id="docTitle">NewBingGoGo</title>
<link rel="stylesheet" href="./css/github-markdown-css.css">
<link rel="stylesheet" href="./css/katex.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.2.0/github-markdown.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.4/katex.min.css">
<link rel="stylesheet" href="./css/bing.css">
</head>
@ -27,6 +27,17 @@
</div>
<div id="body">
<div id="popup">
<h5 style="text-align: center; margin:0;">输入魔法链接</h5>
<input type="text" id="url-input" style="width: 97%;display: inline-block;"
onkeydown="if (event.keyCode == 13) {let v=this.value;localStorage.setItem('GoGoUrl',v);}">
<h5 style="text-align: center; margin:0;">聊天方式</h5>
<select id="tallSelect" style="width: 100%;" onchange="localStorage.setItem('ChatHubWithMagic',this.selectedIndex);">
<option>复用聊天(最快)(用魔法创建聊天后在失效前都使用这个聊天)</option>
<option>正常聊天(推荐)(用魔法创建聊天后正常聊天)</option>
<option>魔法聊天(较慢)(用魔法创建聊天后继续使用魔法聊天)</option>
</select>
</div>
<div id="body-top"></div>
<div style="text-align: center;">
<h3>chat with bing</h3>

View file

@ -15,8 +15,17 @@ async function setChatHubWithMagic(user) {
// ture|false|'repeat'
async function getChatHubWithMagic() {
let v = localStorage.ChatHubWithMagic;
if (v) return v;
return true;
if (v) {
switch(v){
case 0:
break;
case 1:
return false;
case 2:
return true;
}
}
return 'repeat';
}
//设置上次创建的聊天

View file

@ -29,7 +29,7 @@
/>
</url><url>
<loc>/en/</loc>
<lastmod>2023-04-01T21:06:06+08:00</lastmod>
<lastmod>2023-04-01T23:32:56+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -508,7 +508,7 @@
/>
</url><url>
<loc>/en/readme/</loc>
<lastmod>2023-03-31T10:23:52+08:00</lastmod>
<lastmod>2023-04-01T23:32:56+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -533,7 +533,7 @@
/>
</url><url>
<loc>/en/unlist/</loc>
<lastmod>2023-03-31T10:23:52+08:00</lastmod>
<lastmod>2023-04-01T23:32:56+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"

View file

@ -4,14 +4,14 @@
<sitemap>
<loc>en/sitemap.xml</loc>
<lastmod>2023-04-01T21:06:06+08:00</lastmod>
<lastmod>2023-04-01T23:32:56+08:00</lastmod>
</sitemap>
<sitemap>
<loc>zh/sitemap.xml</loc>
<lastmod>2023-04-01T20:51:06+08:00</lastmod>
<lastmod>2023-04-01T23:32:14+08:00</lastmod>
</sitemap>

View file

@ -249,7 +249,7 @@ use &quot;i:0mi:92Host;209.216.230.240::https://news.ycombinator.com&quot; to vi
</div>
<p>Last Modified: 1 April 2023<br>
add base in bing.html<br>
add bingAI UI<br>
<pre></pre>
</p>

View file

@ -48,14 +48,14 @@
</ul>
<h3 id="超微浏览器-uweb-browser-微威快高效极致优化">超微浏览器 (uweb browser): 微、威、快、高效、极致优化</h3>
<p><a href="README.md" onclick="{let u=location.href; if(u.endsWith('index.html'))location='../../en/readme/index.html'}">English</a><br>
<a href="zh/donate.md" onclick="{let u=location.href; if(u.endsWith('index.html'))location='../searchurl/donate.html'}">捐赠</a></p>
<p><a href="README.md" onclick="{let u=location.href; if(u.endsWith('index.html')){location='../../en/readme/index.html;return false;'}}">English</a><br>
<a href="zh/donate.md" onclick="{let u=location.href; if(u.endsWith('index.html')){location='../searchurl/donate.html';return false;}}">捐赠</a></p>
<p><a href="https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5">Amazon appstore</a><br>
<a href="en/download.md" onclick="{let u=location.href; if(u.endsWith('index.html'))location='../../en/changelog/index.html'}">Downloads</a></p>
<a href="en/download.md" onclick="{let u=location.href; if(u.endsWith('index.html')){location='../../en/changelog/index.html';return false;}}">Downloads</a></p>
<p><a href="https://uwebzh.netlify.app/zh/">超微浏览器下载及使用技巧</a><br>
(Mirrors: <a href="https://jamesfengcao.gitlab.io/uweb/zh/">gitlab</a> <a href="https://repo.or.cz/uweb.git/blob_plain/HEAD:/zh/index.html">repo</a> <a href="https://jamesfengcao.codeberg.page/zh/">codeberg</a> <a href="https://uwebzh.netlify.app/zh/">netlify</a> <a href="https://uweb.stormkit.dev/zh/">stormkit</a> <a href="https://uweb.surge.sh/zh/">surge</a> <a href="https://torappinfo.github.io/uweb/zh/">github</a> <a href="https://torapp.eu.org">torapp</a> <a href="http://uweb.epizy.com/">epizy</a> <a href="https://muweb.pages.dev/zh/">pages</a> <a href="https://uweb.onrender.com">render</a> <a href="https://torappinfo.bitbucket.io/zh/">bitbucket</a> <a href="https://uweb.vercel.app/zh/">vercel</a>)</p>
<ul>
<li><span style="color:red">国内可以直接使用<a href="https://uwebzh.netlify.app/zh/tips/index.html" onclick="{let u=location.href; if(u.endsWith('index.html'))location='../tips/index.html'}">newbing/chatgpt</a></span></li>
<li><span style="color:red">国内可以直接使用<a href="https://uwebzh.netlify.app/zh/tips/index.html" onclick="{let u=location.href; if(u.endsWith('index.html')){location='../tips/index.html';return false;}}">newbing/chatgpt</a></span></li>
<li>不到200K。</li>
<li>支持使用js脚本、url服务、shell命令、内部功能链接定制菜单按钮手势; 远程数据皆可成网站。html5应用增强可匹配本地应用。</li>
<li>便捷图书pdf/djvu/txt/词典mdict,kiwix/命令行/APP/webapp(web extensions)可作为搜索引擎使用。</li>
@ -85,7 +85,7 @@
</div>
<p>Last Modified: 1 April 2023<br>
add base in bing.html<br>
fix &lt;a&gt; tag with href &amp; onclick for README<br>
<pre></pre>
</p>

View file

@ -16,7 +16,7 @@
/>
</url><url>
<loc>/zh/</loc>
<lastmod>2023-04-01T20:51:06+08:00</lastmod>
<lastmod>2023-04-01T23:32:14+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -496,7 +496,7 @@
<lastmod>2023-01-28T09:50:00+08:00</lastmod>
</url><url>
<loc>/zh/readme/</loc>
<lastmod>2023-04-01T20:29:08+08:00</lastmod>
<lastmod>2023-04-01T23:32:14+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -521,7 +521,7 @@
/>
</url><url>
<loc>/zh/unlist/</loc>
<lastmod>2023-04-01T20:29:08+08:00</lastmod>
<lastmod>2023-04-01T23:32:14+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"

View file

@ -79,7 +79,7 @@ UA为非默认时点击PC按钮将恢复UA为默认同时触发不保存UA
</div>
<p>Last Modified: 1 April 2023<br>
add base in bing.html<br>
add bingAI UI<br>
<pre></pre>
</p>