From 1b27c2eac537f11dd21a7fc245b6699d14f62afb Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Thu, 18 Feb 2021 10:38:38 +0100 Subject: [PATCH] qutebrowser: Updated host blocking options to v2 qutebrowser 2.0 changed the option names for host blocking, and this update simply fixes that change accordingly. See your qute://help/changelog.html#v2.0.0 file. --- qutebrowser/.config/qutebrowser/config.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py index e7dcddf..6c87453 100644 --- a/qutebrowser/.config/qutebrowser/config.py +++ b/qutebrowser/.config/qutebrowser/config.py @@ -14,15 +14,15 @@ config.load_autoconfig() c.completion.web_history.max_items = 1000 c.hints.uppercase = True -c.content.host_blocking.enabled = True -c.content.host_blocking.lists = [ +c.content.blocking.enabled = True +c.content.blocking.hosts.lists = [ "http://www.malwaredomainlist.com/hostslist/hosts.txt", "http://someonewhocares.org/hosts/hosts", "http://winhelp2002.mvps.org/hosts.zip", "http://malwaredomains.lehigh.edu/files/justdomains.zip", "http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext", ] -c.content.host_blocking.whitelist = ["piwik.org"] +c.content.blocking.whitelist = ["piwik.org"] c.content.autoplay = False c.content.pdfjs = False @@ -174,4 +174,5 @@ c.url.searchengines = { "sci": "https://sci-hub.se/{}", "kb": "https://soeg.kb.dk/discovery/search?query=any,contains,{}&tab=Everything&search_scope=MyInst_and_CI&vid=45KBDK_KGL:KGL&offset=0&lang=en", "alt": "https://alternativeto.net/software/{}/?license=opensource", + "hn": "https://hn.algolia.com/?q={}", }