]> git.rmz.io Git - dotfiles.git/blobdiff - qutebrowser/config.py
qutebrowser: enable clipboard for gitlab and github
[dotfiles.git] / qutebrowser / config.py
index 470d26348cce1baaa8712a9f78ac47babdb268fd..fc19e169bb72409d2a6d6bcada0acd713774df71 100644 (file)
@@ -527,7 +527,9 @@ c.content.headers.accept_language = 'en-UK;q=1.0, en;q=0.9, de;q=0.7, fr;q=0.7,
 ##   - none: Disable access to clipboard.
 ##   - access: Allow reading from and writing to the clipboard.
 ##   - access-paste: Allow accessing the clipboard and pasting clipboard content.
-# c.content.javascript.clipboard = 'none'
+c.content.javascript.clipboard = 'none'
+config.set('content.javascript.clipboard', 'access', '*://*.gitlab.com/*')
+config.set('content.javascript.clipboard', 'access', '*://*.github.com/*')
 
 ## Enable JavaScript.
 ## Type: Bool