How to disable Ctrl + Shift + C keyboard shortcut in Firefox?

Pressing Ctrl + Shift + C in Firefox opens the developer tools and activates the Pick Element tool.

I often mistakenly use this shortcut when I want to copy something (mixing it with a shortcut for copying text in terminals).

This is really annoying since

  • it does not copy text
  • he opens developer tools
  • I can’t even close the developer tools, using this shortcut again, I need to reach for the mouse to close it.

One solution was the Firefox extension "custom shortcuts" , but it was discontinued.

Any other idea?

+8
source share
3 answers

Install the Menu Wizard , click Keyboard shortcuts , find key_inspector , remove the shortcut.

Set data here

+5
source

You can not. Unfortunately, even if you disable them in about:config , this does not actually disable them.

There may be plugins that do this, but on vanilla firefox this is not possible.

+2
source

Seeing how the architecture of Firefox has undergone changes when switching to Quantum and WebExtensions, it is no longer possible to disable the built-in shortcuts using extensions such as the "Menu Wizard" or "Custom Shortcuts."

If you know how to compile Firefox from source, you can still do this by modifying the source. Download the source code, unzip it and edit:

 path-to-ff-source-dir/devtools/startup/locales/en-US/key-shortcuts.properties 

and change

 inspector.commandkey=C 

in

 inspector.commandkey=VK_F1 

If you are not familiar with how to compile Firefox from source, you can follow the instructions outlined here.

The source code for the latest version of Firefox can be found here:

https://archive.mozilla.org/pub/firefox/releases/ (do not skip / at the end, otherwise you will get 404 error).

Just select a release (e.g. 64.02) and click on the source:

https://archive.mozilla.org/pub/firefox/releases/64.0.2/source/

0
source

Source: https://habr.com/ru/post/1245072/


All Articles