Do not copy my content alert message
Good morning to all!
I found yesterday this awesome little script, it's not at all suitable for my website, because I allow people to copy my codes, but for you it could be so neat!
Here is a little script that warns people off for copying your content. It appears as a popup on top, the moment people are trying to use the right mouse click for copying.
Do not copy my content!
It's just a warning, not a prevention. With Cntr+C your content can still be copied, but people might think twice before they do.
<script>function click(){if (event.button==2){alert('Do not copy my content!')}}document.onmousedown=click</script>
You can place this code in a Custom HTML widget, and it will launch whenever someone select your content and try to use the right mouse click to copy. It disables the right mouse click copy function.
(Don't use extra apostrophes in your text line, it will stop working correctly, that's why I used Do not)
Recent Comments
176
It's my niche, Suzi, so I browse the internet all day to find this to blog about on my website, and lucky you, I share all my findings
I am certainly not a wonder woman, I had to come up with 12000 words for the super affiliate challenge from Kyle, so I went this time for code sources:)
See more comments
Cool thanks Loes
My pleasure sharing, Ian