mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-05-19 03:33:17 +12:00
Fix as suggested in https://github.com/uBlockOrigin/uMatrix-issues/issues/74#issuecomment-450693314
This commit is contained in:
parent
3cc56afe63
commit
d98808bc65
|
@ -510,14 +510,14 @@ vAPI.net.onBeforeRequest = {
|
|||
};
|
||||
|
||||
vAPI.net.onBeforeSendHeaders = {
|
||||
extra: [ 'blocking', 'requestHeaders' ],
|
||||
extra: [ 'blocking', 'requestHeaders', 'extraHeaders' ],
|
||||
callback: onBeforeSendHeadersHandler
|
||||
};
|
||||
|
||||
vAPI.net.onHeadersReceived = {
|
||||
urls: [ 'http://*/*', 'https://*/*' ],
|
||||
types: [ 'main_frame', 'sub_frame' ],
|
||||
extra: [ 'blocking', 'responseHeaders' ],
|
||||
extra: [ 'blocking', 'responseHeaders', 'extraHeaders' ],
|
||||
callback: onHeadersReceived
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue