Results 1 to 7 of 7

Thread: No-Right-Click

  1. #1
    Join Date
    Jun 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default No-Right-Click

    1) Script Title: No-Right-Click

    2) Script URL (on DD):

    3) Describe problem: I've discovered many people know how to get around this so I want to delete it. I removed the script from the html code and uploaded the change but it continues to show.

    How do I delete it?

    Thanks!

  2. #2
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    post a link to your website so we can see it.

    are you sure you deleted the entire script, and that your changes were saved on the web? maybe you had it installed twice or something? Are you sure your browser is looking at the current version of your site and not a cached version?

  3. #3
    Join Date
    Jun 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I solved the problem but not sure how to finish it. I guess I'll just delete it from every page as I'm new to DW and not sure how to make the change in the template.

    The code in Dreamweaver said it had been deleted and it showed it uploaded. But when I downloaded the code from the server -- it showed the code still present.

    I deleted it then saved and uploaded it again and it's working properly now. No -- no-right-click

    Thanks -- I was assuming if DW said it was OK, it was.

  4. #4
    Join Date
    Jun 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Deleted the url but here it is just in case.

    http://janfloodstudios.com/Home.html

    I deleted everything that was in the script - that I was aware of. I deleted the script on only the home page to see if that would work.

    Yes, it said the change was uploaded and it doesn't show on the code in Dreamweaver

  5. #5
    Join Date
    Jun 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I've deleted the script on every page - however one page - Galleries - still comes up no-right-click.

    I've downloaded from the server and I don't see it there either. I don't understand, every other page works fine and I did the same on every page.

    http://janfloodstudios.com/Galleries.html

  6. #6
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    It's still part of your page:
    Code:
    <script language=JavaScript>
    <!--
    
    //Disable right mouse click Script
    //By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
    //For full source code, visit http://www.dynamicdrive.com
    
    var message="No Right Clicking These Images Are Copyrighted© By Jan Flood Studios";
    
    ///////////////////////////////////
    function clickIE4(){
    if (event.button==2){
    alert(message);
    return false;
    }
    }
    
    function clickNS4(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=clickNS4;
    }
    else if (document.all&&!document.getElementById){
    document.onmousedown=clickIE4;
    }
    
    document.oncontextmenu=new Function("alert(message);return false")
    
    // --> 
    </script>
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  7. #7
    Join Date
    Jun 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you guys! I was frustrated over this for weeks. You were right -- I had uploaded a duplicate page and that was what I was deleting the script on. Finally found it and made the correction.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •