1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Content locker problem

Discussion in 'Black Hat SEO' started by elussive, Feb 9, 2012.

  1. elussive

    elussive Registered Member

    Joined:
    Nov 11, 2011
    Messages:
    54
    Likes Received:
    4
    Good day, I have a trouble with content locking. I am registered in LeadBolt, and they gave me cpa code. So I entered it in my free wordpress content locker.
    Everything is fine. But I have one problem, it locks all page. But I need to lock only 1 image there.
    Here is code

    "To use this code, set XXXXXX to the section id listed in the LeadBolt unlocker code and urlxxxxxxxxxxx.com is the URL you wish to redirect to, after an offer is completed'.

    <script type="text/javascript">
    ap_section_id = 'XXXXXX';
    ap_link_url = 'http://urlxxxxxxxxxxx.com';

    function ap_start_unlocker() {
    var head= document.getElementsByTagName('head')[0];
    var script= document.createElement('script');
    script.type= 'text/javascript';
    script.src= 'http://ad.leadbolt.net/show_cu.js?section_id='+ap_section_id;
    script.onreadystatechange= function () { if (this.readyState == 'complete') ap_link(); }
    script.onload= ap_link;
    head.appendChild(script);
    }

    function ap_link() {
    if(typeof(ap_unlocked) !== 'undefined') window.location = ap_link_url;
    }
    </script>



    And now question, how can I lock image with direct link to download page. In this case

    Thank you very much!