Re: problem getting URI from nsIwebNavigation

2005-07-25 Thread Anatoly Kaverin
Hello Niky, thnx for your help. We have access to service manager inside the mozilla plug-in and maybe we have an error with quering interface nsIComponentManager instead of using nsComponentManager. We are using nsIComponentManager from mozilla SDK. But we still can't get URI, below is our

Re: problem getting URI from nsIwebNavigation

2005-07-25 Thread Christian Biesinger
Anatoly Kaverin wrote: But we still can't get URI, below is our code: You are writing an extension for Firefox or Mozilla? Which URI do you want? There might be a lot or nsIWebNavigation instances - each tab has one, for example. Which of those webnavigations do you want to access?

Re: nsIEditorObserver crashes Firefox

2005-07-25 Thread Filip Dalüge
Hi Neil, I just encountered the same problem. I rather use DOM MutationEvents as an alternative solution now. For example: var editor = document.getElementById(Editor); editor.makeEditable(text, false); var doc = editor.contentDocument; function modified() { dump(...); }