Click here to Skip to main content
Click here to Skip to main content

Firefox Code Project Search Bar

, 24 Jun 2005
Rate this:
Please Sign up or sign in to vote.
A direct port of the Code Project Search Bar, but for Firefox instead of IE.

Contents

Introduction

The Firefox Code Project SearchBar is a direct port of the IE Code Project SearchBar to the Firefox browser. It gives you almost all the same features - you can still do searches at any time, from any web page... but now you have the option of opening search results in a new tab, thanks to Firefox.

Here's what it looks like:

System requirements

Firefox 1.0 or later, tested on 1.0.3 and 1.0.4.

SearchBar features

Quick searching

You can search the same way as the IE toolbar does - you can just click the button and search the article text. Alternatively, you can click the little arrow on the right hand side of the button, and choose from a few different options.

You'll notice a new option in the 0.3 version of the toolbar, a Google search option. This search option uses Google to search CodeProject, which is much easier than always typing the site: www.codeproject.com as a keyword into Google. And yes, I know about quick searches in Firefox.)

Firefox natively supports drag and drop searching, so you can use that with this toolbar as well.

Code Project site links

You can click the Site Links button to see a menu of shortcuts to various areas of the site. This is an almost direct copy of the IE toolbar, with the same useful features. The only major feature that is missing right now is the Code Project Web Service reader, which I have not had the time to add.

The SearchBar main menu

Click the down arrow next to the CodeProject button to see the control menu:

You can clear the current search history or open the Options page via this menu. You can also more easily get access to the latest articles page, which I personally tend to read a lot.

SearchBar options

Click Options to open the SearchBar options dialog. The options are fairly self-explanatory.

The new option in Version 0.3: Open Site Links in new tab. The default behavior has been changed to not open site links in a new tab even if you have the search using a new tab. This makes it a little easier to navigate the way you'd like.

Installing the SearchBar

If you are using the Firefox browser, you can go to the homepage link and you will see a link similar to this:

Click the Install Now link to install the toolbar, and Firefox will do the rest. You will have to restart your browser in order to view the toolbar.

Uninstalling the SearchBar

You can uninstall, or even just disable the SearchBar using the Firefox Extensions manager.

Acknowledgements

This SearchBar was written to directly model the original IE version by Michael Dunn.

Here's a link to the greatest XUL/Firefox toolbar tutorial that you could ever hope for: Born Geek.

Source code

I've included the source code for the current version of this toolbar. I'm not going to write a full article to explain how it works, since the BornGeek tutorial linked above is much better than I could write. Download the source code at the top of the page, and use the instructions on BornGeek to compile it into an extension that you can install.

Revision history

  • v0.2 - First version submitted to Code Project, lacking a few features still.
  • v0.3 - New features: Google CodeProject search, context menu.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Lowell Heddings
Web Developer
United States United States
No Biography provided

Comments and Discussions

 
QuestionAutopopulating history in combobox while editing Pinmember10162-Nov-08 20:07 
GeneralA useless waste of screen space PinmemberLord Sy11-Sep-07 4:21 
GeneralDoes not work in FireFox 2 Pinmembervirtualnik2-May-07 23:22 
QuestionFirefox Toolbar PinmemberHarishDixit23-Jul-06 21:24 
AnswerRe: Firefox Toolbar Pinmembergeorgekjolly28-Dec-06 23:21 
GeneralRe: Firefox Toolbar PinmemberDev_SenthilKumar25-Apr-07 2:40 
GeneralWeb service reader is obsolete now PinsitebuilderMichael Dunn3-Feb-06 19:03 
GeneralVersion 1.5 Pinmemberviaduct15-Nov-05 0:22 
GeneralRe: Version 1.5 PinmemberLowell Heddings15-Nov-05 18:55 
GeneralRe: Version 1.5 Pinmemberviaduct15-Nov-05 23:17 
Generalcool, but I use mozilla Pinmember
MadHatter ¢
31-May-05 18:31 
GeneralRe: cool, but I use mozilla PinmemberLowell Heddings1-Jun-05 2:56 
GeneralRe: cool, but I use mozilla PinsussAnonymous2-Jun-05 5:02 
GeneralRe: cool, but I use mozilla PinmemberLowell Heddings2-Jun-05 7:38 
QuestionSource? PinmemberJason De Arte31-May-05 17:42 
AnswerRe: Source? PinmemberLowell Heddings1-Jun-05 3:02 
AnswerRe: Source? PinmemberLowell Heddings1-Jun-05 7:59 
GeneralCool Pinmemberoykica31-May-05 14:59 
GeneralTodo.... PinmemberLowell Heddings31-May-05 11:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web04 | 2.8.141022.2 | Last Updated 24 Jun 2005
Article Copyright 2005 by Lowell Heddings
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid