如何在Div中阻止复制? [英] How Can I Block Copy In A Div?

查看:69
本文介绍了如何在Div中阻止复制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

i有一个div,在我的div中有一些文字,

i想阻止我的div复制========>> ;>>> readonly

我怎么能用css或jquery做呢???

谢谢所有

hello,
i have one div and in my div are some text ,
i want to block copy from my div ========>>>>> readonly
how can i do it in css or jquery???
thanks all

推荐答案

你可以禁用某些内容的剪贴板复制操作,但这完全没用。如果某些用户可以在本地计算机上看到某些内容,则已下载所有内容。你所能创造的只是用户的烦恼,而不是内容保护;无论如何复制它都不是问题。最好不采取任何措施。



-SA
You can disable clipboard copy operation for some content, but this is totally useless. If some user can see some content on the local computer, all the content is already downloaded. All you can create is just the irritation in the user, not content protection at all; it's not a problem to copy it anyway. It would be the best to do nothing about it.

—SA


这篇关于如何在Div中阻止复制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆