Pasang iklan Anda di sini.

Tuesday, June 05, 2012

0 Disable Right Click on Image Without JavaScript

Some time you have ever worked really hard on graphics for your site only to find later that someone has stolen them as their own. You can help encrypt and protect your site with simple adding code.
There are numerous ways to secure and protect your web site from those who want to steal your content or images.

Some webmasters using JavaScript to disable the right click menu on their websites to prevent people from saving images onto their desktop. Buti now I'll give you a simple way, without javascript or editing HTML code on your Blogger dashboard.

Standard image code sample:

<img src="" />
Add this code after image URL
oncontextmenu="return false;"
Finally your code look like this
<img src="" oncontextmenu="return false;" />

0 komentar :

Post a Comment