From edad875768e00d72ca64cb36d0aa700636e1b0e8 Mon Sep 17 00:00:00 2001 From: nobody Date: Fri, 30 Jul 2021 21:25:37 +0200 Subject: [PATCH] Improved: FAQ and options page about generated rules --- pages/help/help.html | 4 +++- pages/options/options-advanced.js | 1 - pages/options/options.html | 2 +- pages/updates/updates.html | 2 ++ 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pages/help/help.html b/pages/help/help.html index 957e5928..514b45de 100644 --- a/pages/help/help.html +++ b/pages/help/help.html @@ -55,7 +55,9 @@

Rule generator

-

If you want to automatically redirect all supported CDN connections to LocalCDN, you can add these rules to your adblocker to allow these redirections. If you do not want to add these rules, you must allow each CDN connection individually for each website.

+

+ If you want to automatically redirect all supported CDN connections to LocalCDN, you can add these rules to your adblocker to allow these redirections. If you do not want to add these rules, you must allow each CDN connection individually for each website. + More information about the generated rules

Only uBlock Origin:

These rules are only relevant in "medium" or "hard" mode, because it blocks all 3rd-party resources. They are not necessary in "default", "easy" or "very-easy" mode. For more information, please visit the uBlock Origin Wiki.

diff --git a/pages/options/options-advanced.js b/pages/options/options-advanced.js index 4f785c93..daa1ea7f 100644 --- a/pages/options/options-advanced.js +++ b/pages/options/options-advanced.js @@ -98,5 +98,4 @@ optionsAdvanced.init = function (opt) { document.getElementById('generate-noscript-rules').addEventListener('change', ruleGenerator.openRuleSet); document.getElementById('button-copy-rule-set').addEventListener('click', ruleGenerator.copyRuleSet); document.getElementById('negate-html-filter-list-warning').addEventListener('click', function () { options._onLinkClick(Links.CODEBERG_HTML_FILTER); }); - document.getElementById('ruleset-help').addEventListener('click', function () { options._onLinkClick(Links.CODEBERG_RULESET); }); }; diff --git a/pages/options/options.html b/pages/options/options.html index e1e70a54..9139cbef 100644 --- a/pages/options/options.html +++ b/pages/options/options.html @@ -198,7 +198,7 @@
- + Generate rule set diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 6dfb53ee..86e89ed3 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -38,6 +38,8 @@
  • Fixed: Version detection of Vue.js
  • Fixed: Latest version of toastr.js (#590)
  • +
    +
  • Improved: FAQ and options page about generated rules