bg.js
This commit is contained in:
parent
ee95358eba
commit
44b2183135
|
@ -7,7 +7,7 @@ chrome.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