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

popup iframe

Discussion in 'Black Hat SEO' started by AwwmxGeo, Oct 21, 2015.

  1. AwwmxGeo

    AwwmxGeo Registered Member

    Joined:
    Oct 12, 2015
    Messages:
    79
    Likes Received:
    11
    Location:
    Space
    hey guys, can u provide me a script that shows popup only one time per ip adress? please
     
  2. AwwmxGeo

    AwwmxGeo Registered Member

    Joined:
    Oct 12, 2015
    Messages:
    79
    Likes Received:
    11
    Location:
    Space
    i have a popup script but it popups once per ip per day, or how can i change it to 1 month?


    <script language="javascript">
    if (document.cookie.indexOf('_visited=1') == -1) {
    var delay_popup = 1000;
    setTimeout("document.getElementById('parent_popup').style.display='block'", delay_popup);
    var date = new Date;
    date.setDate( date.getDate() + 1 ); // 1 day
    document.cookie = '_visited=1; path=/; expires=' + date.toUTCString();
    }
    </script></div>
    </div>