From: Samir Benmendil Date: Sat, 26 Sep 2020 13:42:19 +0000 (+0100) Subject: qutebrowser: disable geolocation by default, add binding to enable per site X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/c9d95e2cff8f7c4e3d041a4916e65040f782045d?ds=sidebyside qutebrowser: disable geolocation by default, add binding to enable per site --- diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 746c785..7a7e6ec 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -619,7 +619,7 @@ c.content.dns_prefetch = True ## - true ## - false ## - ask -# c.content.geolocation = 'ask' +c.content.geolocation = False ## Value to send in the `Accept-Language` header. Note that the value ## read from JavaScript is always the global value. @@ -1848,6 +1848,8 @@ config.bind('tCH', 'spawn --userscript config-cycle-tld -p content.cookies.ac config.bind('tCh', 'spawn --userscript config-cycle-tld -p content.cookies.accept no-3rdparty never;; reload') config.bind('tcH', 'spawn --userscript config-cycle-tld -p -t content.cookies.accept no-3rdparty never;; reload') config.bind('tch', 'spawn --userscript config-cycle-tld -p -t content.cookies.accept no-3rdparty never;; reload') +config.bind('tGh', 'spawn --userscript config-cycle-tld -p content.geolocation ;; reload') +config.bind('tgh', 'spawn --userscript config-cycle-tld -p -t content.geolocation ;; reload') # config.bind('tIH', 'config-cycle -p -u *://*.{url:host}/* content.images ;; reload') # config.bind('tIh', 'config-cycle -p -u *://{url:host}/* content.images ;; reload') # config.bind('tIu', 'config-cycle -p -u {url} content.images ;; reload')