I want this Popunder Code in to "On page load" without time delay in new tab

here is Popads code, I want to open this one click popup to On Page Load in Wordpress Site.

  • now this code work on just one click but, I want to open on every page load in Wordpress
<!-- PopAds.net Popunder Code for youthvocal.com -->
<script type="text/javascript" data-cfasync="false">
/*<![CDATA[/* */
  var _pop = _pop || [];
  _pop.push(['siteId', 659363]);
  _pop.push(['minBid', 0]);
  _pop.push(['popundersPerIP', 0]);
  _pop.push(['delayBetween', 0]);
  _pop.push(['default', false]);
  _pop.push(['defaultPerDay', 0]);
  _pop.push(['topmostLayer', false]);
  (function() {
    var pa = document.createElement('script'); pa.type = 'text/javascript'; pa.async = true;
    var s = document.getElementsByTagName('script')[0]; 
    pa.src = '//c1.popads.net/pop.js';
    pa.onerror = function() {
      var sa = document.createElement('script'); sa.type = 'text/javascript'; sa.async = true;
      sa.src = '//c2.popads.net/pop.js';
      s.parentNode.insertBefore(sa, s);
    };
    s.parentNode.insertBefore(pa, s);
  })();
/*]]>/* */
</script>
<!-- PopAds.net Popunder Code End -->

I’d really think about whether that is a good idea. Personally speaking, there is nothing more likely to make me to leave your site than seeing a popunder on every page load.

That said, you might want to play around with some of the config settings. ppip seems like it might do what you want,

1 Like

Agreed. Some may think it’s their computer or browser that had been infected. Some may think it’s the site that’s infected If someone reports the site

https://safebrowsing.google.com/safebrowsing/report_badware/?hl=en

you may end up looking at these steps

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.