Re: [pyxpcom] python + javascript
by Mark Hammond other posts by this author
Oct 21 2007 4:39PM messages near this date
view in the new Beta List Site
[pyxpcom] python + javascript
|
Re: [pyxpcom] python + javascript
This should be possible if you have the python/dom extensions available -
you will be able to find a JSExec method, which should work fine for this
purpose. Please search the archives of this list, where I made some mention
of this function a number of months ago.
Cheers,
Mark
> -----Original Message-----
> From: pyxpcom-bounces@[...].com [mailto:pyxpcom-
> bounces@[...].com] On Behalf Of Andres Riancho
> Sent: Saturday, 20 October 2007 7:19 AM
> To: pyxpcom@[...].com
> Subject: [pyxpcom] python + javascript
>
> List,
>
> Hi, I'm a pyxpcom newbie and I don't really know if this is
> possible so i'll just ask. I need to create a python script that does
> the following:
>
> - fetch a document using pyxpcom
> - after fetching this document, load the DOM with the
> corresponding data
> - loop through the DOM tree and execute the contents of all
> onClick attributes of the tags. Please have in mind that the contents
> of the onClick attribute is javascript code.
> - after "clicking", load the new DOM tree
>
> Is this possible? If not, could you recommend me a way of doing it
> ?
>
> Cheers,
> --
> Andres Riancho
> http://w3af.sourceforge.net/
> Web Application Attack and Audit Framework
> _______________________________________________
> pyxpcom mailing list
> pyxpcom@[...].com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
pyxpcom mailing list
pyxpcom@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Andres Riancho
Mark Hammond
Andres Riancho
|