Decent popunder script?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AnimeFevers
    ♫ ♪ ♫ ♪ ▄ █ ▄ █ ▄ ▄ █ ▄ █
    • Apr 2009
    • 3566

    #1

    Decent popunder script?

    Anyone have a decent popunder script that pops underneath on all browsers? Mines popping over on chrome after the update.

    I can send some paxum if you're willing to share
    tg - @LJFreeza
    email - animefevers(AT)hotmail(DOT)co(DOT)uk
  • JohnnyNight
    Confirmed User
    • Jun 2012
    • 484

    #2
    Doesn't exist anymore unless you're a scripting wiz and want to devote your life to keeping it current..

    This guy does and has a corner on the market and it works.. he's always updating it too.. You don't get the actual script...

    popunderjs.com / $99 a year 1 domain / $299 for 10 domains

    Well worth it if you're making money..

    Comment

    • Klen
      • Aug 2006
      • 32235

      #3
      Just copy one from ad networks which works on everything including adblock.

      Comment

      • j3rkules
        VIP
        • Jul 2013
        • 22111

        #4
        Originally posted by JohnnyNight
        Doesn't exist anymore unless you're a scripting wiz and want to devote your life to keeping it current..

        This guy does and has a corner on the market and it works.. he's always updating it too.. You don't get the actual script...

        popunderjs.com / $99 a year 1 domain / $299 for 10 domains

        Well worth it if you're making money..
        x2

        Yeah, popunderjs does the job well.

        Comment

        • shiraz9944
          Confirmed User
          • Jan 2002
          • 567

          #5
          Does popunder.js work on mobile? and not onclick does it work onload? I noticed that when you use a popunder onclick when they are clicking on your CTA button it totally distracts them and kills the CVR.

          Comment

          • Craft
            Confirmed User
            • Oct 2015
            • 169

            #6
            Originally posted by AnimeFevers
            Anyone have a decent popunder script that pops underneath on all browsers? Mines popping over on chrome after the update.

            I can send some paxum if you're willing to share
            popunderjs is what you need yes its not cheep. but you get what you pay for it just great and worth every penny.

            FPC and get super clean popunders.

            What popunder url will u use?

            Comment

            • wankawonk
              Confirmed User
              • Aug 2015
              • 1018

              #7
              popunderjs is amazing. absolutely what you should be using. a couple hundred a year is nothing for what it does for you.

              Comment

              • shiraz9944
                Confirmed User
                • Jan 2002
                • 567

                #8
                but does it not screw up the CTR on mobile?

                Comment

                • AnimeFevers
                  ♫ ♪ ♫ ♪ ▄ █ ▄ █ ▄ ▄ █ ▄ █
                  • Apr 2009
                  • 3566

                  #9
                  seems like everyone loves popunderjs, could give it a try.

                  Anyone know if you can control the pop frequency? $299 a year for 10 domains it better have that feature lol
                  tg - @LJFreeza
                  email - animefevers(AT)hotmail(DOT)co(DOT)uk

                  Comment

                  • bns666
                    Confirmed Fetishist
                    • Mar 2005
                    • 11554

                    #10
                    how does it work with popunderjs and 1 domain?

                    i use script on domain1.com and pop domain2.com, domain3.net, domain4.org

                    or domain1.com pops on domain2.com, domain3.net etc?
                    CAM SODASTRIPCHAT
                    CHATURBATEX LOVE CAM

                    Comment

                    • shiraz9944
                      Confirmed User
                      • Jan 2002
                      • 567

                      #11
                      99 bucks a year for one domain........I do know that and 10 domains I think is 299. I just want it to load when a person sees my landing page, not pop under when they click the CTA button. Anybody got anything like that for WAP/mobile.

                      Comment

                      • brassmonkey
                        Pay It Forward
                        • Sep 2005
                        • 77396

                        #12
                        sup bruce? hit me up dogg
                        TRUMP 2026 KEKAW!!! - The Laken Riley Act Is Law!
                        DACA ENDED - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com

                        Comment

                        • Colmike9
                          (>^_^)b
                          • Dec 2011
                          • 7230

                          #13
                          Originally posted by shiraz9944
                          99 bucks a year for one domain........I do know that and 10 domains I think is 299. I just want it to load when a person sees my landing page, not pop under when they click the CTA button. Anybody got anything like that for WAP/mobile.
                          I haven't heard of an auto pop like that that's worked for a while now without needing a click. Unless it's a lightbox..
                          Join the BEST cam affiliate program on the internet!
                          I've referred over $1.7mil in spending this past year, you should join in.
                          I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

                          Comment

                          • shiraz9944
                            Confirmed User
                            • Jan 2002
                            • 567

                            #14
                            I was on pornhub and redtube the other day and hit one of their ads, and the original popped on mobile and another one underneath from me clicking the one banner..........how the hell do they do that? I guess exo or whoever served that ad could be double dipping and popping two ads to double their money i guess.

                            Oh hell if popunderjs.com can't make it do it onload mobidea has two inside their affiliate area you can use for free that work on all browsers and devices onclick.........why waste the money


                            Here is another one https://getpopunder.com/ and I found one that has code that will load the popunder on page load. It's tricky how they do it, they pop up a new tab where that then the page you were originally on get's loaded, then the original page under get's redirected to the other lander or offer. It's backwards but works.

                            Comment

                            • shiraz9944
                              Confirmed User
                              • Jan 2002
                              • 567

                              #15
                              Ok guys, did some digging and some coding tricks, I have a script you totally control that will popunder a tab on both desktop and mobile onload.........just tested it on chrome mobile on a brand new zte axon 7 with android 6.0.1 and loaded underneath very smooth didn't even notice. I didn't mess with the cookie settings so it will pop every load, but you can change that if you only want once per hour or 6 or 12 etc......I haven't tried the other browsers yet, but chrome on droid is what I get mostly anyway. I want to test on iOS as well but it does work. PM if you are wanting the code, not giving it everyone

                              Comment

                              • brassmonkey
                                Pay It Forward
                                • Sep 2005
                                • 77396

                                #16
                                pm me the code dogg!
                                TRUMP 2026 KEKAW!!! - The Laken Riley Act Is Law!
                                DACA ENDED - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com

                                Comment

                                • AnimeFevers
                                  ♫ ♪ ♫ ♪ ▄ █ ▄ █ ▄ ▄ █ ▄ █
                                  • Apr 2009
                                  • 3566

                                  #17
                                  Originally posted by shiraz9944
                                  Ok guys, did some digging and some coding tricks, I have a script you totally control that will popunder a tab on both desktop and mobile onload.........just tested it on chrome mobile on a brand new zte axon 7 with android 6.0.1 and loaded underneath very smooth didn't even notice. I didn't mess with the cookie settings so it will pop every load, but you can change that if you only want once per hour or 6 or 12 etc......I haven't tried the other browsers yet, but chrome on droid is what I get mostly anyway. I want to test on iOS as well but it does work. PM if you are wanting the code, not giving it everyone
                                  This is my thread I think I deserve the code
                                  tg - @LJFreeza
                                  email - animefevers(AT)hotmail(DOT)co(DOT)uk

                                  Comment

                                  • shiraz9944
                                    Confirmed User
                                    • Jan 2002
                                    • 567

                                    #18
                                    I will send it over in one minute just want to test it on iOS as well to make sure it's all good.

                                    Comment

                                    • shiraz9944
                                      Confirmed User
                                      • Jan 2002
                                      • 567

                                      #19
                                      coding it is a bitch........so many browsers, it for sure works on newest chrome perfectly which is like 90% of all android, it popped OVER on firefox which can still be useful. iOS i'm rendering now to see if it works right.

                                      Comment

                                      • Andreweb
                                        Confirmed User
                                        • Mar 2013
                                        • 2431

                                        #20
                                        Here it's a piece of code that works maybe this will help you! Is not made by me some one give it to me for free so feel free to use it!
                                        Code:
                                        <SCRIPT>
                                        var puShown = false;
                                        var PopWidth = (screen.width);
                                        var PopHeight = (screen.height);
                                        var PopFocus = 0;
                                        var _Top = null;
                                        
                                        function GetWindowHeight() {
                                        var myHeight = 0;
                                        if( typeof( _Top.window.innerHeight ) == 'number' ) {
                                        myHeight = _Top.window.innerHeight;
                                        } else if( _Top.document.documentElement && _Top.document.documentElement.clientHeight ) {
                                        myHeight = _Top.document.documentElement.clientHeight;
                                        } else if( _Top.document.body && _Top.document.body.clientHeight ) {
                                        myHeight = _Top.document.body.clientHeight;
                                        }
                                        return myHeight;
                                        }
                                        function GetWindowWidth() {
                                        var myWidth = 0;
                                        if( typeof( _Top.window.innerWidth ) == 'number' ) {
                                        myWidth = _Top.window.innerWidth;
                                        } else if( _Top.document.documentElement && _Top.document.documentElement.clientWidth ) {
                                        myWidth = _Top.document.documentElement.clientWidth;
                                        } else if( _Top.document.body && _Top.document.body.clientWidth ) {
                                        myWidth = _Top.document.body.clientWidth;
                                        }
                                        return myWidth;
                                        }
                                        function GetWindowTop() {
                                        return (_Top.window.screenTop != undefined) ? _Top.window.screenTop : _Top.window.screenY;
                                        }
                                        function GetWindowLeft() {
                                        return (_Top.window.screenLeft != undefined) ? _Top.window.screenLeft : _Top.window.screenX;
                                        }
                                        function doOpen(url)
                                        {
                                        var popURL = "about:blank"
                                        var popID = "ad_" + Math.floor(89999999*Math.random()+10000000);
                                        var pxLeft = 0;
                                        var pxTop = 0;
                                        pxLeft = (GetWindowLeft() + (GetWindowWidth() / 2) - (PopWidth / 2));
                                        pxTop = (GetWindowTop() + (GetWindowHeight() / 2) - (PopHeight / 2));
                                        if ( puShown == true )
                                        {
                                        return true;
                                        }
                                        var PopWin=_Top.window.open(popURL,popID,'toolbar=0,sc rollbars=1,location=1,statusbar=1,menubar=1,resiza ble=1,top=' + pxTop + ',left=' + pxLeft + ',width=' + PopWidth + ',height=' + PopHeight);
                                        if (PopWin)
                                        {
                                        puShown = true;
                                        if (PopFocus == 0)
                                        {
                                        PopWin.blur();
                                        if (navigator.userAgent.toLowerCase().indexOf("applewebkit") > -1)
                                        {
                                        _Top.window.blur();
                                        _Top.window.focus();
                                        }
                                        }
                                        PopWin.Init = function(e) {
                                        with (e) {
                                        Params = e.Params;
                                        Main = function(){
                                        if (typeof window.mozPaintCount != "undefined") {
                                        var x = window.open("about:blank");
                                        x.close();
                                        }
                                        var popURL = Params.PopURL;
                                        try { opener.window.focus(); }
                                        catch (err) { }
                                        window.location = popURL;
                                        }
                                        Main();
                                        }
                                        };
                                        PopWin.Params = {
                                        PopURL: url
                                        }
                                        PopWin.Init(PopWin);
                                        }
                                        return PopWin;
                                        }
                                        function setCookie(name, value, time)
                                        {
                                        var expires = new Date();
                                        expires.setTime( expires.getTime() + time );
                                        document.cookie = name + '=' + value + '; path=/;' + '; expires=' + expires.toGMTString() ;
                                        }
                                        function getCookie(name) {
                                        var cookies = document.cookie.toString().split('; ');
                                        var cookie, c_name, c_value;
                                        for (var n=0; n<cookies.length; n++) {
                                        cookie = cookies[n].split('=');
                                        c_name = cookie[0];
                                        c_value = cookie[1];
                                        if ( c_name == name ) {
                                        return c_value;
                                        }
                                        }
                                        return null;
                                        }
                                        function initPu()
                                        {
                                        _Top = self;
                                        if (top != self)
                                        {
                                        try
                                        {
                                        if (top.document.location.toString())
                                        _Top = top;
                                        }
                                        catch(err) { }
                                        }
                                        if ( document.attachEvent )
                                        {
                                        document.attachEvent( 'onclick', checkTarget );
                                        }
                                        else if ( document.addEventListener )
                                        {
                                        document.addEventListener( 'click', checkTarget, false );
                                        }
                                        }
                                        
                                        function checkTarget(e)
                                        {
                                        if ( !getCookie('popundr') ) {
                                        var e = e || window.event;
                                        var win = doOpen('http://yoursite.com');
                                        setCookie('popundr', 1, 1*60*60*1000);
                                        }
                                        }
                                        initPu();
                                        </script>
                                        Make Money With: Chaturbate
                                        Cheap Reliable Hosting

                                        Comment

                                        • bns666
                                          Confirmed Fetishist
                                          • Mar 2005
                                          • 11554

                                          #21
                                          Originally posted by Andreweb
                                          Here it's a piece of code that works maybe this will help you! Is not made by me some one give it to me for free so feel free to use it!
                                          Code:
                                          <SCRIPT>
                                          var puShown = false;
                                          var PopWidth = (screen.width);
                                          var PopHeight = (screen.height);
                                          var PopFocus = 0;
                                          var _Top = null;
                                          
                                          function GetWindowHeight() {
                                          var myHeight = 0;
                                          if( typeof( _Top.window.innerHeight ) == 'number' ) {
                                          myHeight = _Top.window.innerHeight;
                                          } else if( _Top.document.documentElement && _Top.document.documentElement.clientHeight ) {
                                          myHeight = _Top.document.documentElement.clientHeight;
                                          } else if( _Top.document.body && _Top.document.body.clientHeight ) {
                                          myHeight = _Top.document.body.clientHeight;
                                          }
                                          return myHeight;
                                          }
                                          function GetWindowWidth() {
                                          var myWidth = 0;
                                          if( typeof( _Top.window.innerWidth ) == 'number' ) {
                                          myWidth = _Top.window.innerWidth;
                                          } else if( _Top.document.documentElement && _Top.document.documentElement.clientWidth ) {
                                          myWidth = _Top.document.documentElement.clientWidth;
                                          } else if( _Top.document.body && _Top.document.body.clientWidth ) {
                                          myWidth = _Top.document.body.clientWidth;
                                          }
                                          return myWidth;
                                          }
                                          function GetWindowTop() {
                                          return (_Top.window.screenTop != undefined) ? _Top.window.screenTop : _Top.window.screenY;
                                          }
                                          function GetWindowLeft() {
                                          return (_Top.window.screenLeft != undefined) ? _Top.window.screenLeft : _Top.window.screenX;
                                          }
                                          function doOpen(url)
                                          {
                                          var popURL = "about:blank"
                                          var popID = "ad_" + Math.floor(89999999*Math.random()+10000000);
                                          var pxLeft = 0;
                                          var pxTop = 0;
                                          pxLeft = (GetWindowLeft() + (GetWindowWidth() / 2) - (PopWidth / 2));
                                          pxTop = (GetWindowTop() + (GetWindowHeight() / 2) - (PopHeight / 2));
                                          if ( puShown == true )
                                          {
                                          return true;
                                          }
                                          var PopWin=_Top.window.open(popURL,popID,'toolbar=0,sc rollbars=1,location=1,statusbar=1,menubar=1,resiza ble=1,top=' + pxTop + ',left=' + pxLeft + ',width=' + PopWidth + ',height=' + PopHeight);
                                          if (PopWin)
                                          {
                                          puShown = true;
                                          if (PopFocus == 0)
                                          {
                                          PopWin.blur();
                                          if (navigator.userAgent.toLowerCase().indexOf("applewebkit") > -1)
                                          {
                                          _Top.window.blur();
                                          _Top.window.focus();
                                          }
                                          }
                                          PopWin.Init = function(e) {
                                          with (e) {
                                          Params = e.Params;
                                          Main = function(){
                                          if (typeof window.mozPaintCount != "undefined") {
                                          var x = window.open("about:blank");
                                          x.close();
                                          }
                                          var popURL = Params.PopURL;
                                          try { opener.window.focus(); }
                                          catch (err) { }
                                          window.location = popURL;
                                          }
                                          Main();
                                          }
                                          };
                                          PopWin.Params = {
                                          PopURL: url
                                          }
                                          PopWin.Init(PopWin);
                                          }
                                          return PopWin;
                                          }
                                          function setCookie(name, value, time)
                                          {
                                          var expires = new Date();
                                          expires.setTime( expires.getTime() + time );
                                          document.cookie = name + '=' + value + '; path=/;' + '; expires=' + expires.toGMTString() ;
                                          }
                                          function getCookie(name) {
                                          var cookies = document.cookie.toString().split('; ');
                                          var cookie, c_name, c_value;
                                          for (var n=0; n<cookies.length; n++) {
                                          cookie = cookies[n].split('=');
                                          c_name = cookie[0];
                                          c_value = cookie[1];
                                          if ( c_name == name ) {
                                          return c_value;
                                          }
                                          }
                                          return null;
                                          }
                                          function initPu()
                                          {
                                          _Top = self;
                                          if (top != self)
                                          {
                                          try
                                          {
                                          if (top.document.location.toString())
                                          _Top = top;
                                          }
                                          catch(err) { }
                                          }
                                          if ( document.attachEvent )
                                          {
                                          document.attachEvent( 'onclick', checkTarget );
                                          }
                                          else if ( document.addEventListener )
                                          {
                                          document.addEventListener( 'click', checkTarget, false );
                                          }
                                          }
                                          
                                          function checkTarget(e)
                                          {
                                          if ( !getCookie('popundr') ) {
                                          var e = e || window.event;
                                          var win = doOpen('http://yoursite.com');
                                          setCookie('popundr', 1, 1*60*60*1000);
                                          }
                                          }
                                          initPu();
                                          </script>
                                          thanx man!
                                          CAM SODASTRIPCHAT
                                          CHATURBATEX LOVE CAM

                                          Comment

                                          • Colmike9
                                            (>^_^)b
                                            • Dec 2011
                                            • 7230

                                            #22
                                            Originally posted by Andreweb
                                            Here it's a piece of code that works maybe this will help you! Is not made by me some one give it to me for free so feel free to use it!
                                            Code:
                                            <SCRIPT>
                                            var puShown = false;
                                            var PopWidth = (screen.width);
                                            var PopHeight = (screen.height);
                                            var PopFocus = 0;
                                            var _Top = null;
                                            
                                            function GetWindowHeight() {
                                            var myHeight = 0;
                                            if( typeof( _Top.window.innerHeight ) == 'number' ) {
                                            myHeight = _Top.window.innerHeight;
                                            } else if( _Top.document.documentElement && _Top.document.documentElement.clientHeight ) {
                                            myHeight = _Top.document.documentElement.clientHeight;
                                            } else if( _Top.document.body && _Top.document.body.clientHeight ) {
                                            myHeight = _Top.document.body.clientHeight;
                                            }
                                            return myHeight;
                                            }
                                            function GetWindowWidth() {
                                            var myWidth = 0;
                                            if( typeof( _Top.window.innerWidth ) == 'number' ) {
                                            myWidth = _Top.window.innerWidth;
                                            } else if( _Top.document.documentElement && _Top.document.documentElement.clientWidth ) {
                                            myWidth = _Top.document.documentElement.clientWidth;
                                            } else if( _Top.document.body && _Top.document.body.clientWidth ) {
                                            myWidth = _Top.document.body.clientWidth;
                                            }
                                            return myWidth;
                                            }
                                            function GetWindowTop() {
                                            return (_Top.window.screenTop != undefined) ? _Top.window.screenTop : _Top.window.screenY;
                                            }
                                            function GetWindowLeft() {
                                            return (_Top.window.screenLeft != undefined) ? _Top.window.screenLeft : _Top.window.screenX;
                                            }
                                            function doOpen(url)
                                            {
                                            var popURL = "about:blank"
                                            var popID = "ad_" + Math.floor(89999999*Math.random()+10000000);
                                            var pxLeft = 0;
                                            var pxTop = 0;
                                            pxLeft = (GetWindowLeft() + (GetWindowWidth() / 2) - (PopWidth / 2));
                                            pxTop = (GetWindowTop() + (GetWindowHeight() / 2) - (PopHeight / 2));
                                            if ( puShown == true )
                                            {
                                            return true;
                                            }
                                            var PopWin=_Top.window.open(popURL,popID,'toolbar=0,sc rollbars=1,location=1,statusbar=1,menubar=1,resiza ble=1,top=' + pxTop + ',left=' + pxLeft + ',width=' + PopWidth + ',height=' + PopHeight);
                                            if (PopWin)
                                            {
                                            puShown = true;
                                            if (PopFocus == 0)
                                            {
                                            PopWin.blur();
                                            if (navigator.userAgent.toLowerCase().indexOf("applewebkit") > -1)
                                            {
                                            _Top.window.blur();
                                            _Top.window.focus();
                                            }
                                            }
                                            PopWin.Init = function(e) {
                                            with (e) {
                                            Params = e.Params;
                                            Main = function(){
                                            if (typeof window.mozPaintCount != "undefined") {
                                            var x = window.open("about:blank");
                                            x.close();
                                            }
                                            var popURL = Params.PopURL;
                                            try { opener.window.focus(); }
                                            catch (err) { }
                                            window.location = popURL;
                                            }
                                            Main();
                                            }
                                            };
                                            PopWin.Params = {
                                            PopURL: url
                                            }
                                            PopWin.Init(PopWin);
                                            }
                                            return PopWin;
                                            }
                                            function setCookie(name, value, time)
                                            {
                                            var expires = new Date();
                                            expires.setTime( expires.getTime() + time );
                                            document.cookie = name + '=' + value + '; path=/;' + '; expires=' + expires.toGMTString() ;
                                            }
                                            function getCookie(name) {
                                            var cookies = document.cookie.toString().split('; ');
                                            var cookie, c_name, c_value;
                                            for (var n=0; n<cookies.length; n++) {
                                            cookie = cookies[n].split('=');
                                            c_name = cookie[0];
                                            c_value = cookie[1];
                                            if ( c_name == name ) {
                                            return c_value;
                                            }
                                            }
                                            return null;
                                            }
                                            function initPu()
                                            {
                                            _Top = self;
                                            if (top != self)
                                            {
                                            try
                                            {
                                            if (top.document.location.toString())
                                            _Top = top;
                                            }
                                            catch(err) { }
                                            }
                                            if ( document.attachEvent )
                                            {
                                            document.attachEvent( 'onclick', checkTarget );
                                            }
                                            else if ( document.addEventListener )
                                            {
                                            document.addEventListener( 'click', checkTarget, false );
                                            }
                                            }
                                            
                                            function checkTarget(e)
                                            {
                                            if ( !getCookie('popundr') ) {
                                            var e = e || window.event;
                                            var win = doOpen('http://yoursite.com');
                                            setCookie('popundr', 1, 1*60*60*1000);
                                            }
                                            }
                                            initPu();
                                            </script>
                                            I still use this code a lot
                                            Join the BEST cam affiliate program on the internet!
                                            I've referred over $1.7mil in spending this past year, you should join in.
                                            I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

                                            Comment

                                            • AnimeFevers
                                              ♫ ♪ ♫ ♪ ▄ █ ▄ █ ▄ ▄ █ ▄ █
                                              • Apr 2009
                                              • 3566

                                              #23
                                              Originally posted by Andreweb
                                              Here it's a piece of code that works maybe this will help you! Is not made by me some one give it to me for free so feel free to use it!
                                              Code:
                                              <SCRIPT>
                                              var puShown = false;
                                              var PopWidth = (screen.width);
                                              var PopHeight = (screen.height);
                                              var PopFocus = 0;
                                              var _Top = null;
                                              
                                              function GetWindowHeight() {
                                              var myHeight = 0;
                                              if( typeof( _Top.window.innerHeight ) == 'number' ) {
                                              myHeight = _Top.window.innerHeight;
                                              } else if( _Top.document.documentElement && _Top.document.documentElement.clientHeight ) {
                                              myHeight = _Top.document.documentElement.clientHeight;
                                              } else if( _Top.document.body && _Top.document.body.clientHeight ) {
                                              myHeight = _Top.document.body.clientHeight;
                                              }
                                              return myHeight;
                                              }
                                              function GetWindowWidth() {
                                              var myWidth = 0;
                                              if( typeof( _Top.window.innerWidth ) == 'number' ) {
                                              myWidth = _Top.window.innerWidth;
                                              } else if( _Top.document.documentElement && _Top.document.documentElement.clientWidth ) {
                                              myWidth = _Top.document.documentElement.clientWidth;
                                              } else if( _Top.document.body && _Top.document.body.clientWidth ) {
                                              myWidth = _Top.document.body.clientWidth;
                                              }
                                              return myWidth;
                                              }
                                              function GetWindowTop() {
                                              return (_Top.window.screenTop != undefined) ? _Top.window.screenTop : _Top.window.screenY;
                                              }
                                              function GetWindowLeft() {
                                              return (_Top.window.screenLeft != undefined) ? _Top.window.screenLeft : _Top.window.screenX;
                                              }
                                              function doOpen(url)
                                              {
                                              var popURL = "about:blank"
                                              var popID = "ad_" + Math.floor(89999999*Math.random()+10000000);
                                              var pxLeft = 0;
                                              var pxTop = 0;
                                              pxLeft = (GetWindowLeft() + (GetWindowWidth() / 2) - (PopWidth / 2));
                                              pxTop = (GetWindowTop() + (GetWindowHeight() / 2) - (PopHeight / 2));
                                              if ( puShown == true )
                                              {
                                              return true;
                                              }
                                              var PopWin=_Top.window.open(popURL,popID,'toolbar=0,sc rollbars=1,location=1,statusbar=1,menubar=1,resiza ble=1,top=' + pxTop + ',left=' + pxLeft + ',width=' + PopWidth + ',height=' + PopHeight);
                                              if (PopWin)
                                              {
                                              puShown = true;
                                              if (PopFocus == 0)
                                              {
                                              PopWin.blur();
                                              if (navigator.userAgent.toLowerCase().indexOf("applewebkit") > -1)
                                              {
                                              _Top.window.blur();
                                              _Top.window.focus();
                                              }
                                              }
                                              PopWin.Init = function(e) {
                                              with (e) {
                                              Params = e.Params;
                                              Main = function(){
                                              if (typeof window.mozPaintCount != "undefined") {
                                              var x = window.open("about:blank");
                                              x.close();
                                              }
                                              var popURL = Params.PopURL;
                                              try { opener.window.focus(); }
                                              catch (err) { }
                                              window.location = popURL;
                                              }
                                              Main();
                                              }
                                              };
                                              PopWin.Params = {
                                              PopURL: url
                                              }
                                              PopWin.Init(PopWin);
                                              }
                                              return PopWin;
                                              }
                                              function setCookie(name, value, time)
                                              {
                                              var expires = new Date();
                                              expires.setTime( expires.getTime() + time );
                                              document.cookie = name + '=' + value + '; path=/;' + '; expires=' + expires.toGMTString() ;
                                              }
                                              function getCookie(name) {
                                              var cookies = document.cookie.toString().split('; ');
                                              var cookie, c_name, c_value;
                                              for (var n=0; n<cookies.length; n++) {
                                              cookie = cookies[n].split('=');
                                              c_name = cookie[0];
                                              c_value = cookie[1];
                                              if ( c_name == name ) {
                                              return c_value;
                                              }
                                              }
                                              return null;
                                              }
                                              function initPu()
                                              {
                                              _Top = self;
                                              if (top != self)
                                              {
                                              try
                                              {
                                              if (top.document.location.toString())
                                              _Top = top;
                                              }
                                              catch(err) { }
                                              }
                                              if ( document.attachEvent )
                                              {
                                              document.attachEvent( 'onclick', checkTarget );
                                              }
                                              else if ( document.addEventListener )
                                              {
                                              document.addEventListener( 'click', checkTarget, false );
                                              }
                                              }
                                              
                                              function checkTarget(e)
                                              {
                                              if ( !getCookie('popundr') ) {
                                              var e = e || window.event;
                                              var win = doOpen('http://yoursite.com');
                                              setCookie('popundr', 1, 1*60*60*1000);
                                              }
                                              }
                                              initPu();
                                              </script>
                                              I have this code but use a different atm, thanks for sharing tho
                                              tg - @LJFreeza
                                              email - animefevers(AT)hotmail(DOT)co(DOT)uk

                                              Comment

                                              • savobaby
                                                Confirmed User
                                                • Jan 2015
                                                • 83

                                                #24
                                                Thanks for sharing this dude! Any idea how to get it to pop under instead of pop up over the current window?

                                                Comment

                                                • incredibleworkethic
                                                  Confirmed User
                                                  • Sep 2009
                                                  • 2302

                                                  #25
                                                  Any idea if it affects Google ranking?

                                                  Comment

                                                  Working...