How to Disable the CTRL+P using javascript or Jquery?

后端 未结 11 1086
一生所求
一生所求 2020-12-31 06:17

Here I tried to disable the Ctrl+P but it doesn\'t get me alert and also it shows the print options

jQuery(document).bind(\"keyup keydo         


        
11条回答
  •  自闭症患者
    2020-12-31 06:18

    there are some shortcuts you simply can't override with javascript, i learned it the hard way. I suppose CTRL+P is one of them.

    one way to override them would be to deploy a chrome pacakged app.

提交回复
热议问题