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.
This commit is contained in:
Marty Oehme 2021-02-18 10:38:38 +01:00
parent 5973de3425
commit 1b27c2eac5
Signed by: Marty
GPG key ID: B7538B8F50A1C800

View file

@ -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={}",
}