Midphase Logo

Knowledgebase

Back to What is CPanel

How Can I Protect The Images On My Website


This article contains information about protecting the images on your website.

Follow the directions below.

<h1>And here is the 'no right clicks' script.</h1>
<p>You can stop right-clicks with a script (copy and paste it from this page if you want to) in the HEAD section of your page.</p>

<p><font color="#cc0000">

<script type="text/javascript"><BR><BR>

var msg="mouse right click disabled.nn(or any message you want)";<BR><BR>

function click(e) {<BR>
if (document.all) {<BR>
if (event.button == 2) {<BR>
alert(msg);<BR>
return false;<BR>
}<BR>
}<BR><BR>

if (document.layers) {<BR>
if (e.which == 3) {<BR>
alert(msg);<BR>
return false;<BR>
}<BR>
}<BR>
}<BR><BR>

if (document.layers) {<BR>
document.captureEvents(Event.MOUSEDOWN);<BR>
}<BR>
document.onmousedown=click;<BR><BR>

</script><BR></font></p>

Related Articles

For Shared SSH Access Is WGET Command Allowed
How To Add A User To My Control Panel
How To Autoinstall Applications Such As WordPress or PHPBB
How To Log Into CPanel
How To Move Files To The Correct Location

Can’t Find what you need?

No worries, Our experts are here to help.