Raymond Hill 6 years ago
parent 0da9645d91
commit d6471b3556
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

@ -203,9 +203,11 @@ var onBeforeSendHeadersHandler = function(details) {
const requestHeaders = details.requestHeaders; const requestHeaders = details.requestHeaders;
// https://github.com/uBlockOrigin/uMatrix-issues/issues/155 // https://github.com/uBlockOrigin/uMatrix-issues/issues/155
// https://github.com/uBlockOrigin/uMatrix-issues/issues/159
// TODO: import all filtering context improvements from uBO. // TODO: import all filtering context improvements from uBO.
const srcHn = µmuri.hostnameFromURI(details.documentUrl) || const srcHn = tabId >= 0
pageStore.pageHostname; ? pageStore.pageHostname
: µmuri.hostnameFromURI(details.documentUrl) || pageStore.pageHostname;
// https://github.com/gorhill/httpswitchboard/issues/342 // https://github.com/gorhill/httpswitchboard/issues/342
// Is this hyperlink auditing? // Is this hyperlink auditing?

Loading…
Cancel
Save