summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-simple-adblock/htdocs/luci-static/resources/view/simple-adblock
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-simple-adblock/htdocs/luci-static/resources/view/simple-adblock')
-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', '');