mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-04 10:09:38 +02:00
this fixes #1033
This commit is contained in:
parent
332653284d
commit
cbd0e1d126
@ -109,7 +109,9 @@ var onAbpLinkClicked = function(ev) {
|
||||
}
|
||||
|
||||
// List already subscribed to?
|
||||
var externalLists = details.externalLists.trim().split(/\s+/);
|
||||
// https://github.com/gorhill/uBlock/issues/1033
|
||||
// Split on line separators, not whitespaces.
|
||||
var externalLists = details.externalLists.trim().split(/\s*[\n\r]+\s*/);
|
||||
if ( externalLists.indexOf(location) !== -1 ) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user