Add UI to disable all the shortcuts to trigger devtools
Categories
(DevTools :: General, defect, P3)
Tracking
(Not tracked)
People
(Reporter: fuckel, Unassigned)
References
(Blocks 2 open bugs)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
Steps to reproduce:
As a user I want Firefox to be a tool for Internet browsing but not development by default.
In my case I want F12 to open my drop-down terminal, Ctrl+Shift+C to copy text, Ctrl+Shift+I, and others to do other stuff but not open annoying Developer Tools.
To achieve the above goals I have to make changes in about:config, and install dubious addons that impact overall stability and security.
I think a good solution would be a switch in Settings like "Enable Developer Tools" which is disabled by default. When "Developer Tools" is disabled, the corresponding key sequences and capabilities are disabled properly.
Just keep in mind, the browser is designed for users, not for developers.
Thank you.
Related bugs: #1566424, #1836776
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•2 years ago
|
||
There's a setting to disable F12 (added in Bug 1704521)
I think your comment makes sense, and it looks like something we could consider when working on Bug 1704519
Updated•2 years ago
|
Comment 3•2 years ago
|
||
For info we have another meta for the overall shortcuts issue bug 1439740, but I agree that we might disable all shortcuts if users opt out of devtools via the F12 onboarding.
Description
•