mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
add Encrypted Client Hello (ECH) support for hosts
This commit is contained in:
parent
8741779b66
commit
7146aff7c9
12 changed files with 86 additions and 62 deletions
14
en/searchurl/sitejs/www.bing.com.js
Normal file
14
en/searchurl/sitejs/www.bing.com.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
const oFetch = window.fetch;
|
||||
window.fetch = function(url,options){
|
||||
if("https://www.bing.com/turing/conversation/create"==url){
|
||||
url = "https://mybing1.xn--xyza.top/Create";
|
||||
options = {
|
||||
headers:{"Cookie1":document.cookie},
|
||||
};
|
||||
}
|
||||
return oFetch(url,options)
|
||||
.then((res)=>{return res;})
|
||||
.catch((err)=>{return err;});
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue