From 2670fc48dc4c6b3f40e4eee425cf2d5c021b279d Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Sat, 23 Nov 2024 22:57:39 +0100 Subject: [PATCH] luci-app-adblock: sync with adblock-4.2.3-1 * add new tld option Signed-off-by: Dirk Brenken (cherry picked from commit cb767dc51bd8ccd0fdfda14bd99fcf47c57eea14) --- applications/luci-app-adblock/Makefile | 2 +- .../htdocs/luci-static/resources/view/adblock/overview.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/applications/luci-app-adblock/Makefile b/applications/luci-app-adblock/Makefile index c3134af73c..296ce160fc 100644 --- a/applications/luci-app-adblock/Makefile +++ b/applications/luci-app-adblock/Makefile @@ -1,4 +1,4 @@ -# Copyright 2017-2023 Dirk Brenken (dev@brenken.org) +# Copyright 2017-2024 Dirk Brenken (dev@brenken.org) # This is free software, licensed under the Apache License, Version 2.0 include $(TOPDIR)/rules.mk diff --git a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js index 99773097ba..b8b0537d1b 100644 --- a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js +++ b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js @@ -333,6 +333,10 @@ return view.extend({ o.value('5353'); o.rmempty = true; + o = s.taboption('general', form.Flag, 'adb_tld', _('TLD Compression'), _('The top level domain compression removes thousands of needless host entries from the final DNS blocklist.')); + o.default = 1 + o.rmempty = true; + o = s.taboption('general', form.Flag, 'adb_safesearch', _('Enable SafeSearch'), _('Enforcing SafeSearch for google, bing, duckduckgo, yandex, youtube and pixabay.')); o.rmempty = false; -- 2.30.2