If I press Escape by mistake while working, it exits full screen mode.
I could use Ctrl+Cmd+F if I want to exit full screen mode. How can I prevent Escape key in full screen mode?
Now, you could go ahead and brute-force disable the Escape key in Safari. But that'd defeat the purpose of still allowing Escape to work as a shortcut in the aforementioned places, which I'd rather avoid.
Btw I think that your question is a duplicate : Disable Escape key in Safari for getting out of full screen mode