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

How do I launch the content unlocker from an anchor tag using Lead Bolt on blogger !!

Discussion in 'BlackHat Lounge' started by jugnu, Jan 3, 2012.

  1. jugnu

    jugnu Newbie

    Joined:
    Jan 2, 2011
    Messages:
    44
    Likes Received:
    20
    Hello BHW, I am using lead bolt as my earning plat form. As you all of know, lead bolt is content locking like CPA Lead. I have question of all of you genius guys. I Wants to launch content unlocker from an anchor text. Lead bolt helped to it's publisher regarding this matter but I am not getting success to do this on blogger blog. Please guys help me in this regard. Following is the guide that lead bolt provide it's publisher to launch content unlocker from anchor text.

    Code:
    If you want to launch the LeadBolt content unlocker from an anchor tag after the page has loaded and then redirect when an offer is completed you can use the enhanced code listed below. Please note, by using javascript and being client side, this locked page can be bypassed by extracting the redirect url from the javascript. However, the method works and is a simple option for those unfamiliar with server-side coding.
    
    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>
    
    As before, in the HTML body section add the function ap_start_unlocker()  as an onClick event to your anchor tag but include a 'return false' command as shown below.
    
    <a href="#" onclick="javascript:ap_start_unlocker();return false;">Click Here</a>
    Please explain me above mentioned guide deeply. how can i use above guide on blogger blog. thanks
     
  2. jugnu

    jugnu Newbie

    Joined:
    Jan 2, 2011
    Messages:
    44
    Likes Received:
    20
    Any One please?
     
  3. jugnu

    jugnu Newbie

    Joined:
    Jan 2, 2011
    Messages:
    44
    Likes Received:
    20
    i am wondering, nobody willing to help me in this regard?