Google Searching Tags Box

Make your searches easier by adding tags to your search queries with one click

As of 2022-07-22. See the latest version.

This script adds, just above the search field, a box to store the tags (keywords or phrases) you frequently use in your search queries. You can then reuse these tags with a single click and avoid typing them manually whenever you need them.

Your tags remain stored via a localStorage object in your browser. You can also use various features to save and transfer your tags as external files or text strings

USAGE

  1. once the script is installed, go to "www.google.com" or your country Google page (eg "www.google.co.uk")
  2. in the tags box, just above the search field, you will see the (+) button.
  3. type something in the search field (highlight the desired text part)
  4. click the (+) item to add and store the text as a tag
  5. you can click (+) again to change the color of the newly added tag (color is applied randomly)
  6. the tag will be added as a clickable rounded element in the tags box (you can add more)
  7. then click on the tags when you want to insert them in your search queries
  8. you can drag the tags inside the box to swap them
  9. you can drag the tags out of the box to delete them
  10. you can use the context menu, copy-paste and drag-and-drop features to better manage your tags

Have a good search!

Also try the features to easily transfer and save your tags.

CONTEXT MENU

Right click on the tags box to open the context menu which has the following items:

  • Copy Tags
    Copy the tags to the clipboard as a string in a compact format.
    Similarly you can use the keyboard shortcut Ctr+C.

  • Append copied Tags
    The clipboard data is added as tags in the box.
    Similarly can use the keyboard shortcut Ctr+V

  • Import and append Tags
    Import tags by selecting a text file.
    The data in the file must be in compact format.

  • Export Tags as txt
    Export the tags to a text file via download.
    The data in the file is saved in the compact format.

  • Small Tags width, Large Tags width, Auto Tags width
    Sets the width of the tag elements.
    This configuration is stored and saved together with the tags data.
    In case of importing external data, this setting is restored only if the tags box has been previously emptied.

  • Clear the Tags Box
    Removes all tags from the box.

DATA TRANSFER FEATURES

Copy-paste
You can copy the tags data in compact format, by pressing Ctrl+C when nothing is selected on the page, or via the context menu.
A blue border flashing will be shown around the BOX when the operation is successful.
In the same way you can paste this data which will be added to the box.

Drag-and-drop
It is possible to directly drag data into the box.
It is allowed to drag a selected text or an external file.

Supported formats
The data transferred in this way can have different formats.
The data dragged or imported through a text file must have the compact format, the same one used to store it in the browser through localStorage.

eg:
:tags[A]:first tagd05fb4second tag4678b9another tag6237a7

The header has a ":tags:" prefix which can contain configuration data (eg [A] means width "auto") and "value-color" pairs ("color" is a hex code). A separator character is used to delimit each pair.

Data copied or dragged as text can be in either compact or plain text format.

Plain text is parsed as a list of "newline separated values".

eg:
first tag
second tag
another tag

Backward compatibility
This version is backwards compatible with the previous one, so the data already stored in localStorage will be restored and kept in the new version.
Note that you can now easily save backups to external files as well.