luci-app-adblock: sync with adblock-4.2.3-1
authorDirk Brenken <dev@brenken.org>
Sat, 23 Nov 2024 21:57:39 +0000 (22:57 +0100)
committerDirk Brenken <dev@brenken.org>
Sat, 23 Nov 2024 21:58:15 +0000 (22:58 +0100)
* add new tld option

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit cb767dc51bd8ccd0fdfda14bd99fcf47c57eea14)

applications/luci-app-adblock/Makefile
applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js

index c3134af73cf6cf18543afea8bd43be4c5192b20d..296ce160fcb8e6b0be02d968dce0db1ac5202119 100644 (file)
@@ -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
index 99773097ba1e94e0020a0f1c1f7e19395163f618..b8b0537d1b13739b3c8be370abf0cff53b8303c8 100644 (file)
@@ -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;