Belligero

Because I can...

 
  • Increase font size
  • Default font size
  • Decrease font size

Extensions, d-bus, and Python, oh my!

E-mail Print PDF

So far, my project seems to be going fairly well.  Firefox extensions use javascript as their primary language, which unfortunately does not have a wrapper for d-bus, which I need to communicate with NetworkManager.  Fortunately, Python has these wrappers, and I can use Python classes in the Javascript using XPCOM.

What this means, is that I can link Python and Javascript together: use Python for the lower-level stuff, the actual communication, and pass ifno back to the javascript, which can then talk with Firefox, and do the actual login itself.  While I don't know python yet, it looks like a simplistic enough language, and will be the first I've learned that is not C-style.

This should be an intereting experience, and if nothing else, I can add Python to my resume.

 
Comments (1)
Offtopic ;)
1 Tuesday, 30 September 2008 12:31
> (Jason Tarka) - Details, screenshots, or HTML, of different web authentication pages

Could you tell in more details what are you looking for?

Add your comment

Your name:
Your email:
Your website:
Subject:
Comment:

User Login