• Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

popup

  • 3,546
    Posts
    21
    Years
    is there an html/php code that stops popups from appearing on a site?
    i ask not for myself but for my friend...
     
    Err..I think ther's one:

    Code:
    <!--Start killing Popups-->
    <script language='javascript'>
    NS_ActualOpen=window.open;
    function NS_NullWindow(){this.window;}
    function NS_NewOpen(url,nam,atr){return(new NS_NullWindow());}
    window.open=NS_NewOpen;
    </script>
    <!--End code for killing Popups-->
    I got it at marill's world so give them the credit. :)
     
    Just a warning about those kind of codes.

    If you use them on free host and they find out about it your friend's account at that free host could be closed and deleted straight away

    ... just a thought
     
    Yes some times you get in trouble like the <noframe> code for taking off the banners.
     
    I used to use <noframes> when I was on a fre host...3 yrs ago
     
    Back
    Top