mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
add config for bingChat UI
This commit is contained in:
parent
9ec7186e34
commit
c8a8b0214f
12 changed files with 50 additions and 30 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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 <a> tag with href & onclick for README<br>
|
||||
<pre></pre>
|
||||
</p>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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';
|
||||
}
|
||||
|
||||
//设置上次创建的聊天
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue