which copy paste protection this site uses?

Discussion in 'Blogging' started by iblackhatseo, May 23, 2016.

  1. iblackhatseo

    iblackhatseo BANNED BANNED

    Joined:
    May 8, 2016
    Messages:
    104
    Likes Received:
    2
    This site is slightly nsfw
    I disabled all javascript using noscript still could not copy from site
    dottcom marathisexstories4u
    any idea what method this site uses
     
  2. BlogPro

    BlogPro Jr. VIP Jr. VIP

    Joined:
    Apr 23, 2012
    Messages:
    869
    Likes Received:
    926
    From the code generated by the Copyright protection on that site - it looks like it uses this plugin - https://github.com/wp-plugins/wp-content-copy-protector

    The reason you are unable to select the text on that site is because it appends a class called unselectable to the <body> asset of the HTML.

    It then further goes on to render text-selection obsolete by using CSS like so -

    Code:
    .unselectable {
        -moz-user-select: none;
        -webkit-user-select: none;
        cursor: default;
    }
    This renders the text unselectable.

    In conjunction with that, it also uses javascript to show a popup when a right click or double click occurs. So it's like a layer on layer of protection.

    If you wish to bypass it all - Delete all the offending code in Chrome's Developer Console and you should be able to copy.

    Ref - http://i.imgur.com/A6sYJ3Z.png
     
  3. iblackhatseo

    iblackhatseo BANNED BANNED

    Joined:
    May 8, 2016
    Messages:
    104
    Likes Received:
    2
    cool
    I just tried with noscript and disabled javascript but it was not working
     
  4. blogzandstuff

    blogzandstuff Elite Member

    Joined:
    Jan 1, 2015
    Messages:
    8,388
    Likes Received:
    4,360
    Occupation:
    blog creator
    Location:
    UK