]> git.rmz.io Git - dotfiles.git/blobdiff - qutebrowser/config.py
qutebrowser: open tab in last visible instance
[dotfiles.git] / qutebrowser / config.py
index 470d26348cce1baaa8712a9f78ac47babdb268fd..65c4d57b708f4c612ae500afe5dc538d7a2f6bf6 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
@@ -1267,7 +1269,7 @@ c.input.insert_mode.leave_on_load = True
 ##   - last-opened: Open new tabs in the last (newest) opened window.
 ##   - last-focused: Open new tabs in the most recently focused window.
 ##   - last-visible: Open new tabs in the most recently visible window.
-# c.new_instance_open_target_window = 'last-focused'
+c.new_instance_open_target_window = 'last-visible'
 
 ## Show a filebrowser in download prompts.
 ## Type: Bool