From c8a8b0214ff0fdcee917bbb52573eb3cbc5b6a27 Mon Sep 17 00:00:00 2001
From: James Feng Cao
Date: Sat, 1 Apr 2023 23:34:44 +0800
Subject: [PATCH] add config for bingChat UI
---
README.md | 4 ++--
README.zh-Hans.md | 8 ++++----
en/offlinecache/index.html | 2 +-
en/readme/index.html | 8 ++++----
en/searchurl/bingAI/bing.html | 15 +++++++++++++--
en/searchurl/bingAI/js/GetSet.js | 13 +++++++++++--
en/sitemap.xml | 6 +++---
sitemap.xml | 4 ++--
zh/links/index.html | 2 +-
zh/readme/index.html | 10 +++++-----
zh/sitemap.xml | 6 +++---
zh/tips/index.html | 2 +-
12 files changed, 50 insertions(+), 30 deletions(-)
diff --git a/README.md b/README.md
index d1dc0cf6..f3522fae 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,8 @@
### Uweb browser: unlimited power
-中文
+中文
[Amazon appstore](https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5)
-Downloads
+Downloads
[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/))
diff --git a/README.zh-Hans.md b/README.zh-Hans.md
index 07020068..ebaeb717 100644
--- a/README.zh-Hans.md
+++ b/README.zh-Hans.md
@@ -1,15 +1,15 @@
### 超微浏览器 (uweb browser): 微、威、快、高效、极致优化
-English
-捐赠
+English
+捐赠
[Amazon appstore](https://www.amazon.com/TorApp-Info-uweb-browser-for-geeks/dp/B098QPR6N5)
-Downloads
+Downloads
[超微浏览器下载及使用技巧](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/))
-- 国内可以直接使用newbing/chatgpt
+- 国内可以直接使用newbing/chatgpt
- 微:不到200K。
- 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。
- 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。
diff --git a/en/offlinecache/index.html b/en/offlinecache/index.html
index 2c21a011..5c6d44f5 100644
--- a/en/offlinecache/index.html
+++ b/en/offlinecache/index.html
@@ -67,7 +67,7 @@
Last Modified: 1 April 2023
-add base in bing.html
+add bingAI UI
diff --git a/en/readme/index.html b/en/readme/index.html
index 6beedb3c..c78c0c40 100644
--- a/en/readme/index.html
+++ b/en/readme/index.html
@@ -48,9 +48,9 @@
+
chat with bing
diff --git a/en/searchurl/bingAI/js/GetSet.js b/en/searchurl/bingAI/js/GetSet.js
index 90b196e7..7c85b646 100644
--- a/en/searchurl/bingAI/js/GetSet.js
+++ b/en/searchurl/bingAI/js/GetSet.js
@@ -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';
}
//设置上次创建的聊天
diff --git a/en/sitemap.xml b/en/sitemap.xml
index f54634be..ef993324 100644
--- a/en/sitemap.xml
+++ b/en/sitemap.xml
@@ -29,7 +29,7 @@
/>
/en/
- 2023-04-01T21:06:06+08:00
+ 2023-04-01T23:32:56+08:00
/en/readme/
- 2023-03-31T10:23:52+08:00
+ 2023-04-01T23:32:56+08:00
/en/unlist/
- 2023-03-31T10:23:52+08:00
+ 2023-04-01T23:32:56+08:00
en/sitemap.xml
- 2023-04-01T21:06:06+08:00
+ 2023-04-01T23:32:56+08:00
zh/sitemap.xml
- 2023-04-01T20:51:06+08:00
+ 2023-04-01T23:32:14+08:00
diff --git a/zh/links/index.html b/zh/links/index.html
index 95202644..f48f7602 100644
--- a/zh/links/index.html
+++ b/zh/links/index.html
@@ -249,7 +249,7 @@ use "i:0mi:92Host;209.216.230.240::https://news.ycombinator.com" to vi
Last Modified: 1 April 2023
-add base in bing.html
+add bingAI UI
diff --git a/zh/readme/index.html b/zh/readme/index.html
index da681201..d895b4d2 100644
--- a/zh/readme/index.html
+++ b/zh/readme/index.html
@@ -48,14 +48,14 @@
超微浏览器 (uweb browser): 微、威、快、高效、极致优化
-
English
-捐赠
+
English
+捐赠
Amazon appstore
-Downloads
+
Downloads
超微浏览器下载及使用技巧
(Mirrors: gitlab repo codeberg netlify stormkit surge github torapp epizy pages render bitbucket vercel)
-- 国内可以直接使用newbing/chatgpt
+- 国内可以直接使用newbing/chatgpt
- 微:不到200K。
- 威:支持使用js脚本、url服务、shell命令、内部功能链接定制菜单/(新)按钮/手势; 远程数据皆可成网站。html5应用增强,可匹配本地应用。
- 便捷:图书(pdf/djvu)/txt/词典(mdict,kiwix)/命令行/APP/webapp(web extensions)可作为搜索引擎使用。
@@ -85,7 +85,7 @@