[Project_owners] Hooking HTTP Basic Authentication dialog

Michael Vincent mv_van_rantwijk at yahoo.com
Fri Sep 16 01:41:16 EDT 2005


Eric Jung wrote:
> Hi,
> I'd like my extension to be notified when an HTTP Basic
> Authentication dialog (like when you go here:
> http://passwordmaker.org:2082/) is displayed and be able to write to
> the input boxes of this dialog.
> 
> Does a standard pageLoad eventListener intercept this, or is it more
> complex?
> 
> Thanks for any advice,
> Eric Jung

FYI: that dialog is commonDialog.xul/commonDialog.js
and you can use  registerNotification in nsIWindowWatcher.idl

Yeah, I'm totally crazy to be still awake at 12:40AM, but I got the day 
off tomorrow, and I still have to fix something ;)

Michael


More information about the Project_owners mailing list