I need the HTML code that would disable the right click button when someone goes on my web site?
Easy
2008-01-31 01:35:31 UTC
I have a lot of pictures and writings that I wish to put on a web site that I am going to make in Geocities. What I need is the HTML code that would disable the right click so no one could steal my pics or writings.
Five answers:
oracle128au
2008-01-31 01:47:33 UTC
You disable the right click in JavaScript, not HTML. And it only works if JavaScript isn't disabled in the user's browser. And even then it doesn't protect your content anyway. If you don't want people saving your content, don't post it on the internet. If they can view it, the can save it.
Sam Relan
2008-01-31 01:48:49 UTC
Hi,
This is the code which when placed in section.
No right click for Images -
No right click for source -
I hope this helps. However there are tremendous ways to copy content from your website in anycase.
But I belive this is what you were looking for.
Regards.
cole
2016-10-06 05:21:04 UTC
there is not any CSS code purely html, and it relies upon on the browser you're making use of. attempt firefox and upload the cyber web developer plugin and firebug. Its sensible on doing this form of ingredient you desire
daniel65ng
2008-01-31 02:17:08 UTC
HI,
If u use dreamweaver to design you can disable your mouse through the "Behaviours" panel.
Thanks
Devender S
2008-01-31 01:55:30 UTC
simple copy and paste the following code in your body section of the page.... right click will be disable automatically.
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.