chrome disable or change keyboard shortcut ctrl+shift+c developer tools console?
Solution 1
I've managed to make it work with shortkeys:
- Keyboard shortcut:
ctrl+shift+c
- Behavior: Run JavaScript
- Javascript code to run:
document.execCommand('copy')
Then just hit Save and reload tabs for the new setting to take effect.
Solution 2
Edit:
The originally suggested solution is no longer available.
The one provided by Paweł Prażak currently work and actually copies the text to the clipboard.
I was able to successfully override the Ctrl+Shift+C shortcut by using the Shortcut Manager extension and creating a new shortcut for the key combination.
You can then reassign it to trigger a host of pre-configured actions, or any javascript / bookmarklet code of your choosing. I don't really have any experience with javascript, so I can't really figure out how to make it act like Ctrl+C, but as far simply preventing it from bringing up the Developer Tools console, simply setting it to execute:
<script></script>
seems to work.
Solution 3
You can do that with Shortcut Manager and document.execCommand('copy')
command, which were added to Google Chrome 43+ (~April 2015)
Solution 4
After attempting the shortkeys (Chrome Extension) approach and finding it unreliable, I was able to solve this problem using AutoKey.
First, sudo apt install autokey-gtk
. Then, launch AutoKey, create a new script, set the Hotkey to be Ctrl+Shift+C, the window filter to be chromium-browser.Chromium-browser
, and the script contents to be keyboard.send_keys('<ctrl>+c')
.
Once the script is saved, pressing Ctrl+Shift+C in Chromium will copy to the system clipboard instead of displaying the dev tools.
Solution 5
After attempting the shortkeys (Chrome Extension) approach and finding it unreliable, I was able to solve this problem using AutoKey.
First,
sudo apt install autokey-gtk
. Then, launch AutoKey, create a new script, set the Hotkey to be Ctrl+Shift+C, the window filter to bechromium-browser.Chromium-browser
, and the script contents to bekeyboard.send_keys('<ctrl>+c')
.Once the script is saved, pressing Ctrl+Shift+C in Chromium will copy to the system clipboard instead of displaying the dev tools.
The above suggestion from @Ollin worked for me but I had to change the Window Filter to: google-chrome.Google-chrome
on Ubuntu 18.04.03 LTS
(Sorry don't have comment power)
Related videos on Youtube
719016
Updated on September 18, 2022Comments
-
719016 over 1 year
How can I disable the Keyboard Shortcut ctrl+shift+c in Google Chrome to bring up the Developer Tools console?
I find myself trying to
copy
+paste
content from the browser and mistakenly typing ctrl+shift+c when I really want to do ctrl+c instead.How can I disable the current keyboard binding or change ctrl+shift+c to do the same as ctrl+c in Google Chrome?
-
Lior over 8 yearsShortcut Manager is a Chrome extension not a Plugin, see this SO question: stackoverflow.com/questions/16815389/…
-
Paweł Prażak over 6 yearsas of 2018 the Shortcut Manager is not there anymore, you can try shortkeys but it has a very small user base.
-
Factor Mystic about 6 yearsYour link to the shortcut manager extension is a 404
-
jhclark over 4 yearsShortcut Manger is back as of October 2019.
-
MeowMeow almost 4 yearscosts 1.99 is a deal breaker. Just go to chrome extensions, shortcuts, then map ctrl+shift+c to a non intrusive extension. (ublock origin)
-
Paweł Prażak almost 4 yearsI agree, it was free at the time.
-
Luke Hutchison about 3 years@jhclark Shortcut Manager appears to have disappeared again.