Script to Disable Right Click and Copy Textual COntent

Discussion in 'JavaScript' started by shehpati, Jun 27, 2011.

  1. #1
    Is there any java script to protect the blog content from being copied or stolen then please let me know.... i want to disable right click n also disable copying of textual content of all posts in my blog, for all browsers ( chrome, opera, firefox & IE )... Help me...
     
    shehpati, Jun 27, 2011 IP
  2. jonix

    jonix Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can use at least that:

    <div ondragstart="return false" onselectstart="return false">

    ...your content here...

    </div>

    Then you should disable Cntrl + A pressing.

    But there still will be options to use "Save as" and save your page locally and then open in notepad and copy everything. And crawlers can copy your content anyway.

    You can use copyscape.com or similar - they provide monitoring service too. So if your content will be republished somewhere - you will now that. And you could contact those people and demand to remove your content or otherwise you will contact Google to report about stolen content etc
     
    jonix, Jun 27, 2011 IP
  3. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #3
    You can't really protect your content because as long as your data is loaded into the browser, anyone can copy them. By turning javascript, for example, would disable all the protections.

    For me, those protections are somewhat annoying. (at least for me)

    All popular blogs out there didn't protect their content either. So, keep posting good content, those copycats couldn't do anything but watch you grow.

    Cheers
     
    ads2help, Jun 30, 2011 IP