From ac3888e23606c98402f5a55e52a4bdd3814e5260 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Thu, 25 Oct 2018 16:51:15 +0200 Subject: [PATCH] more whitelisting, might need softwarerendering later, navigate in prompt --- config/qutebrowser/config.py | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py index f249909..b7f950b 100644 --- a/config/qutebrowser/config.py +++ b/config/qutebrowser/config.py @@ -3,6 +3,8 @@ config.backend = "webengine" config.load_autoconfig = False +# c.qt.force_software_rendering = "software-opengl" + c.completion.shrink = True c.confirm_quit = ["downloads"] # c.content.developer_extras = True @@ -36,19 +38,10 @@ config.bind("", "back", mode="normal") config.bind("x", "spawn --detach mpv {url}", mode="normal") config.bind(";x", "hint links spawn --detach mpv {hint-url}", mode="normal") config.bind("si", "jseval --quiet --file simplyread.js", mode="normal") -config.bind("z", 'enter-mode insert ;; \ - jseval --quiet \ - var inputs = document.getElementsByTagName("input"); \ - for(var i = 0; i < inputs.length; i++) { \ - var hidden = false; \ - for(var j = 0; j < inputs[i].attributes.length; j++) { \ - hidden = hidden || inputs[i].attributes[j].value.includes("hidden"); \ - }; \ - if(!hidden) { \ - inputs[i].focus(); \ - break; \ - } \ - }', mode="normal") +config.bind("", "prompt-item-focus next", mode="prompt") +config.bind("", "prompt-item-focus prev", mode="prompt") +config.bind("", "fake-key -g /", mode="prompt") +config.bind("", "rl-unix-filename-rubout", mode="prompt") # I don't use bookmarks config.unbind('wB') @@ -67,6 +60,7 @@ allowed = [ 'https://duckduckgo.com/*' , 'https://belgium-3dsecure.wlp-acs.com/*' # bancontact , 'https://bcr.girogate.be/*' # bancontact , 'https://*.axabank.be/*' + , 'https://*.triodos.be/*' , 'https://*.ing.be/*' , 'https://accounts.google.com/*' , 'https://www.openstreetmap.org/*'