You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,13 @@ This is a **Chrome and Firefox Extension** that allows you to open threads in Gi
4
4
5
5
## Features
6
6
7
-
### Mail View Shortcut
7
+
####Mail View Shortcut
8
8
9
9
Open your GitHub notifications using a shortcut (default to `shift + g`, or `shift + b` to open in the background in Chrome), or this button in mail view:
The shortcut is `ctrl + return(enter)`, currently non-customisable. It will trigger one of these two when an email is selected using key navigation(when the blue bar appears):
16
16
@@ -19,61 +19,60 @@ The shortcut is `ctrl + return(enter)`, currently non-customisable. It will trig
19
19
20
20
The function will only look for a label if there is no action buttons.
21
21
22
-
#### Action button
22
+
#####Action button
23
23
24
24

25
25
26
-
#### Label
26
+
#####Label
27
27
28
28

29
29
30
30
## Installation
31
31
32
-
### The Easy Way
32
+
####The Easy Way
33
33
34
-
[Install the extension via Chrome webstore](https://chrome.google.com/webstore/detail/github-notification-helpe/gmhijkhbpihfmkmhmcfebmlkaekgmaje)
34
+
[Install the extension via Chrome webstore](https://chrome.google.com/webstore/detail/github-notification-helpe/gmhijkhbpihfmkmhmcfebmlkaekgmaje) or [Install the addon via Firefox addons gallery](https://addons.mozilla.org/en-US/firefox/addon/github-for-gmail/)
35
35
36
-
### The Mu-An-might-steal-all-my-data-so-I-want-to-manually-load-it Way
36
+
####The Mu-An-might-steal-all-my-data-so-I-want-to-manually-load-it Way (for Chrome)
37
37
38
38
1. Go to [Releases](https://github.com/muan/github-gmail/releases) and download the latest version.
39
39
2. Unzip the folder wherever you'd like.
40
-
3. Go to Chrome extensions page (`chrome://extensions/`) and load the folder as an **Unpacked extension**.
40
+
3. Read Mu-An's code making sure there is no data stealing.
41
+
4. Go to Chrome extensions page (`chrome://extensions/`) and load the folder as an **Unpacked extension**.
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.
67
66
68
-
#### To open and focus the new window right away (`shift + g`):
67
+
#####To open and focus the new window right away (`shift + g`):
Custom Regular Expression for matching labeled Organization name. Eg. `/^\((.+)\)/` matches `muan` in `(muan)\github-gmail`, and will be use to build the url: `https://github.com/`**`muan`**`/github-gmail/issues`.
79
78
@@ -83,7 +82,8 @@ This is **not needed** if all you need is triggering the action button.
83
82
84
83
## Code
85
84
86
-
All the core functions are written in `src/inject/inject.js`.
0 commit comments