Thanks for help. Nicolay-
I'll take this chance to ask if there is an automatic way to install an
extension on Mozilla browser, because the '-install-global-extension' switch
doesn't exist in this "very old" browser.
Is there some file I can programmatically change? I really need a way to
install an extension on Mozilla automatically
Thanks in advance
Cheers,
Oliveiros
----- Original Message -----
From: "Nickolay Ponomarev" <[EMAIL PROTECTED]>
To: "Oliveiros Cristina" <[EMAIL PROTECTED]>
Cc: "Christian Biesinger" <[EMAIL PROTECTED]>;
<[email protected]>
Sent: Monday, July 10, 2006 11:51 AM
Subject: Re: How to pass values in XPCOM back to JS
On 7/7/06, Oliveiros Cristina <[EMAIL PROTECTED]> wrote:
I need to affect the value of a <label> overlay element on my extension
with a string obtained from component.
I've tried to do it with this in js
label = document.getElementById("user_name_label");
label.value = data;
But the problem is when should I call this statements. they work but only
when the browser is already displayed.
Are you looking for a more sophisticated answer than "in the load
listener"?
http://developer.mozilla.org/en/docs/Extension_FAQ#Why_doesn.27t_my_script_run_properly.3F
Nickolay
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom