Pasang iklan Anda di sini.
https://goo.gl/Io3Xqy

Selasa, Jun 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="http://yoursite.com/image.png" />
Add this code after image URL
oncontextmenu="return false;"
Finally your code look like this
<img src="http://yoursite.com/image.png" oncontextmenu="return false;" />

0 komentar :

Catat Ulasan