How to get "Google" in a search bar for FF 1.5?

Is there anyway to mod FF 1.5 to get the word "Google" in a search bar? I've been reading lots of tutorials on FF on this forum but I can't seem to find this mod.. but then again, is it possible/do able? TIA :)

Here is a SS of FF with "Google" in a search bar.

http://ic1.deviantart.com/fs9/f/2006/043/a/4/1.PNG

#360406

for screenshots, i just type in Google in the search bar [/shame]

but i also am looking for a way to do this

#360407

i wonder if you can edit the favicon for google, extend it and add the text to the graphic..

of course then all your typed words will come after the entire graphic..

i think that might be your best bet.

#360410

I don't think you can because if I remember when I edited the google bar icon it had to be 10 pixels high and 10 pixels wide, so if you did it would get a messed up and you wouldn't be able to see anything.

I could be wrong though.

#360415

It's possible - I used to have a theme that supported it so that it said "Google" in the search bar and dissapeared when you started typing in the search box. Unfortunately, that was for an older version of FF - I've not seen one that works with the latest version. It's the only regret I have about upgrading. :(

#360416

MAKE A BACKUP.

Start by playing around with the values in searchDialog.css, located in:

chromebrowser.jar (extract that as a .rar)browsercontentbrowsersearchDialog.css.

Specifically, try change

width: 16px;

to the width of your image. It's a long shot but it's worth a try. Don't forget to make a backup!

-NC

#360420

You can also change the center image of the unfocused searchbox to read "search" or something, then make the focused one blank for entering text. Only problem is that the "search" text will be shown in back of the text you typed when focus is lost.

The search for older Firefox versions was controlled through javascript or xml. Hence, better effect.

#360424

THis is basically impossible without a lot of editing of different browser files and some dom hacking. YOu would have to use javascript probably too. so that when the document if focuse it hides the image of the search icon and text and inputs just the icon. That would require some way to add javascript into the code since user-chrome.css doesn't support focus and image replacement etc.

This might be possible with an extension however. Perhaps somebody could make an extension that woudl replace the search bar and add options to this new search bar.

#361975

user-chrome.css doesn't support focus and image replacement etc.

Yes it does, last I checked.

Something like:

#id-name:hover {

background-image: blah.png;

}

Just an idea, I've never bothered trying, should be esay if the searchbar has a forced width.

#361980

yeah but that's just hover isn't it though, as soon as you take your cursor off of the text the google text will return. ahah css diss.:P

#362285

yeah but that's just hover isn't it though, as soon as you take your cursor off of the text the google text will return. ahah css diss.:P

.searchbar-textbox[focused=true] .textbox-input-box {

background:url("chrome://browser/skin/search-hov-body.png");

}

That'll teach me, to not look at css when talking about it.

and maybe think before I post...

But, [focused=true] should work, perfectly, fine, just add a width and change the hover image, and have no-repeat.

#362525