Need a piece of code

AdsEmpire

mycashnow19

Super Contributor
Joined
Apr 29, 2019
Messages
98
Hi,

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.

Thanks


like this ,but it is not working now

<script>
! 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";
}
</script>
 
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!
Top