From: Samir Benmendil Date: Sat, 14 Jan 2023 01:37:55 +0000 (+0000) Subject: qutebrowser: enable clipboard for gitlab and github X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/b228799eca72a91c59064641de21f4b1369ac1f8 qutebrowser: enable clipboard for gitlab and github --- diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 470d263..fc19e16 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -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