Update test page
This commit is contained in:
parent
9aaf7eeb2e
commit
f1c6599638
|
@ -43,7 +43,7 @@
|
|||
<iframe src="https://kevinroebert.gitlab.io/ClearUrls/void/index.html?ref=gitlab&test=test"
|
||||
height="1" width="1" id="void_roebert_eu_iframe" style="border:0; border:none;"></iframe>
|
||||
|
||||
<iframe src="https://kevinroebert.gitlab.io/ClearUrls/void/index.html?url=https%3A%2F%2Fkevinroebert.gitlab.io%2FClearUrls%2Fvoid%2Fbla.html"
|
||||
<iframe src="https://kevinroebert.gitlab.io/ClearUrls/void/index.html?url=https%3A%2F%2Fkevinroebert.gitlab.io%2FClearUrls%2Fvoid%2Findex.html"
|
||||
height="1" width="1" id="redirect_roebert_eu_iframe" style="border:0; border:none;"></iframe>
|
||||
|
||||
<iframe src="https://kevinroebert.gitlab.io/ClearUrls/void/index.html?url=https%3A%2F%2Fkevinroebert.gitlab.io%2FClearUrls%2Fi253.html"
|
||||
|
|
|
@ -27,7 +27,7 @@ function checkRule() {
|
|||
|
||||
let segment = $('#rules_filter_test');
|
||||
|
||||
if(resURL === 'about:blank') {
|
||||
if(resURL === 'https://kevinroebert.gitlab.io/ClearUrls/void/index.html') {
|
||||
segment.addClass('positive');
|
||||
segment.append('<i class="large smile outline icon"></i>');
|
||||
segment.append('<div class="content"><p>The tracking filter function of ClearURLs works correctly.</p></div>');
|
||||
|
@ -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('<i class="large smile outline icon"></i>');
|
||||
segment.append('<div class="content"><p>The redirection function of ClearURLs works correctly.</p></div>');
|
||||
|
@ -76,7 +76,7 @@ function checkBlock() {
|
|||
segment.append('<i class="large smile outline icon"></i>');
|
||||
segment.append('<div class="content"><p>The block function of ClearURLs works correctly.</p></div>');
|
||||
})
|
||||
.attr("src", 'https://kevinroebert.gitlab.io/ClearUrls/void/index.html');
|
||||
.attr("src", 'https://kevinroebert.gitlab.io/ClearUrls/void/block.html');
|
||||
}
|
||||
|
||||
function checkIssue253() {
|
||||
|
|
1
GitLabPages/void/block.html
Normal file
1
GitLabPages/void/block.html
Normal file
|
@ -0,0 +1 @@
|
|||
This site should be blocked by ClearURLs
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user