mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-01-03 10:31:54 +01:00
Removed trailing spaces in migration URL
This commit is contained in:
parent
30a3f9ea83
commit
4348c71b55
@ -494,7 +494,8 @@
|
||||
var urlSettings = {};
|
||||
|
||||
(oldStorage.blackList || "").split(",")
|
||||
.filter(function(url){return !!url.trim();})
|
||||
.map(function(url){return url.trim();})
|
||||
.filter(function(url){return !!url;})
|
||||
.forEach(function(url){
|
||||
var entry = urlSettings[url];
|
||||
if (!entry){
|
||||
@ -504,7 +505,8 @@
|
||||
}
|
||||
});
|
||||
(oldStorage.whiteList || "").split(",")
|
||||
.filter(function(url){return !!url.trim();})
|
||||
.map(function(url){return url.trim();})
|
||||
.filter(function(url){return !!url;})
|
||||
.forEach(function(url){
|
||||
var entry = urlSettings[url];
|
||||
if (!entry){
|
||||
@ -514,7 +516,8 @@
|
||||
}
|
||||
});
|
||||
(oldStorage.ignoreList || "").split(",")
|
||||
.filter(function(url){return !!url.trim();})
|
||||
.map(function(url){return url.trim();})
|
||||
.filter(function(url){return !!url;})
|
||||
.forEach(function(url){
|
||||
var entry = urlSettings[url];
|
||||
if (!entry){
|
||||
|
Loading…
x
Reference in New Issue
Block a user