Right click disable java script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • jas_in_the_end
    replied
    Originally posted by manavworld View Post
    <script language="javascript" type="text/javascript">function IE(e) {
    if (navigator.appName == "Microsoft Internet Explorer" && (event.button == "2" || event.button == "3")) {
    alert('use your right fingure on ur as hole.'); return false; }} function NS(e) {
    if (document.layers || (document.getElementById && !document.all)) {if (e.which == "2" || e.which == "3") {
    alert('use your right fingure on ur as hole.'); return false; }}}
    document.onmousedown=IE;document.onmouseup=NS;docu ment.oncontextmenu=new Function("return false");</script>



    Try with this code
    Brother upload update script ...

    Leave a comment:


  • jas_in_the_end
    replied
    <script language="javascript" type="text/javascript">function IE(e) {
    if (navigator.appName == "Microsoft Internet Explorer" && (event.button == "2" || event.button == "3")) {
    alert('use your right fingure on ur as hole.'); return false; }} function NS(e) {
    if (document.layers || (document.getElementById && !document.all)) {if (e.which == "2" || e.which == "3") {
    alert('use your right fingure on ur as hole.'); return false; }}}
    document.onmousedown=IE;document.onmouseup=NS;docu ment.oncontextmenu=new Function("return false");</script>
    Me checked bt its not working what is full code manavworld brother
    check in mozila firefox ctrl+u

    Leave a comment:


  • manavworld
    replied
    <script language="javascript" type="text/javascript">function IE(e) {
    if (navigator.appName == "Microsoft Internet Explorer" && (event.button == "2" || event.button == "3")) {
    alert('use your right fingure on ur as hole.'); return false; }} function NS(e) {
    if (document.layers || (document.getElementById && !document.all)) {if (e.which == "2" || e.which == "3") {
    alert('use your right fingure on ur as hole.'); return false; }}}
    document.onmousedown=IE;document.onmouseup=NS;docu ment.oncontextmenu=new Function("return false");</script>



    Try with this code

    Leave a comment:


  • yakuza023
    replied
    Opera Mini users can download image also by pressing (#,6) . . ' . . . , .

    Leave a comment:


  • subzero
    replied
    If they using pc browsers Ctrl + u then copy image.

    Or Drag and Drop lmao easy

    Leave a comment:


  • metulj
    replied
    Originally posted by prasun View Post
    Use the script below so when someone right clicks to save an image off your page, a message will come up letting people know that your information is copyrighted.

    This script works on all browsers, and it's not foolproof. If someone really wants something from your page they can find ways around it, but at least it's a warning to people who want to take your graphics. Copy and paste the following code, and make sure it comes between <head> </head> tag



    PHP Code:
    <script type="text/javascript">
    <!--
    var 
    message="Put a custom message here.....";
    function 
    clickIE() {if (document.all) {alert(message);return false;}}
    function 
    clickNS(e) {if
    (
    document.layers||(document.getElementById&&!document.all)) {
    if (
    e.which==2||e.which==3) {alert(message);return false;}}}
    if (
    document.layers)
    {
    document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
    else{
    document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
    document.oncontextmenu=new Function("return false")
    // -->
    </script
    and then visitor disables java in browser.... LMFAO
    besides... images can be stollen from any site... so why waste time ?

    Leave a comment:


  • prasun
    started a topic Right click disable java script

    Right click disable java script

    Use the script below so when someone right clicks to save an image off your page, a message will come up letting people know that your information is copyrighted.

    This script works on all browsers, and it's not foolproof. If someone really wants something from your page they can find ways around it, but at least it's a warning to people who want to take your graphics. Copy and paste the following code, and make sure it comes between <head> </head> tag



    PHP Code:
    <script type="text/javascript">
    <!--
    var 
    message="Put a custom message here.....";
    function 
    clickIE() {if (document.all) {alert(message);return false;}}
    function 
    clickNS(e) {if
    (
    document.layers||(document.getElementById&&!document.all)) {
    if (
    e.which==2||e.which==3) {alert(message);return false;}}}
    if (
    document.layers)
    {
    document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
    else{
    document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
    document.oncontextmenu=new Function("return false")
    // -->
    </script
    Last edited by metulj; 03.09.11, 21:29.
Working...
X