Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
[Browser extension] Open GitHub notifications with shortcuts in Gmail.
JavaScript CSS HTML
Branch: master
Clone or download
Latest commit f55677f Jun 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
chrome Add gmail shortcut list for reference Jun 30, 2018
firefox Remove regexp label match code, closes #48 Feb 19, 2016
safari/github-gmail.safariextension Fix reappendage Jun 25, 2019
LICENSE Bump license year 🐢 Oct 4, 2014
README.md Update README.md Jan 9, 2019

README.md

Helper for GitHub notifications in Gmail

A browser extension for Chrome, Firefox(broken), and Safari that adds keyboard shortcuts to the Gmail interface for GitHub notification emails.

Features

Mail View Shortcut

Open your GitHub notifications in mail view:

  • Chrome/Firefox: shift + g, shift + b in the background
  • Safari: ctrl + g, ctrl + b in the background

Mail view button

List View Shortcut

ctrl + return to trigger one the action button when an email is selected using gmail key navigation (when the blue bar appears):

action button in list view

Mute Thread

Mute thread in mail view. It will open a background window to load the mute thread URL, and close itself when done. This only works if you have an active GitHub session.

  • Chrome/Firefox: shift + h
  • Safari: ctrl + h

Mute thread button

Installation

The easy way

Chrome: Install the extension via Chrome webstore
Firefox: Install the addon via Firefox addons gallery
Safari: N/A I have not signed up for Apple Developer Program

The manual way

Chrome

  1. Go to Releases and download the latest version and unzip it.
  2. Go to Chrome extensions page (chrome://extensions/) and load the folder as an Unpacked extension.

Firefox

https://github.com/muan/github-gmail/issues/70

Safari

  1. Go to Releases and download the latest version and unzip it.
  2. Preferences > Advanced > Show Develop menu in menu bar
  3. Develop > Show Extension Builder > + > Add Extension > Choose the folder > Run

Settings

  1. Custom domains
  2. Mail view: open thread shortcut
  3. Mail view: open thread in background shortcut
  4. Mail view: mute thread shortcut

Custom Domains (for GitHub Enterprise)

If you are using GitHub Enterprise and have a custom domain, you can set it in the extension options page.

domain option

Mail View Shortcut

Customize the keyboard shortcut that triggers the View on GitHub button. Change the shortcut combination by focusing the input, and press whatever key(s) you want to be the shortcut. It will be displayed in keyCode which is why you see 71 here instead of g. Don't worry about it.

To open and focus the new window right away (shift + g):

image

To open a new window in the background (shift + b) – Chrome only:

image

To mute a thread in the background (shift + h) – Chrome only:

image

Development

Load the extension manually and modify the code accordingly in these places:

Chrome: chrome/src/inject/inject.js.
Firefox: firefox/data/index.js.
Safari: safari/github-gmail-safariextension/main.js

The End

Love it? Tell me!

Found a bug? Open an issue.

You can’t perform that action at this time.