Skip to content

Commit 5bce1c9

Browse files
committed
Port firefox extension from Chrome
1 parent f55677f commit 5bce1c9

19 files changed

Lines changed: 538 additions & 250 deletions

firefox/data/index.css

Lines changed: 0 additions & 7 deletions
This file was deleted.

firefox/data/index.js

Lines changed: 0 additions & 194 deletions
This file was deleted.

firefox/data/jquery.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

firefox/github-gmail.xpi

-40.2 KB
Binary file not shown.

firefox/images/icon.png

2.1 KB
Loading

firefox/images/icon128.png

3.96 KB
Loading

firefox/images/icon16.png

879 Bytes
Loading

firefox/images/icon48.png

1.56 KB
Loading

firefox/lib/main.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

firefox/manifest.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"name": "Helper for GitHub notifications in Gmail",
3+
"short_name": "helpergithubgmail",
4+
"version": "0.8.2",
5+
"manifest_version": 2,
6+
"description": "Add links to GitHub threads and shortcuts to your Gmail interface.",
7+
"homepage_url": "http://github.com/muan/github-gmail",
8+
"icons": {
9+
"16": "images/icon16.png",
10+
"48": "images/icon48.png",
11+
"128": "images/icon128.png"
12+
},
13+
"background": {
14+
"page": "src/bg/background.html",
15+
"persistent": true
16+
},
17+
"commands": {
18+
"open-link": {
19+
"suggested_key": {
20+
"default": "Ctrl+G",
21+
"mac": "MacCtrl+G"
22+
},
23+
"description": "Open link"
24+
},
25+
"open-link-in-background": {
26+
"suggested_key": {
27+
"default": "Ctrl+B",
28+
"mac": "MacCtrl+B"
29+
},
30+
"description": "Open link in background"
31+
},
32+
"mute-link": {
33+
"suggested_key": {
34+
"default": "Ctrl+H",
35+
"mac": "MacCtrl+H"
36+
},
37+
"description": "Mute thread"
38+
}
39+
},
40+
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
41+
"content_scripts": [
42+
{
43+
"matches": [
44+
"https://mail.google.com/*"
45+
],
46+
"css": [
47+
"src/inject/inject.css"
48+
],
49+
"js": [
50+
"src/inject/inject.js"
51+
]
52+
}
53+
]
54+
}

0 commit comments

Comments
 (0)