A small browser extension popup with a search box reading Search Google, a blue Google button, a grey Images button, and a hint line reading Enter to Google, Shift+Enter to Images

Browser extensionSole authorDrawing 7 of 47

Quick
Google

I made a small Brave extension that searches Google or Google Images, either from a popup or by right-clicking selected text. It's 279 lines and asks for one permission.

Sheet 02 of 05/Why

Brave's built-in search

Brave's own right-click menu already has a search option, but it goes to Brave Search instead of Google. It sits right above the two entries I added.

The same popup with the phrase reaction wheel bldc typed into the search field
PL 02A query typed in. Enter opens Google, Shift+Enter opens Images, and the tab lands next to the one you were on.
The same popup rendered in dark mode, with a dark grey background and light text
PL 03The dark theme is one prefers-color-scheme block, 22 lines of the hundred-line stylesheet.

Sheet 03 of 05/Permissions

One permission

It only asks for one permission, contextMenus, which is what puts the two search options in the right-click menu.

A Brave right-click context menu with a Quick Google submenu open, offering Search Google for QUICK and Search Google Images for QUICK
PL 04The two entries in the right-click menu. Highlight anything on any page and the search is two clicks away, with Images in the same submenu.

Sheet 04 of 05/Two ways

Two ways to search

You can open the popup and type, or highlight text on the page and right-click it. Either way, Enter goes to Google and Shift+Enter goes to Images.

Sheet 05 of 05/Size

Size and install

It's six files and four icons, loaded into Brave as an unpacked extension.