hello,
thanks for developing qutebrowser.
I have some questions:
1. Is this a bug?
":help open:" throws "blocked through an extension" (may jblock?)
2. Slower startup after doing some configuration
There is a percentage status after start qutebrowser, while loading the
startpage.
Something wrong with my config.py? Any suggestions for better performance?
3.I've read that this might increase the performance to use
c.bindings.default = {}.
Is that true?
4. Is it possible to open the startpage to a new tab and directly change
to insert-mode?
(see my keybinding for 't' in normal mode)
Best Regards
Andrew
import sys, os
# Autogenerated config.py
# Documentation:
# qute://help/configuring.html
# qute://help/settings.html
# Uncomment this to still load settings configured via autoconfig.yml
# config.load_autoconfig()
# Enable JavaScript.
# Type: Bool
config.set('content.javascript.enabled', True, 'file://*')
# Enable JavaScript.
# Type: Bool
config.set('content.javascript.enabled', True, 'chrome://*/*')
# Enable JavaScript.
# Type: Bool
config.set('content.javascript.enabled', True, 'qute://*/*')
# Custom settings
c.fonts.monospace = "Hack"
c.scrolling.smooth = True
# Aliases
# Custom key binding
mode = 'caret'
config.bind('L', 'move-to-end-of-line', mode=mode)
config.bind('H', 'move-to-start-of-line', mode=mode)
config.bind('jk', 'leave-mode', mode=mode)
config.bind('ö', 'move-to-start-of-next-block', mode=mode)
config.bind('ä', 'move-to-end-of-next-block', mode=mode)
mode = 'insert'
config.bind('jk', 'leave-mode', mode=mode)
mode = 'normal'
config.bind('<x>', 'tab-close', mode=mode)
config.bind('<X>', 'tab-close -o', mode=mode)
config.bind('<j><k>', 'leave-mode', mode=mode)
config.bind('<g><H>', 'tab-focus 1', mode=mode)
config.bind('<g><L>', 'tab-focus -1', mode = mode)
config.bind('<t>', 'open -t https://start.duckduckgo.com', mode=mode)
# add qute-pass userscript to binding
# https://gist.github.com/cryzed/d3e5cf53cea25ac9fc87a758c6136ae7
# pip install --user tldextract
config.bind('<z><f>', 'spawn --userscript qute-pass', mode)
config.bind('<z><u>', 'spawn --userscript qute-pass --username-only', mode)
config.bind('<z><p>', 'spawn --userscript qute-pass --password-only', mode)
config.bind('<z><o>', 'spawn --userscript qute-pass --otp-only', mode)
# add jblock adblocker to qutebrowser
config.set('content.host_blocking.enabled', False)
sys.path.append(os.path.join(sys.path[0], 'jblock'))
config.source("jblock/jblock/integrations/qutebrowser.py")
config.set(
"content.host_blocking.lists",
[
"https://easylist.to/easylist/easylist.txt",
"https://easylist.to/easylist/easyprivacy.txt",
"https://easylist.to/easylist/fanboy-annoyance.txt",
"https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/filters.txt",
"https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/annoyances.txt", "https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/badware.txt",
"https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/privacy.txt",
"https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/resource-abuse.txt",
"https://www.malwaredomainlist.com/hostslist/hosts.txt",
"https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=1&mimetype=plaintext",
],
)