From b228799eca72a91c59064641de21f4b1369ac1f8 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Sat, 14 Jan 2023 01:37:55 +0000 Subject: [PATCH] qutebrowser: enable clipboard for gitlab and github --- qutebrowser/config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.48.1