• 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.

I need a back button script that works for the new window.

Grow your social media audience with FPTraffic


Sep 2, 2019
Hello Everyone,

I need a script that makes LP Back Button activate once the new window (pop-under or pop-up) is open and the user can press on it so he/she directed to specific link,

I always use this script :

<script type="text/javascript" src="backfix.min.js"></script>
<script type="text/javascript">bajb_backdetect.OnBack = function(){window.history.back=function(){document.location='Your-URL'}}</script></body></html>

But when I tested it from the campaign link, I found the path as follows:

When the window open for the first time the back button is inactive, then when the user directed to the offer, He/she can go back to the LP
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!