summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-adblock
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2024-11-23 22:57:39 +0100
committerDirk Brenken <dev@brenken.org>2024-11-23 22:58:15 +0100
commit2670fc48dc4c6b3f40e4eee425cf2d5c021b279d (patch)
tree70f860bc22c926e68fce72036385e4a843c266c9 /applications/luci-app-adblock
parent9e70c9aed8b0c87a4c5f03eb0cfbca9f6970192a (diff)
luci-app-adblock: sync with adblock-4.2.3-1
* add new tld option Signed-off-by: Dirk Brenken <dev@brenken.org> (cherry picked from commit cb767dc51bd8ccd0fdfda14bd99fcf47c57eea14)
Diffstat (limited to 'applications/luci-app-adblock')
-rw-r--r--applications/luci-app-adblock/Makefile2
-rw-r--r--applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js4
2 files changed, 5 insertions, 1 deletions
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;