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

Looking for a popunder script to seperate desktop and mobile traffic

Discussion in 'HTML & JavaScript' started by lovetrain, Nov 5, 2015.

  1. lovetrain

    lovetrain Registered Member

    Joined:
    Oct 7, 2014
    Messages:
    58
    Likes Received:
    5
    Hi

    As i said in the title already, im looking for a popunder script which can send the users to different sites depends on if they visit my site from a computer or a mobile device.
    Users from computers should see Popup-A while users from mobile devices see Popup-B.

    At the moment im using this ClickPop script.
    Code:
    <script>var ClickPop={Public:{PopURL:"PopupDomain"}};</script><script src="http://domain.com/pop.js"></script>
    Here is the content of pop.js
    Code:
    [COLOR=#000000]var _0xd70c=["\x31\x20\x34\x3D\x7B\x7D\x3B\x39\x28\x61\x20\x32\x21\x3D\x3D\x22\x69\x22\x29\x7B\x34\x2E\x36\x3D\x32\x2E\x37\x2E\x38\x3B\x31\x20\x30\x3D\x33\x2E\x6C\x28\x22\x63\x22\x29\x3B\x30\x2E\x64\x3D\x22\x65\x3A\x2F\x2F\x66\x2E\x67\x2E\x68\x2F\x35\x2F\x6A\x2E\x35\x22\x3B\x33\x2E\x6B\x2E\x62\x28\x30\x29\x7D","\x7C","\x73\x70\x6C\x69\x74","\x70\x75\x53\x63\x72\x69\x70\x74\x7C\x76\x61\x72\x7C\x43\x6C\x69\x63\x6B\x50\x6F\x70\x7C\x64\x6F\x63\x75\x6D\x65\x6E\x74\x7C\x5F\x30\x78\x31\x66\x32\x34\x7C\x6A\x73\x7C\x75\x72\x6C\x7C\x50\x75\x62\x6C\x69\x63\x7C\x50\x6F\x70\x55\x52\x4C\x7C\x69\x66\x7C\x74\x79\x70\x65\x6F\x66\x7C\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64\x7C\x73\x63\x72\x69\x70\x74\x7C\x73\x72\x63\x7C\x68\x74\x74\x70\x7C\x73\x74\x61\x74\x69\x63\x7C\x73\x6C\x66\x70\x75\x7C\x63\x6F\x6D\x7C\x75\x6E\x64\x65\x66\x69\x6E\x65\x64\x7C\x75\x35\x66\x33\x32\x50\x36\x7C\x62\x6F\x64\x79\x7C\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x72\x65\x70\x6C\x61\x63\x65","","\x5C\x77\x2B","\x5C\x62","\x67"];eval(function (_0x44d9x1,_0x44d9x2,_0x44d9x3,_0x44d9x4,_0x44d9x5,_0x44d9x6){_0x44d9x5=function (_0x44d9x3){return _0x44d9x3.toString(_0x44d9x2);} ;if(!_0xd70c[5][_0xd70c[4]](/^/,String)){while(_0x44d9x3--){_0x44d9x6[_0x44d9x5(_0x44d9x3)]=_0x44d9x4[_0x44d9x3]||_0x44d9x5(_0x44d9x3);} ;_0x44d9x4=[function (_0x44d9x5){return _0x44d9x6[_0x44d9x5];} ];_0x44d9x5=function (){return _0xd70c[6];} ;_0x44d9x3=1;} ;while(_0x44d9x3--){if(_0x44d9x4[_0x44d9x3]){_0x44d9x1=_0x44d9x1[_0xd70c[4]]( new RegExp(_0xd70c[7]+_0x44d9x5(_0x44d9x3)+_0xd70c[7],_0xd70c[8]),_0x44d9x4[_0x44d9x3]);} ;} ;return _0x44d9x1;} (_0xd70c[0],22,22,_0xd70c[3][_0xd70c[2]](_0xd70c[1]),0,{}));[/COLOR]
    Maybe its possible to change that script?

    Thanks
     
  2. lovetrain

    lovetrain Registered Member

    Joined:
    Oct 7, 2014
    Messages:
    58
    Likes Received:
    5
    Nobody an idea?
     
  3. ThePopWin

    ThePopWin Newbie

    Joined:
    Nov 2, 2015
    Messages:
    30
    Likes Received:
    0
    Have you tried the solution from GetPopUnder ? They have implemented their ideea. Give them a message about it
     
  4. revproxy

    revproxy BANNED BANNED Jr. VIP Premium Member

    Joined:
    Nov 20, 2015
    Messages:
    396
    Likes Received:
    100
    Gender:
    Male
    HTML:
    function getURL()
    {
    return ('DeviceOrientationEvent' in window || 'orientation' in window) ? "http://mobileurl" : "http://desktopurl";
    }