Skip to content

DanielBiegler/search-with-variables

Repository files navigation

Showcase Banner Small

What is this? TL;DR

Browser extension for searching the web with variables inside the query. See the following screenshots:

Search Options
example search example options

Download

Chrome Icon Chromium Icon Firefox Icon

Description

Quickly search the web with variables inside the query for those pesky repeating lookups. When researching, troubleshooting or working in general one tends to repeat very similar queries in order to give the search engine enough context.

For example, I often need to lookup function definitions for programming languages so I have to retype the name of the language followed by the actual query. Every. Time. This really does get tedious after a while.

"Javascript reduce", "Javascript sort", "Javascr... *sigh*"...

This extension saves you those pesky, pesky keystrokes!

Define your own variables to fit your needs and speed up your queries. Need to retype IDs of components often? Need to often retype multiple keywords? Need to retype specific dates? Create variables for them and enjoy the pure bliss of searching efficiently!

You can comfortably switch between devices because this extension synchronizes your variables with your Google/Firefox Account.

How to use

There are three ways to interact with the extension.

  1. The quickest way is to hit CTRL+SHIFT+L (CMD+SHIFT+L on Mac) in order to trigger the search box. After that simply type in your query and hit ENTER. You can change the shortcut in your browsers settings under chrome://extensions/shortcuts (You need to set this when using Edge!) or under about:addons in Firefox.

  2. Manually trigger the search box through clicking on the icon in your extension bar. (Top right corner).

  3. Focus your omnibox and type ! (exclamation mark) and hit SPACE to activate the query.

Either open the settings by right-clicking on the extension or follow the link in the search box (remember point 1. and 2.). There you can define your query URL and variables.

Contributing

If you're a native speaker of a foreign language, you might be interested translating the extension. For that see the files in the _locales folder

For the rest: See/Create issues. There are two templates that you can fill out.

P.S.:

If you enjoy this, you might like the stuff on my personal site www.danielbiegler.de