Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Jul 2011
    Posts
    52
    Thanks
    4
    Thanked 0 Times in 0 Posts

    PopUnder script?

    Hello. I'm looking for a way to create Pop Under in my website.
    I looked for it in google but all I found is unworking scripts or scripts that blocked by the browser.
    Any ideas ?

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,079
    Thanks
    203
    Thanked 2,542 Times in 2,520 Posts
    Unwanted pop-unders will be blocked by modern browsers. They also annoy your visitors and make it less likely that they will return to your site.

    Rather than a pop-under you can have a <div> which is hidden/visible depending on something.

    All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

  • #3
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,947
    Thanks
    79
    Thanked 4,424 Times in 4,389 Posts
    No difference between POPUP and POPUNDER except whether the new page receives the focus or not. So of course any kind of code that creates a new window *WILL* be blocked by the popup blockers. Since the browser makers work real real hard to make it possible to block popups, they make it equally hard to block popunders. Thank goodness.

    EDIT: And Philip is just a bit faster than I am. But he's always right. (He must be. He agrees with me. <grin/>)
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • #4
    New Coder
    Join Date
    Jul 2011
    Posts
    52
    Thanks
    4
    Thanked 0 Times in 0 Posts
    You didn't help me much guys..
    I have a pop under script of my afiiliate program that works to all browsers, so dont tell me it's impossible - I just looking for the script of this and not their code (I want to show different pages then theire advertisers).

    So, Someone knows how to make one?

  • #5
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,947
    Thanks
    79
    Thanked 4,424 Times in 4,389 Posts
    <shrug>You just open the popup window but the put the focus() back on your main page.

    Helifino what the point of this is, except to get points from advertisers for supposedly showing their ads. Were I an advertiser who found you doing this, I'd stop paying you yesterday and sue you for every dime I had previously sent you. And then boycott your forever.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •