Page 1 of 1

Accessing Searchbar text via Javascript extension?

Posted: Sat Aug 02, 2008 2:20 am
by mutzi
I'd like to have access (read/write if possible) to the Searchbar's text.

Is there any way to do this?

Thanks for any help.

Re: Accessing Searchbar text via Javascript extension?

Posted: Sat Aug 02, 2008 3:10 am
by sulpherdragon
Sorry, read only access to the Address bar (not the searchbar)
use document.location to get whatevers in the addressbar.

if you want to write to the addressbar youll have to settle for redirecting to another page using javascript

Re: Accessing Searchbar text via Javascript extension?

Posted: Fri Aug 29, 2008 11:29 pm
by sulpherdragon
Sorry i think its actually window.location