diff --git a/en/adblock_domain/index.html b/en/adblock_domain/index.html
index 92a34b4..68c58ee 100644
--- a/en/adblock_domain/index.html
+++ b/en/adblock_domain/index.html
@@ -68,6 +68,11 @@
which will make all git repositories on the domain visitable as websites with raw file access url.
+
+- response headers, separeded by ';', Ex.:
+Access-Control-Allow-Origin;*;Access-Control-Allow-Credentials;true mybing2.xn--xyza.top
+
+which makes "mybing2.xn--xyza.top" to accept CORS requests with cookies.
"default.hosts" blocks whole domain trees including all descedant domains. The domains in the hosts file must be 2 or 3 segment domains, such as "yahoo.com" and "finance.yahoo.com". If the length of the last 2 segments is less than 7, such as "com.pl", then it is treated as one segment, so domains like "xxx.xxx.com.pl" are also valid in the hosts file.
Each line of the hosts file has the following format:
[rootDomain][space][regex for domain prefix before rootDomain][space][regex for the whole url without "http(s)://"]
@@ -75,7 +80,7 @@ The first part [rootDomain] is required and the others are optional. regex is ja
Last Modified: 3 April 2023
-enhance hosts file to add attributes to domains
+bingAI to support cors with cookies
diff --git a/en/changelog/index.html b/en/changelog/index.html
index c0df0a1..1939a7a 100644
--- a/en/changelog/index.html
+++ b/en/changelog/index.html
@@ -51,7 +51,8 @@
pagure
Change logs
-987: enhance hosts file to support domain attributes, such as lifting limitations with empty ip address.
+
988: hosts file to support response headers.
+987: enhance hosts file to support domain attributes, such as lifting limitations with empty ip address.
985: Special urls to support shortcut keys such as ctrl-a to ctrl-z.
983: support "hosts" file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.
975: Bookmarks to support styling for markdown etc.
@@ -78,7 +79,7 @@
Last Modified: 3 April 2023
-enhance hosts file to add attributes to domains
+bingAI to support cors with cookies
diff --git a/en/index.xml b/en/index.xml
index 1f9425b..d6ff861 100644
--- a/en/index.xml
+++ b/en/index.xml
@@ -196,10 +196,10 @@ github
sourceforge
powerfolder
pagure
-Main features Change logs 987: enhance hosts file to support domain attributes, such as lifting limitations with empty ip address.
+Main features Change logs 988: hosts file to support response headers.
+987: enhance hosts file to support domain attributes, such as lifting limitations with empty ip address.
985: Special urls to support shortcut keys such as ctrl-a to ctrl-z.
-983: support "hosts" file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.
-975: Bookmarks to support styling for markdown etc.
+983: support "hosts" file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.
-
diff --git a/en/searchurl/bingAI/js/bingChatHub.js b/en/searchurl/bingAI/js/bingChatHub.js
index a13f2c8..1c40007 100644
--- a/en/searchurl/bingAI/js/bingChatHub.js
+++ b/en/searchurl/bingAI/js/bingChatHub.js
@@ -439,7 +439,7 @@ async function createChat(theChatType) {
}
try {
await copyCookies(magicUrl);
- let res = await fetch(URLTrue(magicUrl, 'Create'));
+ let res = await fetch(URLTrue(magicUrl, 'Create'),{credentials: 'include'});
let resjson = await res.json();
if (!resjson.result) {
console.warn(resjson);
diff --git a/en/searchurl/sitejs/www.bing.com.js b/en/searchurl/sitejs/www.bing.com.js
index c5853a8..e225d44 100644
--- a/en/searchurl/sitejs/www.bing.com.js
+++ b/en/searchurl/sitejs/www.bing.com.js
@@ -4,6 +4,7 @@
if("https://www.bing.com/turing/conversation/create"==url){
url = "https://mybing2.xn--xyza.top/Create";
options = {
+ credentials: 'include',
headers:{},
};
}
diff --git a/en/sitemap.xml b/en/sitemap.xml
index 6a566f3..43de400 100644
--- a/en/sitemap.xml
+++ b/en/sitemap.xml
@@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
/en/_posts/
- 2023-04-03T09:03:08+08:00
+ 2023-04-03T17:48:42+08:00
/en/
- 2023-04-03T09:06:30+08:00
+ 2023-04-03T17:49:38+08:00
/en/tags/adblock/
- 2023-04-03T09:03:08+08:00
+ 2023-04-03T17:48:42+08:00
/en/adblock_domain/
- 2023-04-03T09:03:08+08:00
+ 2023-04-03T17:48:42+08:00
/en/tags/
- 2023-04-03T09:03:08+08:00
+ 2023-04-03T17:48:42+08:00
/en/topposts/
- 2023-04-03T08:59:00+08:00
+ 2023-04-03T17:49:38+08:00
/en/changelog/
- 2023-04-03T08:59:00+08:00
+ 2023-04-03T17:49:38+08:00
/en/sitemap/
2023-02-01T09:52:11+08:00
diff --git a/en/topposts/index.xml b/en/topposts/index.xml
index 68cfc58..0394192 100644
--- a/en/topposts/index.xml
+++ b/en/topposts/index.xml
@@ -64,10 +64,10 @@ github
sourceforge
powerfolder
pagure
-Main features Change logs 987: enhance hosts file to support domain attributes, such as lifting limitations with empty ip address.
+Main features Change logs 988: hosts file to support response headers.
+987: enhance hosts file to support domain attributes, such as lifting limitations with empty ip address.
985: Special urls to support shortcut keys such as ctrl-a to ctrl-z.
-983: support "hosts" file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.
-975: Bookmarks to support styling for markdown etc.
+983: support "hosts" file domain name resolving (no root needed), only single space allowed as separator for ip address and domain name.
-
diff --git a/sitemap.xml b/sitemap.xml
index b1e8b54..0433d9c 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -4,7 +4,7 @@
en/sitemap.xml
- 2023-04-03T09:06:30+08:00
+ 2023-04-03T17:49:38+08:00