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