| 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 }, |
| 7 "content_scripts": [ | 10 "content_scripts": [ |
| 8 { | 11 { |
| 9 "matches": [ | 12 "matches": [ |
| 13 "<all_urls>" |
| 14 ], |
| 15 "js": ["channel.js", "saml_injected.js"], |
| 16 "all_frames": true |
| 17 }, |
| 18 { |
| 19 "matches": [ |
| 10 "https://www.google.com/accounts/*", | 20 "https://www.google.com/accounts/*", |
| 11 "https://accounts.google.com/*" | 21 "https://accounts.google.com/*" |
| 12 ], | 22 ], |
| 13 "css": ["keyboard_ui.css"], | 23 "css": ["keyboard_ui.css"], |
| 14 "all_frames": true | 24 "all_frames": true |
| 15 } | 25 } |
| 16 ], | 26 ], |
| 17 "content_security_policy": "default-src 'self'; script-src 'self'; frame-src *
; style-src 'self' 'unsafe-inline'", | 27 "content_security_policy": "default-src 'self'; script-src 'self'; frame-src *
; style-src 'self' 'unsafe-inline'", |
| 18 "description": "GAIA Component Extension", | 28 "description": "GAIA Component Extension", |
| 19 "web_accessible_resources": [ | 29 "web_accessible_resources": [ |
| 20 "main.css", | 30 "main.css", |
| 21 "main.html", | 31 "main.html", |
| 22 "main.js", | 32 "main.js", |
| 23 "offline.css", | 33 "offline.css", |
| 24 "offline.html", | 34 "offline.html", |
| 25 "offline.js", | 35 "offline.js", |
| 26 "success.html", | 36 "success.html", |
| 27 "success.js", | 37 "success.js", |
| 28 "util.js" | 38 "util.js" |
| 29 ], | 39 ], |
| 30 // cookies for getting hash passed back from GAIA on login success | |
| 31 // tabs for calling current webui's login. This might not be needed once | |
| 32 // we have extension API | |
| 33 "permissions": [ | 40 "permissions": [ |
| 34 "cookies", | 41 "<all_urls>", |
| 35 "tabs", | 42 "webRequest", |
| 36 "chrome://oobe/", | 43 "webRequestBlocking" |
| 37 "https://www.google.com/accounts/*", | |
| 38 "https://accounts.google.com/*" | |
| 39 ] | 44 ] |
| 40 } | 45 } |
| OLD | NEW |