update qutebrowser and use tracking-aware headers
This commit is contained in:
parent
697562998f
commit
58d512d8d4
@ -8,7 +8,9 @@ c.confirm_quit = ["downloads"]
|
|||||||
# c.content.developer_extras = True
|
# c.content.developer_extras = True
|
||||||
c.content.javascript.enabled = False
|
c.content.javascript.enabled = False
|
||||||
c.content.ssl_strict = True
|
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.directory = "/data/temporary"
|
||||||
c.downloads.location.suggestion = "both"
|
c.downloads.location.suggestion = "both"
|
||||||
c.downloads.open_dispatcher = "rifle"
|
c.downloads.open_dispatcher = "rifle"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
# EASY-INSTALL-ENTRY-SCRIPT: 'qutebrowser==1.3.3','gui_scripts','qutebrowser'
|
# EASY-INSTALL-ENTRY-SCRIPT: 'qutebrowser==1.4.0','gui_scripts','qutebrowser'
|
||||||
__requires__ = 'qutebrowser==1.3.3'
|
__requires__ = 'qutebrowser==1.4.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.3.3', 'gui_scripts', 'qutebrowser')()
|
load_entry_point('qutebrowser==1.4.0', 'gui_scripts', 'qutebrowser')()
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user