/google-search-shortcuts

🔍A browser extension that adds much-needed keyboard shortcuts to Google search.

Primary LanguageJavaScript

About

Google Search Shortcuts is a Chrome and Firefox extension that adds much-needed keyboard shortcuts and navigation to Google search.

Add the extension to your browser here:

  • Firefox
  • Chrome (Coming Soon!)
  • Edge (Coming Soon!)

Features

To use shortcuts, go to Google search and click anywhere on the page away from the search bar. Shortcuts DO NOT work when focused on the search bar.

Shortcuts:

  • k - Move one search result up
  • j - Move one search result down
  • Enter - Navigates current tab to the link
  • Shift+Enter - Opens a new window with the link
  • Ctrl+Enter - Opens new tab in background for the highlighted link

Developers

Prerequisites

  1. Install NodeJS v12 or above.

Installation

  1. Clone this repository from GitHub
git clone https://github.com/RogueArt/google-search-shortcuts
  1. Install the required dependencies
cd google-search-shortcuts # G into folder if you haven't alread
npm install
  1. To build a minified and version of the zipped source code:
npm run build

Note: The minified script.js and manifest.json files will be placed in the dist/src directory and a zipped version of those same files will be created in the dist/zip directory after running this command.

Running

Follow the directions for adding a developer (unverified) extension for your respective browser:

TO-DO

  • Add support for different Google domains (e.g. co.ca, co.in)
  • Highlight whole box rather than just the link
  • Allow navigation by pressing a number on the keyboard
    • Add a super element to indicate what number each link is
  • Add Shift+L to open all "People also ask links"