qutebrowser: Fix config file, Update block lists

Updated the block lists, for qutebrowser's host blocking and its new
brave adblocking.

Fixed some errors in config file, and now formatted with black
formatter.
Should improve default javascript toggling, as well as fix the toggling
of tabs and statusbar at the same time.

I am not entirely sure why
`config-cycle -t tabs.show always switching;; config-cycle -t statusbar.show in-mode always`
works to cycle both at the same time, since (in my head) putting it like
this should *alternate* between both showing. But in fact, it does the
opposite and putting both in the same order (always not-always) will
alternate between them. Why, I do not know.
This commit is contained in:
Marty Oehme 2021-03-11 09:33:43 +01:00
parent 550f9fa4bf
commit b2af424d31
Signed by: Marty
GPG key ID: B7538B8F50A1C800
2 changed files with 11 additions and 16174 deletions

View file

@ -15,12 +15,15 @@ c.completion.web_history.max_items = 1000
c.hints.uppercase = True
c.content.blocking.enabled = True
c.content.blocking.hosts.lists = [
c.content.blocking.adblock.lists = [
"http://www.malwaredomainlist.com/hostslist/hosts.txt",
"http://someonewhocares.org/hosts/hosts",
"http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext",
"https://secure.fanboy.co.nz/fanboy-cookiemonster.txt",
]
c.content.blocking.hosts.lists = [
"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.blocking.whitelist = ["piwik.org"]
@ -42,7 +45,7 @@ js_whitelist = [
"*://localhost/*",
"*://mail.google.com/*",
"*://maps.google.com/*",
"*://*.martyoeh.me/*"
"*://*.martyoeh.me/*",
"*://news.ycombinator.com/*",
"*://old.reddit.com/*",
"*://todoist.com/*",
@ -69,7 +72,7 @@ c.tabs.position = "right"
c.tabs.width = "15%"
# give the browser nice theme colors
config.source('colorscheme.py')
config.source("colorscheme.py")
# Status bar
# should be visible to prevent 'jumping' bug,
@ -89,7 +92,10 @@ c.session.lazy_restore = True
leader = "<Space>"
# toggles ('cycles') between tabs always showing, or only when switching between them
config.bind(leader + "tt", "config-cycle -t tabs.show always switching;; config-cycle -t statusbar.show always in-mode")
config.bind(
leader + "tt",
"config-cycle -t tabs.show always switching;; config-cycle -t statusbar.show in-mode always",
)
config.bind(leader + "th", "set tabs.position bottom")
config.bind(leader + "tH", "set tabs.position top")
config.bind(leader + "tv", "set tabs.position right")

File diff suppressed because it is too large Load diff