1
0
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:
kkapsner 2017-12-19 23:00:35 +01:00
parent 30a3f9ea83
commit 4348c71b55

View File

@ -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){