more whitelisting, might need softwarerendering later, navigate in prompt

This commit is contained in:
Felix Van der Jeugt 2018-10-25 16:51:15 +02:00
parent 2849948c34
commit ac3888e236
No known key found for this signature in database
GPG Key ID: 58B209295023754D

View File

@ -3,6 +3,8 @@
config.backend = "webengine" config.backend = "webengine"
config.load_autoconfig = False config.load_autoconfig = False
# c.qt.force_software_rendering = "software-opengl"
c.completion.shrink = True c.completion.shrink = True
c.confirm_quit = ["downloads"] c.confirm_quit = ["downloads"]
# c.content.developer_extras = True # c.content.developer_extras = True
@ -36,19 +38,10 @@ config.bind("<backspace>", "back", mode="normal")
config.bind("x", "spawn --detach mpv {url}", 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(";x", "hint links spawn --detach mpv {hint-url}", mode="normal")
config.bind("si", "jseval --quiet --file simplyread.js", mode="normal") config.bind("si", "jseval --quiet --file simplyread.js", mode="normal")
config.bind("z", 'enter-mode insert ;; \ config.bind("<Alt+j>", "prompt-item-focus next", mode="prompt")
jseval --quiet \ config.bind("<Alt+k>", "prompt-item-focus prev", mode="prompt")
var inputs = document.getElementsByTagName("input"); \ config.bind("<Alt+l>", "fake-key -g /", mode="prompt")
for(var i = 0; i < inputs.length; i++) { \ config.bind("<Alt+h>", "rl-unix-filename-rubout", mode="prompt")
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")
# I don't use bookmarks # I don't use bookmarks
config.unbind('wB') config.unbind('wB')
@ -67,6 +60,7 @@ allowed = [ 'https://duckduckgo.com/*'
, 'https://belgium-3dsecure.wlp-acs.com/*' # bancontact , 'https://belgium-3dsecure.wlp-acs.com/*' # bancontact
, 'https://bcr.girogate.be/*' # bancontact , 'https://bcr.girogate.be/*' # bancontact
, 'https://*.axabank.be/*' , 'https://*.axabank.be/*'
, 'https://*.triodos.be/*'
, 'https://*.ing.be/*' , 'https://*.ing.be/*'
, 'https://accounts.google.com/*' , 'https://accounts.google.com/*'
, 'https://www.openstreetmap.org/*' , 'https://www.openstreetmap.org/*'