You May Like-
How to prevent user copying text of a certain div using CSS?
DEMO:
TRY TO SELECT THIS TEXTHOW TO DO THIS , Simply follow following steps:
- Create HTML in following format
<html>
<head>
<title>How To Disable Text Copying/Selecting</title>
</head>
<body>
<div class="allin1web">
------YOUR CONTENT------
</div>
</body>
</html>
- Now Copy following code and paste before </head>.
<style>
.allin1web{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
</style>
- Save
- You are done.
Keyword: how to disable copy and paste on website protect website content from being copied prevent copying text from website javascript disable copy paste in textbox how to enable copy paste in html how to prevent website copying no copy paste
Hi!!
ReplyDeleteLove your post. It's really amazing & helpful too. I like the way you explained everything. By sharing this amazing content, you have solved my problem. Keep sharing :)
Thank You & Regards
Ankita
a2 hosting black friday
thanks for providing this this type of informative post..
ReplyDeletebro you can download
Latest Crack Softwares for free from clicking
here