diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-03-23 17:07:49 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-03-23 17:07:49 +0100 |
commit | 55f5a827a7abc2f248c2405e1977222062b88e6b (patch) | |
tree | 9c49e8fa9b96072ee8c8e4b7ff0e82cd322be1f0 /lib | |
parent | poi-config saving config (diff) | |
download | smolbote-55f5a827a7abc2f248c2405e1977222062b88e6b.tar.xz |
Cookie filter
- Requires Qt 5.11 (now required)
- New settings: filter.cookies: block.all, block.thirdParty, path
Diffstat (limited to 'lib')
-rw-r--r-- | lib/configuration/configuration.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/configuration/configuration.cpp b/lib/configuration/configuration.cpp index c9bae90..75d0a5b 100644 --- a/lib/configuration/configuration.cpp +++ b/lib/configuration/configuration.cpp @@ -60,6 +60,9 @@ Configuration::Configuration() // Filter settings ("filter.path", po::value<std::string>()->default_value("~/.config/smolbote/hosts.d")) + ("filter.cookies.block.all", po::value<bool>()->default_value(false)) + ("filter.cookies.block.thirdParty", po::value<bool>()->default_value(true)) + ("filter.cookies.path", po::value<std::string>()->default_value("~/.config/smolbote/cookies.d")) // Plugin settings ("plugins.path", po::value<std::string>()->default_value("~/.config/smolbote/plugins.d")) |