• Welcome to affLIFT!
    We are happy you have decided to check out our awesome affiliate marketing forum. Register your account today to join our amazing community!
  • Registration is free and you can upgrade your membership anytime to view our premium content. We also have over 100 free Public threads.
  • MyLead is a custom newbie friendly affiliate network with tons of different and unique opportunities to earn. Join them and see everything they have to offer!
    Join MyLead Affiliate Network

Need a piece of code


Active Member

Can some guy share a piece of code which have such a function ? {back push code}

When users visit our page,He didn't click on our ad,then he hit the back button. now the code will automatically force open our ad links.


like this ,but it is not working now

! function () {
var t;
try {
for (t = 0; 10 > t; ++t) history.pushState({}, "", "#");
onpopstate = function (t) {
t.state && location.replace("http://youroffer.com")
} catch (o) {}
function loadCB(){
window.location.href = "http://youroffer.com";
To view the premium content in our affiliate marketing forum (including this awesome thread), you must first register and upgrade your account. Register today and become a part of our amazing community!