Jump to content
GIGN Forum

No Right Click For Web


Rush^
 Share

Recommended Posts

Reku iedošu divus scriptus, šie scripti bloķē kreiso pogu, līdz ar to nevarēs kopēt!

"NO RIGHT CLICK" for Images

Kods: <script language="JavaScript">

// distributed by http://hypergurl.com <!-- var popup="Sorry, right-click

is disabled.\n\nThis Site Copyright ?2000"; function noway(go) { if

(document.all) { if (event.button == 2) { alert(popup); return false; } } if (document.layers)

{ if (go.which == 3) { alert(popup); return false; } } } if (document.layers)

{ document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=noway; // -->

</script>

"NO RIGHT CLICK" for Source

Kods: <script language="JavaScript1.1">

// distributed by http://www,hypergurl.com <!-- var debug = true; function

right(e) { if (navigator.appName == 'Netscape' && (e.which == 3 || e.which

== 2)) return false; else if (navigator.appName == 'Microsoft Internet Explorer'

&& (event.button == 2 || event.button == 3)) { alert('This Page is fully

protected!'); return false; } return true; } document.onmousedown=right; if (document.layers)

window.captureEvents(Event.MOUSEDOWN); window.onmousedown=right; //--></script>

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...