triggering onclick events view PERL?

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Jan 7 08:39:47 GMT 2003


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

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK




More information about the Ukfreebsd mailing list