| { |
| "manifest_version": 3, |
| "name": "Gerrit FE Dev Helper", |
| "description": "This extension can help you development on Gerrit sites, frontend specifically", |
| "version": "1.1.0", |
| "action": { |
| "default_icon": "gray-32.png", |
| "default_title": "Gerrit FE Dev Helper" |
| }, |
| "background": { |
| "service_worker": "service_worker.js", |
| "type": "module" |
| }, |
| "content_scripts": [ |
| { |
| "run_at": "document_end", |
| "matches": [ |
| "https://*.git.corp.google.com/*", |
| "https://*.staging-git.corp.google.com/*", |
| "https://*.googlesource.com/*", |
| "https://gerrit.libreoffice.org/*", |
| "https://gerrit.linuxfoundation.org/*", |
| "https://gerrit.wikimedia.org/*", |
| "https://mo-repo.de/*", |
| "https://review.gerrithub.io/*", |
| "https://review.opendev.org/*" |
| ], |
| "js": [ |
| "content_script.js" |
| ] |
| } |
| ], |
| "web_accessible_resources": [ |
| { |
| "resources": [ |
| "elements.js" |
| ], |
| "matches": [ |
| "https://*/*" |
| ] |
| } |
| ], |
| "content_security_policy": { |
| "extension_pages": "script-src 'self'; object-src 'self';" |
| }, |
| "permissions": [ |
| "activeTab", |
| "storage", |
| "tabs", |
| "declarativeNetRequest", |
| "declarativeNetRequestWithHostAccess" |
| ], |
| "host_permissions": [ |
| "https://*.git.corp.google.com/*", |
| "https://*.staging-git.corp.google.com/*", |
| "https://*.googlesource.com/*", |
| "https://gerrit.libreoffice.org/*", |
| "https://gerrit.linuxfoundation.org/*", |
| "https://gerrit.wikimedia.org/*", |
| "https://mo-repo.de/*", |
| "https://review.gerrithub.io/*", |
| "https://review.opendev.org/*" |
| ] |
| } |