mirror of
https://git.fuwafuwa.moe/you/stop_cloudflare
synced 2024-12-27 07:23:20 +01:00
bg.js
This commit is contained in:
parent
13e2c605f1
commit
2ad2b53b49
@ -7,7 +7,7 @@ browser.webRequest.onResponseStarted.addListener(i => {
|
|||||||
}
|
}
|
||||||
let iServer = '?';
|
let iServer = '?';
|
||||||
i.responseHeaders.forEach(x => {
|
i.responseHeaders.forEach(x => {
|
||||||
if (x.name == 'Server' || x.name == 'server') {
|
if (x.name.toLowerCase() == 'server') {
|
||||||
iServer = x.value;
|
iServer = x.value;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user