Free CPA Gateway (Content Locker) Code

Thank you for this. I've been searching for this for some time now..

Is there any chance to add a feature that blanks the referer?
 
the script dosent make the content locker follow a maxamized page if it was originally opened in a minimized page
 
you know this won't be considered black hat, if you use incentive offers from cpa sites ;).
I have some incentive offers, but they didn't have content locker.
which they currently are privately, working on to get their own content locker out!
Thanks a lot for this bro, now for the timing.
your the best bro.
 
so heres the problem im having with the script. When you open the web page with the content locker in a minimized page then maximize the page the transparent part of the content locker does not maximize with the rest of the page. Does anyone know how to fix this?​
 
awesome script ..i will check it out and see if i can use it on any of my sites.
 
This is an absolute life safer - I cannot thank you enough!

I'm not competent in JavaScript, but was just wondering how you'd edit the time of which it is displayed until it goes? Or, does the gateway stay there permanently?

Thanks again, I really appreciate it!

EDIT: Don't worry I've figured it out ... lol
 
Last edited:
Thanks for this post great method.That would be very helpful... Awesome post! Very useful.
 
I just can't get it to work in Firefox.

I've managed to get it to work in IE nicely, Chrome it didn't need any tweaking - but FireFox just doesn't want to have any of it.

:( :(
 
I had the same problem with firefox but i had someone help me edit the script.

put this in the head
Code:
 <script src="[URL]http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js[/URL]" type="text/javascript"></script>
<script type="text/javascript"> 
 
 var Delay = 200;//Seconds after them clicking the link, the gateway vanishes. 
 
 function setupgateway()
 {
  var Left = $(window).width() /2;
  Left = Left - $('#gatewaydiv').width()/2;
  
  var Top = $(window).height() /2;
  Top = Top - $('#gatewaydiv').height()/2;
  
  $('#gatewaydiv').css('top', Top+'px').css('left', Left+'px').css('display', 'inline');
  $('#gatewayDimmer').width($('html').width());
  $('#gatewayDimmer').height($('html').height());
  $('#gatewayDimmer').css('display','block');
 }
 
 function removegateway()
 {
  $('#gatewaydiv').css('display', 'none');
  $('#gatewayDimmer').css('display','none');
 }
 
 $(document).ready(function()
 {
  $('.offerlink').click(function()
  {
   setTimeout('removegateway()', Delay*1000);
  });
  
  setupgateway();
 });
</script>
<style> 
 
 body
 
  height:100%;
  margin:0;
 }
 
 #mainContent
 {
  background-color:white;
  margin-left:auto;
  margin-right:auto;
  margin-top:30px;
  width:700px;
  border:3px solid #CDCDCD;
  text-align:center;
 }
 
 #gatewaydiv
 {
  background-image:url() ; 
  background-repeat:no-repeat; 
  width:500px;
  height:200px;
  padding:20px;
  position:absolute;
  display:none;
  background-color:#FFFFFF;
  border:solid 4px gray;
  text-align:center;
  font-family:arial;
 }
 
 #gatewaydiv h1
 {
  font-size:35px;
  color:#cc0000;
 }
 
 #gatewayMessage
 {
  font-size:18px;
 }
 
 .offerlink
 {
  color:red;
  font-weight:bold;
 }
 
 #OfferList
 {
  margin:0;
  padding:0;
 }
 
 #OfferList
 {
  list-style:none;
 }
 
 #gatewayDimmer
 {
  background-color:#000000;
  opacity:0.4;
  filter: alpha(opacity = 50);
  display:none;
  position:absolute;
  top:75;
 }
 
 
</style>

and put this directly after the body tab
Code:
   <div id="gatewayDimmer">
</div>
 
<div id="gatewaydiv">
 <ul id="OfferList">
 <h1>heading</h1>
 <span id="gatewayMessage"><p>what ever you want it to say</span>
 <li><a href="offer link goes here" class="offerlink" target="blank">offer tittle goes here</a></li>
 </ul>
 <br /><br />
 something else you might want to say
</div>
 
Thanks Wonderd!

The problem is the CSS contains the "display:none;" - but the javascript is suppose to disable the CSS which in turn disables the gateway; but for some reason FireFox wasn't executing the JavaScript ...

Anyway thanks - that script you put up there doesn't seem to work without uploading it to a server; so if anyone is having troubles viewing it then upload it to your server first! :)
 
did anyone figure out how to add cookies so that, it remebers users and doesnt pop up everytime ??
 
Does anyone know how to setup Postback for this? This post is amazing :)
 
this doesnt show in IE,
shows in firefox

not sure bout chrome and opera
 
Appreciate the share. Been looking for a simple content blocker for an adult I have that is pulling mad traffic, but not converting on the aff offers. Think locking the content should remedy that ASAP.
 
pyronaut


Thanks for this, i been up all night trying to do some thing to my liking, are as follow

1) to implment a progress bar upon clicking of the offer. I was able to accomplish this.

2) was trying to implment a cookie that once they click a offer they get cookied and the widget will not show for 'X' amount of days, i tried stripping the cookie part off crazyfix content locker and adjust it to what i was trying to accomplish, but to no prevail

3) was to rotate the offers on every refresh, i know this is simple cause i done it before on some other link, it was with a random link script in html i think, i have it somewhere. didnt really give this one my whole hearted effort as i was burnt out. but will try again tonight.

4) post back this i didnt even attempt yet, but will be a neat feature but beyond my knowledge. will learn.

Please keep in mind i know very little i just cut and paste lil section of content lockers here and their and played with it till i got something i wanted.

Example of the widget i created thanks to you.
http://bit.ly/aB0yIs

for those who want this edited version here
to get yours to work like mines

Put this in between the head tags <head> </ head>
Code:
<script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js" type="text/javascript"></script>
<script type="text/javascript">

    var Delay = 20;//Seconds after them clicking the link, the gateway vanishes.
       


   
    
    function setupgateway()
    {
               
        var Left = $(window).width() /2;
        Left = Left - $('#gatewaydiv').width()/2;
        
        var Top = $(window).height() /2;
        Top = Top - $('#gatewaydiv').height()/2;
        
        $('#gatewaydiv').css('top', Top+'px').css('left', Left+'px').css('display', 'inline');
        $('#gatewayDimmer').width($('html').width());
        $('#gatewayDimmer').height($('html').height());
        $('#gatewayDimmer').css('display','block');
              
    }
    
    function removegateway()
    {
               
        $('#gatewaydiv').css('display', 'none');
        $('#gatewayDimmer').css('display','none');
    }
    
    $(document).ready(function()
    {
        $('.offerlink').click(function()
        {
            setTimeout('removegateway()', Delay*1000);        

{
                document.getElementById('gatewayMessage').innerHTML = "Checking For Completion...." + "<br></br>" + "<br></br>" + "<img src='bar_load.gif'></>";
}
{
                document.getElementById('cash').innerHTML = "Not yet completed still confirming human verification";
}

        });

        setupgateway();
    });
</script>



<style>

    body
    {
        background-image:url('');
        background-repeat:repeat;
        height:100%;
        margin:0;
    }

    #mainContent
    {
        background-color:white;
        margin-left:auto;
        margin-right:auto;
        margin-top:30px;
        width:700px;
        border:3px solid #CDCDCD;
        text-align:center;
    }

    #gatewaydiv
    {
        background-image:url("");
        background-repeat:no-repeat;
        width:700px;
        height:318px;
        padding:20px;
        position:absolute;
        display:none;
        background-color:#FFFFFF;
        border:solid 4px gray;
        text-align:center;
        font-family:arial;
    }

    #gatewaydiv h1
    {
        font-size:22px;
        color:#cc0000;
    }

    #gatewayMessage
    {
        font-size:16px;
    }
    
    .offerlink
    {
        color:red;
        font-weight:bold;
    }
    
    #OfferList
    {
        margin:0;
        padding:0;
    }
    
    #OfferList
    {
        list-style:none;
    }

    #gatewayDimmer
    {
        background-color:#000000;
        opacity:0.8;
        display:none;
        position:absolute;
        top:0;
    }

    
</style>

And this in between teh body tags <body> </ body>

Code:
<body onscroll="scrolltop();">
<script language="javascript">document.write(ad);</script>
<div id="gatewayDimmer">
</div>

<div id="gatewaydiv">
    <ul id="OfferList">
    <h1>Welcome to the content locker</h1>
    <span id="gatewayMessage">Some statement if you wish to put
    <br /><br />
    
    <li><a href="http://google.com" class="offerlink" target="_blank">offerone</a></li>
    <li><a href="http://google.com" class="offerlink" target="_blank">offertwo</a></li>
    <li><a href="http://google.com" class="offerlink" target="_blank">Offerthree</a></li>
    
    </ul></span>
    <br /><br />
    Some other statemnet you will like to put<br />
    Thank you!
<br></br>

</div>

And you will need to save this gif and upload to the same directory where your content locker located
Code:
http://img818.imageshack.us/img818/5836/barload.gif

For pyronaut or who can help


this is my main goal that i have not figured out, is the cookie the content locker so once they click on a offer, it will not show for like 30 days or what ever i choose.

this is what i had and couldent figure it out, i just ripped crazy fix cookie thing and thought i can tweak it till it works but i failed. well here it is

Code:
<script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js" type="text/javascript"></script> 
<script type="text/javascript"> 
 
    var Delay = 20;//Seconds after them clicking the link, the gateway vanishes.
        var AppearDelay = 3;//Seconds before gateway appears
    var oldHistLength = history.length;
        var stop_scroll = false;
        var once_per_session=1;
        var unknown=true; 
 
 
function setcookie() {
    if (unknown==false){
    document.cookie="alerted=yes"
    }
    }  
    
    function get_cookie(Name) {
    var search = Name + "="
     var returnvalue = "";
    if (document.cookie.length > 0) {
    offset = document.cookie.indexOf(search)
    if (offset != -1) { // if cookie exists
    offset += search.length
    // set index of beginning of value
    end = document.cookie.indexOf(";", offset);
    // set index of end of cookie value
    if (end == -1)
    end = document.cookie.length;
    returnvalue=unescape(document.cookie.substring(offset, end))
   }
   }
    return returnvalue;
   }
 
    function alertornot(){
    if (get_cookie('alerted')==''){
    loadalert();
 
   }
   }
 
    function loadalert(){
    delayappearance();
   }
 
    if (once_per_session==365)
    loadalert()
    else
    alertornot()
 
    
    
    setInterval ( "checkHistory()", 1000 );
 
    
    function checkHistory()
    {
   if (oldHistLength != history.length)
   {
   removegateway();
   oldHistLength = history.length;
   }
   }
    
    
    
    function scrolltop(){
    if(stop_scroll==true){
        scroll(0,0);
    }
    }
    
    
    
    function delayappearance()
    {
        setTimeout("setupgateway()", AppearDelay*1000);
        
    }
    
    function setupgateway()
    {
                stop_scroll = true;
            window.scrollTo(0,0);
            document.body.style.overflow = "hidden"
        var Left = $(window).width() /2;
        Left = Left - $('#gatewaydiv').width()/2;
        
        var Top = $(window).height() /2;
        Top = Top - $('#gatewaydiv').height()/2;
        
        $('#gatewaydiv').css('top', Top+'px').css('left', Left+'px').css('display', 'inline');
        $('#gatewayDimmer').width($('html').width());
        $('#gatewayDimmer').height($('html').height());
        $('#gatewayDimmer').css('display','block');
                setTimeout("setcookie()", AppearDelay*6000);
    }
    
    function removegateway()
    {
                stop_scroll = false;
            document.body.style.overflow = ""  
        $('#gatewaydiv').css('display', 'none');
        $('#gatewayDimmer').css('display','none');
    }
    
    $(document).ready(function()
    {
        $('.offerlink').click(function()
        {
            setTimeout('removegateway()', Delay*1000);        
 
{
                document.getElementById('gatewayMessage').innerHTML = "Checking..." + "<br></br>" + "<img src='ajax-loader.gif'></>";
}
{
                document.getElementById('cash').innerHTML = "Not yet completed still confirming human verification";
}
 
        });
 
        setupgateway();
    });
</script>


thanks to sources:
http://www.blackhatworld.com/blackhat-seo/black-hat-seo-tools/210109-free-cpa-gateway-content-locker-code.html?highlight=content+locker and http://www.blackhatworld.com/blackhat-seo/black-hat-seo-tools/224283-free-content-gateway-geotarget-rotate-offers-session-cookies-instructions.html?highlight=content+locker click their name for their threads.
 
Back
Top