禁用复制和粘贴事件,例如,firrefox,chrome,safari
问题描述:
如何禁用复制和粘贴事件,例如,firrefox,chrome,safari
how to disable copy and paste event in ie ,firrefox,chrome,safari
答
这是一个答案: http://stackoverflow.com/问题/ 13647000 /是一个跨浏览器的方式来防止复制并粘贴在网站上的平面 [ ^ ]
Here is an answer: http://stackoverflow.com/questions/13647000/is-there-a-cross-browser-way-to-prevent-cut-copy-and-paste-on-a-website-in-plai[^]
http://stackoverflow.com/questions/13647000/is-there-a-cross-browser-way-to-prevent-在网站上剪切复制并粘贴[^]
http://stackoverflow.com/questions/13647000/is-there-a-cross-browser-way-to-prevent-cut-copy-and-paste-on-a-website-in-plai[^]
如果您使用的是asp.net控件,那么使用此代码可能会对您有所帮助: -
< asp:textbox id =txtconfirmEmailmaxlength =50runat =servercssclass =csstxtboxoncopy =return falseoncut =返回falseonp aste =return falsexmlns:asp =#unknown>
If you are using asp.net controls then use this code might this will help you:-
<asp:textbox id="txtconfirmEmail" maxlength="50" runat="server" cssclass="csstxtbox" oncopy="return false" oncut="return false" onpaste="return false" xmlns:asp="#unknown">