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