[Project_owners] Question

Evelio Tarazona Cáceres neoetc at gmail.com
Thu Nov 9 12:29:07 PST 2006


ohh!! is more easy..... you can use:

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 <amin.eft at gmail.com> wrote:
>
> i test it but doesn't work ??
>
> On 11/9/06, Evelio Tarazona Cáceres <neoetc at gmail.com> 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 < amin.eft at gmail.com> wrote:
> > >
> > > Hi
> > > I want to get the text of addressbar not url can any body help me ?
> > >
> > > _______________________________________________
> > > Project_owners mailing list
> > > Project_owners at mozdev.org
> > > http://mozdev.org/mailman/listinfo/project_owners
> > >
> > >
> > >
> >
> > _______________________________________________
> > Project_owners mailing list
> > Project_owners at mozdev.org
> > http://mozdev.org/mailman/listinfo/project_owners
> >
> >
> >
>
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/project_owners/attachments/20061109/7884ee82/attachment.html 


More information about the Project_owners mailing list