mirror of https://github.com/gorhill/uBlock.git
epicker: ignore URI without a hostname
This commit is contained in:
parent
4aec3404c4
commit
0797d04074
|
@ -248,7 +248,7 @@ var netFilterFromUnion = (function() {
|
|||
var from = lastNetFilterUnion;
|
||||
|
||||
// Reset reference filter when dealing with unrelated URLs
|
||||
if ( from === '' || a.host !== lastNetFilterHostname ) {
|
||||
if ( from === '' || a.host === '' || a.host !== lastNetFilterHostname ) {
|
||||
lastNetFilterHostname = a.host;
|
||||
lastNetFilterUnion = to;
|
||||
localMessager.send({
|
||||
|
|
Loading…
Reference in New Issue