📜  禁用右键单击 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:01.455000             🧑  作者: Mango

代码示例6
This is the Phone and NO ONE SHOULD RIGHT CLICK THIS! >:)




And this is the Keyboard, ofcourse yo can right click this :)
$('img').bind('contextmenu', function(e){ alert("This Logo is protected");return false; });