summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-simple-adblock/htdocs/luci-static/resources/view
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2023-04-03 21:27:48 +0000
committerStan Grishin <stangri@melmac.ca>2023-04-03 21:27:54 +0000
commitb7be432ba79e1320661a7a92d2203358bcbde88c (patch)
treeea9096fd2db96b5be541dd10ae6599a93bf9bffd /applications/luci-app-simple-adblock/htdocs/luci-static/resources/view
parent2145121d4cf766e8ea3340e08f8bc76ba5c513fc (diff)
luci-app-simple-adblock: update to 1.9.5
* update to support corresponding principal package Signed-off-by: Stan Grishin <stangri@melmac.ca>
Diffstat (limited to 'applications/luci-app-simple-adblock/htdocs/luci-static/resources/view')
-rw-r--r--applications/luci-app-simple-adblock/htdocs/luci-static/resources/view/simple-adblock/overview.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-app-simple-adblock/htdocs/luci-static/resources/view/simple-adblock/overview.js b/applications/luci-app-simple-adblock/htdocs/luci-static/resources/view/simple-adblock/overview.js
index dd311cd497..8dd94cc1cf 100644
--- a/applications/luci-app-simple-adblock/htdocs/luci-static/resources/view/simple-adblock/overview.js
+++ b/applications/luci-app-simple-adblock/htdocs/luci-static/resources/view/simple-adblock/overview.js
@@ -136,6 +136,13 @@ return view.extend({
o.value("1", _("Store compressed cache"));
o.default = ("0", _("Do not store compressed cache"));
+ o = s.taboption("tab_advanced", form.Value, "compressed_cache_dir", _("Directory for compressed cache file"),
+ _("Directory for compressed cache file of block-list in the persistent memory."));
+ o.datatype = 'string';
+ o.rmempty = true;
+ o.default = ("/etc");
+ o.depends('compressed_cache', '1');
+
o = s.taboption("tab_advanced", form.ListValue, "debug", _("Enable Debugging"),
_("Enables debug output to /tmp/simple-adblock.log."));
o.value("0", _("Disable Debugging"));
@@ -157,6 +164,10 @@ return view.extend({
_("URLs to lists of domains to be allowed."));
o.depends('dnsmasq_config_file_url', '');
o.addremove = true;
+ o = s.option(form.DynamicList, "blocked_adblockplus_url", _("Blocked AdBlockPlus-style URLs"),
+ _("URLs to lists of AdBlockPlus-style formatted domains to be blocked."));
+ o.depends('dnsmasq_config_file_url', '');
+ o.addremove = true;
o = s.option(form.DynamicList, "blocked_domain", _("Blocked Domains"),
_("Individual domains to be blocked."));
o.depends('dnsmasq_config_file_url', '');