Files
webextensions-examples/firefox-code-search/README.md
Matthew Wein f5e9fbdf35 Add Omnibox API example (#164)
* Add Omnibox API example

* Add an example for the omnibox api

* Resolved pull request comments and did some minor refactoring

* Resolved pull request comments and did some minor refactoring

* Fix error when handling default suggestion

* Fix error when handling default suggestion

* Require Firefox 52, update version to 1.0, and update match pattern to be more specific
2016-12-16 15:26:19 -08:00

522 B

firefox-code-search

What it does

This extension allows you to search the Firefox codebase using the awesome bar.

To test it out, type 'cs' into the awesome bar followed by a search string (e.g. cs hello world). The results will be shown as suggestions, and clicking on a suggestion will navigate to the file where the result was found.

To search a specific file, use the "path:" prefix (e.g. cs hello path:omnibox.js)

What it shows

How to use the omnibox API to add custom suggestions to the awesome bar.