OLD | NEW |
1 { | 1 { |
2 // chrome-extension://mfffpogegjflfpflabcdkioaeobkgjik/ | 2 // chrome-extension://mfffpogegjflfpflabcdkioaeobkgjik/ |
3 "key": "MIGdMA0GCSqGSIb3DQEBAQUAA4GLADCBhwKBgQC4L17nAfeTd6Xhtx96WhQ6DSr8KdHeQm
fzgCkieKLCgUkWdwB9G1DCuh0EPMDn1MdtSwUAT7xE36APEzi0X/UpKjOVyX8tCC3aQcLoRAE0aJAvCc
GwK7qIaQaczHmHKvPC2lrRdzSoMMTC5esvHX+ZqIBMi123FOL0dGW6OPKzIwIBIw==", | 3 "key": "MIGdMA0GCSqGSIb3DQEBAQUAA4GLADCBhwKBgQC4L17nAfeTd6Xhtx96WhQ6DSr8KdHeQm
fzgCkieKLCgUkWdwB9G1DCuh0EPMDn1MdtSwUAT7xE36APEzi0X/UpKjOVyX8tCC3aQcLoRAE0aJAvCc
GwK7qIaQaczHmHKvPC2lrRdzSoMMTC5esvHX+ZqIBMi123FOL0dGW6OPKzIwIBIw==", |
4 "name": "GaiaAuthExtension", | 4 "name": "GaiaAuthExtension", |
5 "version": "0.0.1", | 5 "version": "0.0.1", |
6 "manifest_version": 2, | 6 "manifest_version": 2, |
| 7 "background" : { |
| 8 "scripts": ["background.js", "channel.js"] |
| 9 }, |
| 10 "content_scripts": [ |
| 11 { |
| 12 "matches": [ |
| 13 "<all_urls>" |
| 14 ], |
| 15 "js": ["channel.js", "desktop_injected.js"], |
| 16 "all_frames": true |
| 17 } |
| 18 ], |
7 "content_security_policy": "default-src 'self'; script-src 'self'; frame-src *
; style-src 'self' 'unsafe-inline'", | 19 "content_security_policy": "default-src 'self'; script-src 'self'; frame-src *
; style-src 'self' 'unsafe-inline'", |
8 "description": "GAIA Component Extension", | 20 "description": "GAIA Component Extension", |
9 "web_accessible_resources": [ | 21 "web_accessible_resources": [ |
10 "main.css", | 22 "main.css", |
11 "inline_main.html", | 23 "main.html", |
12 "main.js", | 24 "main.js", |
13 "offline.css", | |
14 "offline.html", | |
15 "offline.js", | |
16 "success.html", | |
17 "success.js", | |
18 "util.js" | 25 "util.js" |
19 ], | 26 ], |
20 // <all_urls> for intercepting all URL requests in the main frame, and | |
21 // switching to a full tab if needed. | |
22 // cookies for getting hash passed back from GAIA on login success. | |
23 // tabs for calling current webui's login. This might not be needed once | |
24 // we have extension API. | |
25 // webview for interacting with the GAIA sign in page loaded in a webview. | |
26 "permissions": [ | 27 "permissions": [ |
27 "<all_urls>", | 28 "<all_urls>", |
28 "cookies", | 29 "tabs", |
29 "tabs", | 30 "webRequest" |
30 "webview" | |
31 ] | 31 ] |
32 } | 32 } |
OLD | NEW |