update qutebrowser and allow javascript on paypal and argenta

This commit is contained in:
Felix Van der Jeugt 2019-04-18 17:11:10 +02:00
parent dcc9b95bcb
commit f93db6c456
No known key found for this signature in database
GPG Key ID: 58B209295023754D
2 changed files with 8 additions and 6 deletions

View File

@ -32,9 +32,9 @@ c.tabs.last_close = "close"
c.tabs.show = "multiple" c.tabs.show = "multiple"
c.url.default_page = "about:blank" c.url.default_page = "about:blank"
c.url.start_pages = ["qute://bookmarks"] c.url.start_pages = ["qute://bookmarks"]
c.url.searchengines = { "DEFAULT": "https://startpage.com/do/search?query={}" c.url.searchengines = { "startpage": "https://startpage.com/do/search?query={}"
, "ecosia": "https://www.ecosia.org/search?q={}" , "ecosia": "https://www.ecosia.org/search?q={}"
, "ddg": "https://duckduckgo.com/?q={}" , "DEFAULT": "https://3g2upl4pq6kufc4m.onion/html?q={}"
} }
c.aliases = { "wq": "quit --save" c.aliases = { "wq": "quit --save"
, "set": "set -t" , "set": "set -t"
@ -59,7 +59,7 @@ config.unbind('Sb')
# Allowing javascript for... # Allowing javascript for...
allowed = [ 'https://duckduckgo.com/*' allowed = [ 'https://duckduckgo.com/*'
, 'https://calendar.google.com/*' , 'https://calendar.google.com/*'
, 'https://www.facebook.com/*' , 'https://www.facebookcorewwwi.onion/*'
, 'https://www.glowing-bear.org/*' , 'https://www.glowing-bear.org/*'
, 'https://github.com/*' , 'https://github.com/*'
, 'https://*.ugent.be/*' , 'https://*.ugent.be/*'
@ -77,6 +77,8 @@ allowed = [ 'https://duckduckgo.com/*'
, 'https://posteo.de/*' , 'https://posteo.de/*'
, 'https://doc.rust-lang.org/*' , 'https://doc.rust-lang.org/*'
, 'https://www.paypal.com/*' , 'https://www.paypal.com/*'
, 'https://www.paypal-topup.be/*'
, 'https://homebank.argenta.be/*'
] ]
for pattern in allowed: for pattern in allowed:

View File

@ -1,6 +1,6 @@
#!/usr/bin/python3 #!/usr/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'qutebrowser==1.5.2','gui_scripts','qutebrowser' # EASY-INSTALL-ENTRY-SCRIPT: 'qutebrowser==1.6.0','gui_scripts','qutebrowser'
__requires__ = 'qutebrowser==1.5.2' __requires__ = 'qutebrowser==1.6.0'
import re import re
import sys import sys
from pkg_resources import load_entry_point from pkg_resources import load_entry_point
@ -8,5 +8,5 @@ from pkg_resources import load_entry_point
if __name__ == '__main__': if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit( sys.exit(
load_entry_point('qutebrowser==1.5.2', 'gui_scripts', 'qutebrowser')() load_entry_point('qutebrowser==1.6.0', 'gui_scripts', 'qutebrowser')()
) )