How to disable some keys e.g F12 (a shortcut for developers option)

1
2
<!DOCTYPE html>
<html>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This is a snippet for disabling keys using javascript, but the default key that's disabled in this snippet is the F12 key which is a shortcut key for developers option. you can use this to totally disable developer's option if you use it with this tutorial https://codepad.co/snippet/6slAo5MR

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.