ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pyxpcom
pyxpcom
Re: [pyxpcom] python + javascript
by Andres Riancho other posts by this author
Oct 21 2007 4:55PM messages near this date
view in the new Beta List Site
Re: [pyxpcom] python + javascript | [pyxpcom] OverflowError: long int too large to convert to int
Mark,

On 10/21/07, Mark Hammond <mhammond@[...].au>  wrote:
>  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.

I have read the archive and the post at
http://aspn.activestate.com/ASPN/Mail/Message/PyXPCom/3535846 isn't
really helping me :(

I tried searching for the project wiki and failed. Could you please
give me the URL for the wiki ? Also, I have tried to fetch a page
using pyxpcom and failed miserably, is there some simple example of
creating a "@mozilla.org/embedding/browser/nsWebBrowser;1", and then
using the loadURI of nsIWebNavigation to fetch a page ?

Thanks!

>  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
> 
> 


-- 
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
Thread:
Andres Riancho
Mark Hammond
Andres Riancho

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved