+ Your ClearURLs version is vulnerable to the problem from issue 253.
+ Please update your ClearURLs installation to at least version 1.8.3 or higher.
+
+ On this page you can automatically check whether ClearURLs works correctly.
+ If you are using an obsolete ClearURLs version that is affected by a potential security vulnerability,
+ you will also be notified on this page.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/public/js/scripts.js b/public/js/scripts.js
new file mode 100644
index 0000000..0367d7c
--- /dev/null
+++ b/public/js/scripts.js
@@ -0,0 +1,113 @@
+/*
+* ClearURLs
+* Copyright (c) 2017-2019 Kevin Röbert
+*
+* This program is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License as published by
+* the Free Software Foundation, either version 3 of the License, or
+* (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public License
+* along with this program. If not, see .
+*/
+
+/*jshint esversion: 6 */
+function checkRule() {
+ let resURL;
+ try {
+ resURL = document.getElementById("void_roebert_eu_iframe").contentWindow.location.href;
+ } catch(e) {
+ resURL = "error";
+ }
+
+ let segment = $('#rules_filter_test');
+
+ if(resURL === 'https://kevinroebert.gitlab.io/clearurls/void/index.html') {
+ segment.addClass('positive');
+ segment.append('');
+ segment.append('
The tracking filter function of ClearURLs works correctly.
Your ClearURLs version is vulnerable to the problem from issue 253. ' +
+ 'Please update your ClearURLs installation to at least version 1.8.3 or higher.