+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3
Results 41 to 46 of 46

Thread: Copyright Images

  1. #41
    Join Date
    Nov 2008
    Posts
    76

    Default

    You have a slightly different version, if you go into your contact us page you'll find you cannot click on the "message" box nor type anything in that box. All other entry boxes work fine.

  2. #42
    Join Date
    Sep 2007
    Location
    Nottingham
    Posts
    94

    Default

    Tested the Contact Us page in both browsers and it works fine.

  3. #43
    Join Date
    Nov 2008
    Posts
    76

    Default

    Quote Originally Posted by TeamTorquesteer View Post
    Tested the Contact Us page in both browsers and it works fine.
    Right seems I made one tiny teeny error in one of the scripts, the 2nd one, the one you were using with the pop up message was fine it was the other one which does the same job but without a pop up message didn't work...... does now.....!

    So boys and girls for text and image protection without an annoying pop up message use;

    Code:
    <SCRIPT language=JavaScript>
    <!--
    function clickIE() {if (document.all) {alert(message);return false;}}
    function clickNS(e) {
    if (e.target.type == "text") { return true; }
    if (e.target.type == "textarea") { return true; }
    
    if (e.target.type == "submit") { return true; }
    if (e.target.type == "checkbox") { return true; }
    if (e.target.type == "radio") { return true; }
    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")
    
    function noclic(clic) {
    if (navigator.appName == 'Netscape' && clic.which==3) {
    alert(msg);
    return false;}
    else
    if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {
    alert(msg);
    return false;
    }
    return true;
    }
    if (document.layers) {
    document.captureEvents(Event.MOUSEDOWN);
    }
    document.onmousedown = noclic;
    // -->
    </SCRIPT>
    
    <script>
    function disableselect(e){
        if (e.target.type == "text") { return true; }
        if (e.target.type == "textarea") { return true; }
        if (e.target.type == "submit") { return true; }
        if (e.target.type == "checkbox") { return true; }
        if (e.target.type == "radio") { return true; }
        if (e.target.type == "password") { return true; }
        return false;
    }
    
    function reEnable(){
    return true
    }
    
    //if IE4+
    document.onselectstart=new Function ("return false")
    
    //if NS6
    if (window.sidebar){
    document.onmousedown=disableselect
    document.onclick=reEnable
    }
    </script>



    And for image and text protection WITH a pop up message use; (remember to edit the company name, twice!)

    Code:
    <SCRIPT language=JavaScript>
    <!--
    var message="Copyright ©2008 Your Company Ltd. All Rights Reserved.";
    function clickIE() {if (document.all) {alert(message);return false;}}
    function clickNS(e) {
    if (e.target.type == "text") { return true; }
    if (e.target.type == "textarea") { return true; }
    
    if (e.target.type == "submit") { return true; }
    if (e.target.type == "checkbox") { return true; }
    if (e.target.type == "radio") { return true; }
    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")
    
    function noclic(clic) {
    var msg="Copyright ©2008 Your Company Ltd. All Rights Reserved.";
    if (navigator.appName == 'Netscape' && clic.which==3) {
    alert(msg);
    return false;}
    else
    if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {
    alert(msg);
    return false;
    }
    return true;
    }
    if (document.layers) {
    document.captureEvents(Event.MOUSEDOWN);
    }
    document.onmousedown = noclic;
    // -->
    </SCRIPT>
    
    <script>
    function disableselect(e){
        if (e.target.type == "text") { return true; }
        if (e.target.type == "textarea") { return true; }
        if (e.target.type == "submit") { return true; }
        if (e.target.type == "checkbox") { return true; }
        if (e.target.type == "radio") { return true; }
        if (e.target.type == "password") { return true; }
        return false;
    }
    
    function reEnable(){
    return true
    }
    
    //if IE4+
    document.onselectstart=new Function ("return false")
    
    //if NS6
    if (window.sidebar){
    document.onmousedown=disableselect
    document.onclick=reEnable
    }
    </script>

    Again all credit goes to MikeyRed, I only added in one line of code to his already very good script

  4. #44
    Join Date
    Aug 2008
    Location
    Bournemouth
    Posts
    208

    Default

    Thanks Adam for putting the script up..... just not had time, been rushed off me tinies.... 1 wife and 2 daughters to support so not enough hours in the day for me - blimey! those violins are loud

  5. #45
    Join Date
    Aug 2009
    Posts
    119

    Default

    I am wanting to protect my content, is any-one using a more up to date code than this last one posted or can anyone confirm still using this one?
    Thanks!

  6. #46
    Join Date
    Aug 2008
    Location
    Bournemouth
    Posts
    208

    Default

    Still using it on GBUK and works fine......but then I still have a wind up handle on the side of my phone.......

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Copyright Issues
    By Wayne in forum Bluepark Technical Discussion
    Replies: 6
    Last Post: 09-12-2009, 12:29

Posting Permissions

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