LegacyCollector

Home | Legacy Firefox Extensions | Content Policy | Contact

SearchThisSite

Author(s):



INTRODUCTION

Suppose you are browsing http://www.wired.com and you want to search for an article on "Firefox" on the site.

You scroll up/down the webpage, locate the search field, set focus on it and enter/submit your query. On some sites such as http://www.animesuki.com you even need to do a "mouse-over" first to display the HTML search field. Every website is designed differently and its search field, if any, positionned and accessible differently as well.

If you use the "SearchThisSite" addon instead, you just access it quickly with your mouse (keyboard shortcut: ALT+Q for the power users) and enter/submit your query. Et voilĂ !

In the end, both methods will lead you to: "http://www.wired.com/search?query=Firefox&siteAlias=all" but using the "SearchThisSite" addon is definitely less time-consuming.

HOW DOES IT WORK?

Firefox provides a "way to search specific websites directly from the Firefox Location bar" called "Smart keywords". See: http://support.mozilla.com/en-US/kb/Smart+keywords for details.

Based on this, the "SearchThisSite" searchbar works by determining the search field and the search URL for the page (in our example: http://www.wired.com/search?query=%s&siteAlias=all). Upon submitting, the addon replaces "%s" by the query string (in our example: "Firefox").

Note that the addon supports both GET and POST forms.

MAJOR CHANGE SINCE VERSION 0.2

On some sites, Javascript formatting code is executed before submitting the form (example: timesonline.co.uk with [form onsubmit="someJavascriptFunction();"...]).

Since version 0.2, if Javascript is enabled in the browser, the addon interacts directly with the search field in the webpage. As such, Javascript functions associated with the search field and its related form are triggered "normally", as if the user typed directly in the search field. In the end, the search is executed correctly.

WHY USE THE INTERNAL SEARCH ENGINE INSTEAD OF AN EXTERNAL ONE?

- access to the latest results
- access to private sections of the website (forums, etc...), not accessible to extenal search engines
- privacy: you do not wish to share information with an external search engine.

INSTALLATION

To install (in Firefox only):
1) right-click your toolbar and click "Customize"
2) locate the "SearchThisSite" addon and drag/drop it to the toolbar
3) click "Done"

Download files:

searchthissite-0.1.xpi
searchthissite-0.2.xpi
searchthissite-0.21.xpi
searchthissite-0.22.xpi
searchthissite-0.30.1-signed.1-signed.xpi
searchthissite-0.32.1-signed.1-signed.xpi
searchthissite-0.33.1-signed.1-signed.xpi
searchthissite-0.34.1-signed.1-signed.xpi
searchthissite-0.35.1-signed.1-signed.xpi
searchthissite-0.36.1-signed.1-signed.xpi
searchthissite-0.37.1-signed.1-signed.xpi




This page is part of the LegacyCollector website.
Disclaimer: All material on this site is property of their respective owners and available under
open licenses to the best of our knowledge. If you are an author and would like anything removed,
then please write an e-mail to legacy [at] collector dot org.