[Project_owners] Observer Q?

Wed Jun 13 08:05:56 PDT 2007


i add a observer in my extension:

var observerService = Components.classes["@mozilla.org/observer-service;1

observerService.addObserver(MyObserver, "http-on-modify-request", false);
observe: function(aSubject, aTopic, aData)

any body can help me find aSubject properties like:.cancle .URI  .loadFlags

i want to change url of specific site.

if(aSubject.URI.spec='www.mysite.com') change url
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/project_owners/attachments/20070613/8f6601d0/attachment.html 

More information about the Project_owners mailing list