triggering onclick events view PERL?

Jim Dixon jdd at dixons.org
Tue Jan 7 10:14:34 GMT 2003


On Tue, 7 Jan 2003, Peter McGarvey wrote:

> tcpdump?
>
> Sledge hammer to crack a nut if you ask me.
>
> The LWP library works for me.
>
>     cd /usr/ports/www/p5-libwww
>     make install clean
>
> It installs a helpful script called GET in /usr/local/bin/ which will
> grab a webpage and spew the whole thing to STDOUT.  Which makes it a
> useful place to lift code from.

But it's even simpler to just use your browser to save the Web page. ;-)

That's step (a) below.

> * Matthew Seaman <m.seaman at infracaninophile.co.uk> [2003-01-07 08:43:20 GMT]:
> > On Mon, Jan 06, 2003 at 11:44:23PM +0000, Jonathan Belson wrote:
> > > Jim Dixon wrote:
> > >
> > > >a) download the Web page
> > > >b) use vi to get rid of the javascript
> > > >c) access the modified page on your machine using your browser
> > >
> > > It's not the page itself I'm trying to view, it's the page that's
> > > opened when the browser executes the javascript 'openWindow(1)'. It
> > > opens a separate window which I want to be able to access
> > > programmatically.
> >
> > Can't you just use tcpdump(1) to capture the HTTP traffic to the
> > server while you access the page in question?  It should be fairly
> > easy to grep through that data and work out what the URL for the page
> > displayed in the separate window is.
> >
> > 	Cheers,
> >
> > 	Matthew

--
Jim Dixon  jdd at dixons.org   tel +44 117 982 0786  mobile +44 797 373 7881





More information about the Ukfreebsd mailing list