Results 1 to 16 of 16

Thread: Stop right click

  1. #1
    Join Date
    Nov 2012
    Location
    Down on a bank somewhere
    Posts
    229

    Default Stop right click

    Hi how do I stop people from being able to right click and save my images? I know they can screen shot and alter but just want to stop them directly
    ___________________________________

    Cheers & Tight Lines!!

    Ian
    Shop4Tackle Limited

    www.shop4tackle.com
    www.facebook.com/shop4tackle

  2. #2
    Join Date
    Apr 2014
    Location
    Salterforth, Barnoldswick, Lancashire
    Posts
    49

    Default

    You can use this code. It goes in template editor/site/head section (developers).

    It does disable right click, but if someone is really, really determined they will get your pics anyway. It will stop the casual person.

    You can change the text where it says Copyright Warning in my text. You can try right click on our web site and this box pops up reminding people of copyright.

    <script language="JavaScript" type="text/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="COPYRIGHT WARNING! YOU DO NOT HAVE PERMISSION TO COPY THIS PAGE. All rights, including copyright, in this website are owned by or licensed to Face Paints Direct. Any use of this website or its contents, including copying or storing it in whole or part, other than for your own personal, non commercial use, is prohibited without our permission. You may not modify, distribute or repost anything on this website for any purpose.";

    ///////////////////////////////////
    function clickIE4(){
    if (event.button==2){
    alert(message);
    return false;
    }
    }

    function clickNS4(e){
    if (document.layers||document.getElementById&&!docume nt.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>

  3. #3
    Join Date
    Nov 2012
    Location
    Down on a bank somewhere
    Posts
    229

    Default

    Thanks, done that but it doesn't seem to have done anything? I copied and pasted the above into Template Editor/Site/Header Section (developers) .... hit the save button, clicked the tick, but nothing?
    ___________________________________

    Cheers & Tight Lines!!

    Ian
    Shop4Tackle Limited

    www.shop4tackle.com
    www.facebook.com/shop4tackle

  4. #4
    Join Date
    Apr 2014
    Location
    Salterforth, Barnoldswick, Lancashire
    Posts
    49

    Default

    Mmm works for me..... perhaps go visit www.dynamicdrive.com and pick up the script direct from there. You can see it working on our web site and it does work fine. I have to bob out now, but will check I've given you right place to put the text.

  5. #5
    Join Date
    Oct 2009
    Location
    Nottingham
    Posts
    2,566

    Default

    Quote Originally Posted by tightlinesuk View Post
    Thanks, done that but it doesn't seem to have done anything? I copied and pasted the above into Template Editor/Site/Header Section (developers) .... hit the save button, clicked the tick, but nothing?
    Sometimes the editor or your browser (accidentally) screws up the code you paste in. Haven't got the details to hand but it happened to me and Richard @ BP fixed it for me.

  6. #6
    Join Date
    Apr 2014
    Location
    Salterforth, Barnoldswick, Lancashire
    Posts
    49

    Default

    Just looked at your page source code and its not showing in your source code. Perhaps check that it saved properly?

  7. #7
    Join Date
    Aug 2007
    Posts
    2,516

    Default

    This will never stop anyone determined enough from stealing your images, but here are my recommended solutions (simpler than the others I've seen).

    To prevent right-clicking on anything:

    Code:
    <script type="text/javascript">jQuery(document).bind('contextmenu', function(e) { return false; });</script>
    To prevent right-clicking on images only:

    Code:
    <script type="text/javascript">jQuery(document).bind('contextmenu', function(e) { if (e.target.nodeName == "IMG") return false; });</script>
    We actually use the first example on our checkout pages, to deter fiddling.
    Developer :: Bluepark Solutions

  8. #8
    Join Date
    May 2011
    Posts
    392

    Default

    You can never stop it, if you just look in the page source it will show the direct link to the image, which will allow copying of the image.

    I have started to watermark my images, as I have starting paying for photography, and then someone to edit them in photoshop, all for someone else to come along and pinch from me, undercut me, using my hard earned money for their sale.

    But you also need to be very proactive in getting images taken down when needed.

  9. #9
    Join Date
    Feb 2013
    Posts
    572

    Default

    You can also check on people stealing in Google Search > Images just by dragging one of your pictures over the top of the page and dropping it. A pertinent email threatening to charge for use of the image usually has happy results!

  10. #10
    Join Date
    Sep 2011
    Posts
    1,978

    Default

    Is there any code like the codes above that will stop right click but still allow us, as site owners, to right click? I would like to disable right click but I use right click on my own site quite a lot so find it frustrating as it also stops me from right clicking.

  11. #11
    Join Date
    Sep 2013
    Posts
    339

    Default

    Is there a way to watermark a page of text to protect it.
    Richard

  12. #12
    Join Date
    Feb 2013
    Posts
    572

  13. #13
    Join Date
    Jan 2012
    Posts
    968

    Default

    When browsing other peoples website this really annoys me. I like to open links into new tabs so I can read them later and continue with what I'm reading, so when I right click to select 'new tab' and it comes up with some pop-up that says "don't steal our images" it's just annoying - and it looks amateurish. and as already stated it's not going to stop people stealing your images.

  14. #14
    Join Date
    Aug 2013
    Posts
    254

    Default

    Even watermarks can be removed from images nowadays using photoshop or coreldraw.
    Dave

    www.thecartridgekingdom.co.uk - For all your inkjet & laser toner cartridges.
    www.designedbyfitzy.co.uk - Personalised clothing for all your needs, personal & business, Sign Making/Writing for both office & company vehicles.

  15. #15
    Join Date
    Apr 2012
    Posts
    442

    Default

    Don't know if I dreamt this one up but doesn't watermarked images cause issues with Google Merchant (if you use that route)?
    Shaun

    Loxta Hardware
    www.loxta.co.uk

  16. #16
    Join Date
    Sep 2013
    Posts
    339

    Default

    Yes i was disqualified by Google. I was looking for a way to protect text.
    Richard

Similar Threads

  1. Click and Collect
    By Ashley in forum Bluepark Technical Discussion
    Replies: 24
    Last Post: 16-12-2015, 13:47
  2. Royal Mail Click and Drop
    By Paws in forum General Discussion: Any Other Business
    Replies: 3
    Last Post: 04-02-2015, 10:57
  3. Stop products displaying
    By Col66 in forum Bluepark Technical Discussion
    Replies: 7
    Last Post: 13-09-2013, 01:15
  4. is it possible to hide some text and then be able to click to reveal it?
    By balancedview in forum Bluepark Technical Discussion
    Replies: 14
    Last Post: 06-07-2012, 22:05
  5. Disable right click? Protect content.
    By Deefer in forum Bluepark Technical Discussion
    Replies: 13
    Last Post: 26-05-2012, 18:39

Posting Permissions

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

Bluepark's ecommerce software is developed, hosted and supported exclusively by ourselves, here in the UK, and has been so since the company was initially formed in 2004. Your brand new online shop will be hosted securely on our fast and reliable server network, using a domain name of your choice, providing the ability to build and maintain your ecommerce website, and manage your orders, from any location via your own secure online Administration Console.

A Bluepark ecommerce site is the perfect tool for selling online, whether you're selling physical products, digital downloads or services. You'll be in good company with over 1,000 UK customers who also form a friendly and helpful online community, further strengthening our highly acclaimed support network.

Find us on...