update qutebrowser and use tracking-aware headers

This commit is contained in:
Felix Van der Jeugt 2018-07-05 17:29:04 +02:00
parent 697562998f
commit 58d512d8d4
No known key found for this signature in database
GPG Key ID: 58B209295023754D
2 changed files with 6 additions and 4 deletions

View File

@ -8,7 +8,9 @@ c.confirm_quit = ["downloads"]
# c.content.developer_extras = True
c.content.javascript.enabled = False
c.content.ssl_strict = True
c.content.headers.accept_language = "en-US"
c.content.headers.accept_language = "en-US,en;q=0.5"
c.content.headers.custom = { "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" }
c.content.headers.user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36"
c.downloads.location.directory = "/data/temporary"
c.downloads.location.suggestion = "both"
c.downloads.open_dispatcher = "rifle"

View File

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