An extension to disable F12 opening the dev console.
By request from Linus Torvalds (https://plus.google.com/102150693225130002912/posts/7PsYYeavcA9) here's an extension to disable F12 from opening the developer console in Chrome/Chromium.
The screenshot clearly shows that there is no developer console even after pressing F12. ;)
Latest reviews
- (2023-03-26) Amila: It works!
- (2022-12-30) Dale Sorenson: Works if you have a window with only a single tab open with a web page loaded. Does NOT work in a window with no page loaded. Does NOT work in any window with multiple tabs open. Dear developer, this is a great extension, would you please update it? Thank you.
- (2022-11-08) Owen Porter: Doesn't work.
- (2022-11-04) Grzegorz Redlarski: Nie działa
- (2022-07-01) A. V. K.: F12 still opens while a page is loading. Not happy with that Google needs to what Microsoft Edge is doing. Edge has a disable setting in the settings og Edge.
- (2022-04-27) K G: Doesn't work.
- (2022-03-03) R N: maybe it works on some sites, but definitely not all. :( I wish it also disabled ctrl shift i and ctrl shift c
- (2021-11-24) Birgit Aun: I did a restart on the browser just in case, still does not work. Version 96.0.4664.45 (Official Build) (64-bit)
- (2021-09-07) Go. TV: не работает win 10
- (2021-07-07) Akram: The extension is not fully working but the source code is provided in the extension creator website. So, to disable F12 key in your browser simply go to Inspect then Console then paste the following JavaScript code: window.addEventListener("keydown", keyListener, false); function keyListener(e) { if(e.keyCode == 123) { e.returnValue = false; } }
- (2020-11-24) Pedro Puma: WORK!
- (2020-08-23) VAIDIK BHALANI - 02: gjjju
- (2020-08-13) Ne Beul: it doesnt work sometimes
- (2020-01-16) S emmerik: useless, doesn't work
- (2019-12-29) R Seluryar: Was great when it worked, Now it doesnt work, But I have found a way to use autohotkey(as of the time of this writing) To not only disable F12 but also F11(just as pesky as F12. Here is the text that you use when making an autohotkey script: #IfWinActive ahk_exe chrome.exe F11::return F12::return #IfWinActive Save the script then place in your windows startup folder.
- (2019-02-22) MUFASSIR KAMALDEEN: it dont work for me
- (2019-02-12) Chuck Baggett ChuckBaggettWeb (ChuckBaggett web): Doesn't work in Slimjet, a chromium based browser.
- (2019-01-19) joseph donohue: didnt work on any sites
- (2018-10-21) K Tang: working on Chrome v70
- (2018-06-06) Jonathan Pindur: Works from web page tabs not chrome tabs
- (2018-06-03) Алексей Крамаренко: Not work
- (2018-05-06) J P: Did not work at all! Still running into the same problem this "extension" should fix.
- (2018-04-09) Rafał Paluch: Not working
- (2018-02-27) eric jacobson: I use F12 with AutoHotkey, and after moving to Win10, found that Chrome was hijacking that shortcut, making me have to constantly reload the AH program. This extension has apparently taken care of the problem, and I didn't even have to restart Chrome. Thank you!
- (2018-01-07) Sally Ann Orrin: Doesn't work tried adding it still get the developer page on right, removed and re-added no difference I really hate the F12 key why don't they add the alt key to stop this happening, the times IU catch F12 when I use backspace GRRRR
- (2017-12-26) John Petersen: Listen... comments like "it worked for me" and "it didn't work for me" just add to the noise. Event handling is almost certainly more complicated than you could imagine. There's a Google support thread requesting full control over key bindings - it's been open since 2013, with almost unanimous support, and the most helpful suggestion was to edit the source and compile it yourself. It's insanely frustrating and insulting that the *Dev Tools* shortcut is hard-wired into the source... but I can't ascribe outright maliciousness, incompetence, or indifference to Google as a whole. You shouldn't either. Do some research and/or check out the extension source before asserting things like "this is just a user data grab app" because it didn't play nice with your environment. Edit - here's a link to Linus Torvalds airing the exact same complaint back in 2011. The only attempt at a solution for him was a JS kludge that only disabled F12 the second time you pressed it on every page you visit. https://plus.google.com/+LinusTorvalds/posts/7PsYYeavcA9 Even if you don't particularly value his input, you can be positive that someone at Google did within the last 6 years.
- (2017-11-25) Трололошка Трол: No work
- (2017-11-01) Rishabh Bhardwaj: it does not work
- (2017-04-20) David Steinlage: It appears to work on pages that I need it to work on. Typically F12 would be a problem if I was writing something into a text box, like a comment on Facebook or a search query on Google, and I would reach for the backspace key to delete a typo but over reach and accidentally hit the F12 key which would cause the whole website to vanish and with no apparent way to salvage what I just spent time typing. This extension appears to do the trick. Thanks!
- (2017-04-17) Bradley Ridenour: It does not work property, I'd like to suggest updating your app.
- (2017-03-10) POLICE MATRIX: finally something that actually works, thanks so much for this :) (remember to restart your browser) EDIT:: only works on google home age :P waste of time sighhhhhh EDIT x2 OK it works on some sites and not others? but it works on a site i needed it to work on so very happy thanks :)
- (2016-06-08) Leonardo Tutor: nao funciona...
- (2016-05-17) Anders Larsson: Does not work, tried restarting chrome still opens dev on f12
- (2016-05-09) Виктория Liplyanskiy: Отлично работает после перезапуска броузера.
- (2016-04-13) Павел Сергеевич: НЕ РАБОТАЕТ! WIN 10
- (2016-02-11) Artur Bayazitov VjArtima: doesn't work. win10 chrome 48.0.2564.109 m
- (2015-09-05) asad king: it is working sometimes
- (2015-05-11) Chris Davies: 100% pure awesome. Just add to Chrome, and stir!
- (2015-04-26) Fud_Cannon: It does not work, I even ticked "allow in incognito mode" and restarted the browser each time. I will be taking it off as it makes no difference what so ever. :( I believe I used to have it before Chrome got one of it's updates. So perhaps something in Chrome is preventing the extension from working as intended.
- (2014-12-28) Реально работает! Сразу без перезапуска браузера. Если эта прога делает только это думаю никаких проблем не будет.