How to Create a Popunder?

by 21 replies
26
Hi there,

I would like to create a popunder for my site, but i have now idea on what a good script
is that opens a new site in a new window every time someone lands on my home page.

i hope that some here can help me with such script.

Thanks in advance.
#programming #create #popunder
  • The problem with popunders is that most popup blockers will block them from even loading. With that said here is free popunder javascript: Cut & Paste Pop-under window

    However, I would suggest using a modal box with and iframe instead. Basically it will load the new site in the iframe and display it in an overlay on top of your content. I know this doesn't fit your need for a popunder, but it won't be blocked by popup blockers. Some of them can be set to load after a visitor has been on your page for a certain amount of time or displayed when visitors move their mouse off the browser window, which indicates that they're probably leaving the site.

    Google "jquery modal window" or here is a list of modal scripts 17 jQuery Modal Dialog Boxes | jQuery4u
    • [2] replies
    • this popunder code works surprisingly well

      Code:
      <script type="text/javascript"  src="http://beaverscripts.com/openwindow.js?puurl=http://www.YOUR-POP-UNDER-ADDRESS.com"></script>
      • [3] replies
    • Hi BrainyBiz,

      Thanks alot for your advice. But I'm looking for a script that opens a site into an new tab.
      In google chrome it's called "tabunder" opening site in an new tab should not be blocked
      by browsers because it's not a popup. anyway i'll look deeper into jquery modal window to see if learn something from it.

  • [DELETED]
    • [1] reply
    • In Firefox and nothing popped under? Am I missing something, and $70!!%@$%!
  • And my google chrome block it also
  • Popunder Code

    <script>//PopUnder Power
    //Credit notice must stay intact for use.

    //Paste this entire javascript between the <head> & </head> tags of your page,
    //or option 2: Save it as an external file, "popunder.js", and call it from between
    //the <head>&</head> tags of the parent page, with this command:
    // <script src="/popunder.js" LANGUAGE="JAVASCRIPT">


    // Visit mikenew.net for more scripts.
    // by Mike New, with special thanks to
    // Jeff Phillips of Truck Driving Jobs, Trucking Jobs for Truckers | Class A Drivers, for some good mods
    // If you use this script, or make it better, I'd love to see it in action! webmaster@mikenew.net



    // Begin. Specify URLs to randomly select from and pop-under. Add or take away freely.
    var popunder=new Array()


    popunder[0]="http://www.mikenew.net"




    // Specify the width and height of new popunder window (in pixels).

    var width = '700';
    var height = '100';



    var p = 'scrollbars=no,resizable=yes,toolbar=no,' + //these are obvious variables. set "yes" or "no".
    'menubar=yes,status=yes,location=no,left=85,top=20 ,height=' + //the location on the user's screen
    height + ',width=' + width;




    // Load new PopUnder only once per browser session? (0=no, 1=yes)
    // Putting 0 will cause the Popunder to load every time page is loaded
    // Specifying 1 will cause it to load only once per session
    var one_time=1


    // That's it! Don't edit the code below unless you're really good. :-P //








    function get_cookie(Name) {
    var search = Name + "="
    var returnvalue = "";
    if (document.cookie.length > 0) {
    offset = document.cookie.indexOf(search)
    if (offset != -1) { // if the cookie exists
    offset += search.length
    end = document.cookie.indexOf(";", offset); // set the index of beginning value
    if (end == -1) // set the index of the end of cookie value
    end = document.cookie.length;
    returnvalue=unescape(document.cookie.substring(off set, end))
    }
    }
    return returnvalue;
    }
    function loadornot(){
    if (get_cookie('popunder')==''){
    load_pop_power()
    document.cookie="popunder=yes"
    }
    }
    function load_pop_power(){
    win2=window.open(popunder[Math.floor(Math.random()*(popunder.length))],"bw",p)
    win2.blur()
    window.focus()
    }
    if (one_time==0)
    load_pop_power()
    else
    loadornot()
    </script>
    • [1] reply
    • Hello faraox,
      If you are looking for a popunder code we could recommend you getpopunder.com, our ad network use this script on all of our website publishers.
    • [1] reply
    • My bad.
      There was a Black Friday Campaign where we had 30% off and the technical team forgot to delete the line . Will be fixed ,thanks for heads-up
  • Banned
    [DELETED]
  • These much better solution for web browser compare to popup it loads on the background only shown user close the front browser you can get free popunder code in online you can use that.
  • Be very careful!!!! Never trust 3rd party code obfuscated that way! This is the deobfuscated code http://pastebin.com/raw/CR7rSXsV - it occasionally (2% of visits) redirects your users to a dating/porn website. See the code for details, in particular:


    HTML Code:
    var urls = new Array();
    for (i = 0; i < 20; i++) {
        urls[i] = 'http://beaverscripts.com/check-for-newest-version/';
    };
    for (i = 20; i < 1000; i++) {
        urls[i] = params.puurl;
    };

    I repeat: never, never trust this sort of things.
    • [1] reply
    • It is possible if you could clean that script so it doesn't do anything suspicious since that's the only working popunder tab script that isn't blocked
  • [DELETED]
  • Use this script to add a pop-under window to your page; simply input the page/address to pop under, and off you go! You can control the frequency of the popunder, so it either pop unders every time the page is loaded, or only once per browser session (a session is the time the browser is open.
  • my question is similar - about buying of traffic
    and I heard that pop traffic can be reached from Plugin's as well...
    is someone here familiar with pop traffic from Plugin's?
  • Use this script to add a pop-under window to your page; simply input the page/address to pop under, and off you go! You can control the frequency of the popunder, so it either pop unders every time the page is loaded, or only once per browser session (a session is the time the browser is open.

Next Topics on Trending Feed