That’s all you need to do to disable viewing of your page source using shortcut keys. But to disable Ctrl+P along with Ctrl+U, use the below script instead.
 
Top