The best way to Do an Instantaneous Website Search with a Key phrase in Firefox

Posted on

Firefox Logo on Purple Background hero

Mozilla Firefox helps you to trigger bookmarks with a custom keyword within the tackle bar. With this function and a customized bookmarklet, you may rapidly search a web site utilizing Google, Bing, or DuckDuckGo. Right here’s how.

The Energy of Bookmarklets

Bookmarklets are browser bookmarks containing tiny snippets of JavaScript code that permit for extra highly effective options than a typical bookmark. In our case, we’ll be utilizing a JavaScript bookmarklet in Firefox to do a web site search utilizing the tackle of the location you’re presently looking.

For this process, we’ll want JavaScript to seize the present web site tackle dynamically and insert it into the search string. If that sounds complicated, don’t get overwhelmed. It’s actually as straightforward as lower and paste.

RELATED: Beginner Geek: How to Use Bookmarklets on Any Device

The best way to Add a Customized Website Search Bookmarklet to Firefox

First, open a Firefox window and bookmark any web site by urgent Ctrl+D (on Home windows and Linux) or Command+D (on Mac). Identify the bookmark one thing distinctive, like “Website Search Shortcut,” so that you could simply discover it in your bookmarks library. Then click on “Performed.”

Bookmark a site and name the bookmark something memorable.

Subsequent, open the Bookmarks sidebar by urgent Ctrl+B (on Home windows and Linux) or Command+B (on a Mac). Find the bookmark that you simply simply created after which right-click it within the sidebar checklist and choose “Properties.”

Tip: You may also edit bookmarks within the Bookmarks Supervisor window by choosing Library > Bookmarks > Handle Bookmarks or by urgent Ctrl+Shift+O (on Home windows or Linux) or Shift+Command+O (on Mac).

Right-click the bookmark in the bookmarks sidebar and select "Properties."

A Properties window for the bookmark will seem. Within the “Location:” discipline, paste one of many following choices. To go looking the present web site utilizing Google, paste this:

javascript:location=' site:'%20+%20escape(location.hostname)%20+%20'%20percentS'%20;%20voidpercent200

To go looking the present web site utilizing Bing, paste this:

javascript:location=' sitepercent3A'%20+%20escape(location.hostname)%20+%20'%20percentS'%20;%20voidpercent200

To go looking the present web site utilizing DuckDuckGo, paste this:

javascript:location=' sitepercent3A'%20+%20escape(location.hostname)%20+%20'%20'%20;%20voidpercent200

After that, click on the “Key phrase” discipline and sort “cs” (for “present web site”) or one other mnemonic shortcut key phrase you’d wish to kind to set off the location search.

Paste the string in the "Location" box and enter a keyword.

If you’re accomplished, click on “Save,” and the bookmark properties window will shut.

Subsequent, navigate to any web site that you simply’d like to look (Let’s say How-To Geek, for instance.). If you’re there, click on the tackle bar in any Firefox window and sort “cs atari” and hit Enter.

Navigate to and type "cs atari" in the address bar, then hit Enter.

Immediately, you’ll see search outcomes for “atari” amongst pages on the web site utilizing the search engine you selected within the bookmark above.

Search results using the custom Javascript bookmark.

You’ll be able to apply this search shortcut to any web site. When looking, simply kind “cs [search query]” into the tackle bar (the place [search query] is what you need to seek for), hit Enter, and also you’ll have instantaneous outcomes. Very useful and highly effective. Use it for Amazon, Wikipedia, and another web site on the web.

Completely happy looking!

RELATED: What Is DuckDuckGo? Meet the Google Alternative for Privacy

Source link

Gravatar Image
I love to share everything with you

Leave a Reply

Your email address will not be published. Required fields are marked *