summaryrefslogtreecommitdiffstats
path: root/qutebrowser/config.py
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2021-03-30 15:01:49 +0100
committerMatthew Lemon <matt@matthewlemon.com>2021-03-30 15:01:49 +0100
commit3b32a5c74150eb76ac84fef50ddbb47075167c4d (patch)
tree27851d3f94449a7b3d8a0a32b093d0910585b22f /qutebrowser/config.py
parentd070d74c5572a03b76ec831a2ac9035d7389e332 (diff)
config for cwmrc
Diffstat (limited to '')
-rw-r--r--qutebrowser/config.py23
1 files changed, 18 insertions, 5 deletions
diff --git a/qutebrowser/config.py b/qutebrowser/config.py
index 3cbb189..55eac39 100644
--- a/qutebrowser/config.py
+++ b/qutebrowser/config.py
@@ -33,8 +33,20 @@ config.set('content.images', False, '*://www.bbc.co.uk/*')
#config.set('content.javascript.enabled', False, '*://www.telegraph.co.uk/*')
config.set('content.javascript.enabled', True, '*://office.com/*')
config.set('content.javascript.enabled', True, '*://microsoft.com/*')
-
-c.content.javascript.enabled = False
+config.set('content.javascript.enabled', True, '*://google.co.uk/*')
+config.set('content.javascript.enabled', True, '*://google.com/*')
+config.set('content.javascript.enabled', True, '*://todoist.com/*')
+config.set('content.javascript.enabled', True, '*://*.calendar.google.com/*')
+config.set('content.javascript.enabled', True, '*://*.mail.protonmail.com/*')
+config.set('content.javascript.enabled', True, '*://*.todoist.com/*')
+config.set('content.javascript.enabled', True, '*://*.vault.bitwarden.com/*')
+config.set('content.javascript.enabled', True, '*://*.www.google.com/*')
+config.set('content.javascript.enabled', True, '*://device.login.microsoftonline.com/*')
+config.set('content.javascript.enabled', True, '*://login.microsoftonline.com/*')
+config.set('content.javascript.enabled', True, '*://www.office.com/*')
+config.set('content.javascript.enabled', True, '*://www.youtube.com/*')
+
+c.content.javascript.enabled = True
## Backend to use to display websites. qutebrowser supports two different
@@ -1477,9 +1489,9 @@ c.tabs.close_mouse_button = 'middle'
## used by prepending the search engine name to the search term, e.g.
## `:open google qutebrowser`.
## Type: Dict
-#c.url.searchengines = {'DEFAULT': 'https://www.google.co.uk/#q={}'}
-c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}'}
-#c.url.searchengines.update({'ddg': 'https://duckduckgo.com/?q={}'})
+c.url.searchengines = {'DEFAULT': 'https://www.google.co.uk/?q={}'}
+#c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}'}
+c.url.searchengines.update({'ddg': 'https://duckduckgo.com/?q={}'})
c.url.searchengines.update({'g': 'https://www.google.co.uk/?q={}'})
c.url.searchengines.update({'deb': 'https://packages.debian.org/search?keywords={}'})
c.url.searchengines.update({'t': 'https://twitter.com/search?q={}'})
@@ -1588,6 +1600,7 @@ config.bind(';M', 'hint links spawn mpv {hint-url}')
# config.bind('@', 'run-macro')
# config.bind('B', 'set-cmd-text -s :quickmark-load -t')
config.bind('D', 'nop')
+config.bind(';P', 'spawn --userscript pinboard.sh')
# config.bind('F', 'hint all tab')
# config.bind('G', 'scroll-to-perc')
# config.bind('H', 'back')