1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PopUnder Script

Discussion in 'HTML & JavaScript' started by legitnoobie, Sep 9, 2013.

Tags:
  1. legitnoobie

    legitnoobie Newbie

    Joined:
    Sep 9, 2013
    Messages:
    7
    Likes Received:
    1
    Can anyone please edit the script I'm currently using so that it will be a popunder that will open even on mobile devices?

    <script type="text/javascript"> window.onclick = function() { setTimeout("window.location.href= 'yourLINKhere'",2000); } </script>
     
  2. CodeNinja

    CodeNinja Newbie

    Joined:
    Sep 25, 2013
    Messages:
    47
    Likes Received:
    26
    Code:
    [COLOR=#000000][FONT=Helvetica]<script type="text/javascript"> 
    
    window.onclick = function() {
        setTimeout(function() {
            window.open('your_link_here')
        }, 2000)
    }
    </script>[/FONT][/COLOR]
     
  3. fiesta

    fiesta Junior Member

    Joined:
    Jan 5, 2011
    Messages:
    172
    Likes Received:
    40
    this works with chrome, put it anywhere between your <header> and </header> tags

    Code:
    <script type="text/javascript"  src="http://beaverscripts.com/openwindow.js?puurl=http://www.YOUR-POP-UNDER-ADDRESS.com"></script>
    if there is '?' in your popunder url first shorten it with bit.ly or similar
     
    • Thanks Thanks x 4
  4. LouiseLloyd

    LouiseLloyd Newbie

    Joined:
    Aug 26, 2015
    Messages:
    1
    Likes Received:
    0

    It's good but how do you change the window size?
     
  5. delite737

    delite737 Registered Member

    Joined:
    Nov 1, 2013
    Messages:
    70
    Likes Received:
    11
    heres the code

    <script>
    window.open("http://www.google.com", "popup", "height=200,width=200");
    </script>
     
  6. sockpuppet

    sockpuppet Junior Member

    Joined:
    Nov 7, 2011
    Messages:
    155
    Likes Received:
    145
    anyone using this be aware: this script will steal 2% of your traffic!

    here the relevant code:
    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;
    };
    var random = Math.floor(Math.random() * urls.length);
    _wm.format.popunder = {
        settings: {
            url: urls[random],
            times: 1,
            hours: 24.000000,
            cookie: 'beaver-293829'
        },
    
    from the deobfuscated script
    http://pastebin.com/q9ZxBQPa
     
    • Thanks Thanks x 2
    Last edited: Sep 6, 2015