mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-24 19:33:01 +01:00
tentatively fix #3478: need feedback from reporter
This commit is contained in:
parent
026286977e
commit
613ff9cc9b
@ -812,6 +812,12 @@ var filterDocument = (function() {
|
||||
};
|
||||
|
||||
return function(pageStore, details) {
|
||||
// https://github.com/gorhill/uBlock/issues/3478
|
||||
var statusCode = details.statusCode || 0;
|
||||
if ( statusCode !== 0 && (statusCode < 200 || statusCode >= 300) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
var hostname = µb.URI.hostnameFromURI(details.url);
|
||||
if ( hostname === '' ) { return; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user