gURLBar
it is a global var than is the Object XulElement you can get the value do it:
gURLBAr.value
see the browser.js type chrome://browser/content/browser.js in the adrresbar ;0D
and it was tested... :0D
greetz from Paipa, Colombia!
On 11/9/06, Amin <[EMAIL PROTECTED]> wrote:
i test it but doesn't work ??On 11/9/06, Evelio Tarazona Cáceres < [EMAIL PROTECTED]> wrote:Hi, I am a newbie in it but... if you want to get the text of adressbar see the browser.xul file, in it you can see a textbox with id "urlbar"...
maybe you can do it:
var adrbar = window.getElementsbyId('urlbar') ; //or document.getElementsbyId('urlbar')
var txadrbar=adrbar[0].value ; //tada!!
Luck!
greetz from Colombia! ^_^On 11/8/06, Amin < [EMAIL PROTECTED]> wrote:Hi
I want to get the text of addressbar not url can any body help me ?
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners
_______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
