mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-18 17:02:27 +02:00
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;
|
var from = lastNetFilterUnion;
|
||||||
|
|
||||||
// Reset reference filter when dealing with unrelated URLs
|
// Reset reference filter when dealing with unrelated URLs
|
||||||
if ( from === '' || a.host !== lastNetFilterHostname ) {
|
if ( from === '' || a.host === '' || a.host !== lastNetFilterHostname ) {
|
||||||
lastNetFilterHostname = a.host;
|
lastNetFilterHostname = a.host;
|
||||||
lastNetFilterUnion = to;
|
lastNetFilterUnion = to;
|
||||||
localMessager.send({
|
localMessager.send({
|
||||||
|
Loading…
Reference in New Issue
Block a user