mirror of https://github.com/torappinfo/uweb
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
373 B
JavaScript
15 lines
373 B
JavaScript
2 years ago
|
{
|
||
|
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;});
|
||
|
}
|
||
|
}
|