add Encrypted Client Hello (ECH) support for hosts

This commit is contained in:
James Feng Cao 2023-03-30 16:47:03 +08:00
parent 8741779b66
commit 7146aff7c9
12 changed files with 86 additions and 62 deletions

View 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;});
}
}

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/en/_posts/</loc>
<lastmod>2023-03-23T22:38:58+08:00</lastmod>
<lastmod>2023-03-29T07:19:36+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -29,7 +29,7 @@
/>
</url><url>
<loc>/en/</loc>
<lastmod>2023-03-23T22:38:58+08:00</lastmod>
<lastmod>2023-03-29T07:19:36+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -178,7 +178,7 @@
/>
</url><url>
<loc>/en/url2site/</loc>
<lastmod>2022-11-08T11:02:45+08:00</lastmod>
<lastmod>2023-03-29T07:19:36+08:00</lastmod>
</url><url>
<loc>/en/html5/</loc>
<lastmod>2023-02-20T21:49:16+08:00</lastmod>

View file

@ -50,12 +50,12 @@
<li>&quot;i:0mi:5h?[postfix]::[url]&quot;: auto append query postfix to url to retrieve content.</li>
<li>&quot;i:0mi:5h/[regex]/[replacement]::[url]&quot;: use the result of regular expression replacement to retrieve the content.</li>
</ul>
<p>For more complicated links such as cloud storage shared links, which needs user gestures to reach temporary generated content link, use<br>
<p>For more complicated links such as cloud storage shared links, which need user gestures to reach temporary generated content link, use<br>
&quot;i:0m/.../[local.html]:[url]&quot;, where the local file &quot;/.../[local.html]&quot; processes &quot;[url]&quot; as needed.</p>
</div>
<p>Last Modified: 8 November 2022<br>
add url2site.md<br>
<p>Last Modified: 29 March 2023<br>
add bingAI url<br>
<pre></pre>
</p>