The tracking filter function of ClearURLs works correctly.
');
@@ -49,7 +49,7 @@ function checkRedirection() {
let segment = $('#redirection_filter_test');
- if(resURL === 'https://kevinroebert.gitlab.io/ClearUrls/void/bla.html') {
+ if(resURL === 'https://kevinroebert.gitlab.io/ClearUrls/void/index.html') {
segment.addClass('positive');
segment.append('The redirection function of ClearURLs works correctly.
');
@@ -76,7 +76,7 @@ function checkBlock() {
segment.append('The block function of ClearURLs works correctly.
');
})
- .attr("src", 'https://kevinroebert.gitlab.io/ClearUrls/void/index.html');
+ .attr("src", 'https://kevinroebert.gitlab.io/ClearUrls/void/block.html');
}
function checkIssue253() {
diff --git a/GitLabPages/void/block.html b/GitLabPages/void/block.html
new file mode 100644
index 0000000..9e3affc
--- /dev/null
+++ b/GitLabPages/void/block.html
@@ -0,0 +1 @@
+This site should be blocked by ClearURLs
\ No newline at end of file
diff --git a/data/data.min.json b/data/data.min.json
index ef3c1de..c7797ca 100644
--- a/data/data.min.json
+++ b/data/data.min.json
@@ -1289,7 +1289,7 @@
},
"ClearURLsTest": {
"urlPattern": "(https:\\/\\/|http:\\/\\/)(kevinroebert\\.gitlab\\.io)\\/ClearUrls\\/void\\/index\\.html.*",
- "completeProvider": true,
+ "completeProvider": false,
"rules": [
"test"
],
@@ -1300,6 +1300,16 @@
".*url=([^&]*)"
],
"forceRedirection": false
+ },
+ "ClearURLsTestBlock": {
+ "urlPattern": "(https:\\/\\/|http:\\/\\/)(kevinroebert\\.gitlab\\.io)\\/ClearUrls\\/void\\/block\\.html.*",
+ "completeProvider": true,
+ "rules": [],
+ "referralMarketing": [],
+ "rawRules": [],
+ "exceptions": [],
+ "redirections": [],
+ "forceRedirection": false
}
}
}