in reply to Re: Check for popups in webpage
in thread Check for popups in webpage

Hmmm... I checked out the LWP Module and I was wondering how you intend to use this as a pop-up killer. Were you intending to use it to create a web browser? Maybe I'm missing something here, but this is very interested for me, and thanks for the note for LWP anyways since it looks like a really cool module.

Replies are listed 'Best First'.
(jeffa) 3Re: Perl popup killer
by jeffa (Bishop) on Jul 20, 2003 at 03:57 UTC
    Whereas the title does did say 'popup killer', the actual requirement is "can check for popups in any other web page and report it". The script teabag provided simply grabs a web page and checks to see if the string window.open is present and does something if it is. This definitely fills the requirement. The title, while eye catching, doesn't exactly describe the content very well, IMHO (i am fixing to consider it for retitling).

    Also, if you think LWP is cool, check out LWP::Simple and WWW::Mechanize.

    jeffa

    L-LL-L--L-LL-L--L-LL-L--
    -R--R-RR-R--R-RR-R--R-RR
    B--B--B--B--B--B--B--B--
    H---H---H---H---H---H---
    (the triplet paradiddle with high-hat)