| { |
| "manifest_version": 2, |
| "name": "Gerrit UI Switcher", |
| "description": "Easily switch between the current Gerrit UI and the new PolyGerrit UI", |
| "version": "0.5.0", |
| "background": { |
| "scripts": [ |
| "background.js" |
| ] |
| }, |
| "icons": { |
| "512": "app_icon_512.png" |
| }, |
| "page_action": { |
| "default_icon": { |
| "19": "icon_19.png", |
| "38": "icon_38.png" |
| }, |
| "default_title": "Toggle PolyGerrit UI" |
| }, |
| "content_scripts": [ |
| { |
| "matches": [ |
| "*://*.googlesource.com/*", |
| "*://*.git.corp.google.com/*", |
| "*://*.staging-git.corp.google.com/*" |
| ], |
| "js": [ |
| "content.js" |
| ] |
| } |
| ], |
| "options_ui": { |
| "page": "options.html", |
| "chrome_style": true |
| }, |
| "permissions": [ |
| "activeTab", |
| "cookies", |
| "declarativeContent", |
| "storage", |
| "webRequest", |
| "webRequestBlocking", |
| "*://*.googlesource.com/*", |
| "*://*.git.corp.google.com/*", |
| "*://*.staging-git.corp.google.com/*" |
| ], |
| "content_security_policy": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'" |
| } |