Index: chrome/test/data/extensions/api_test/content_scripts/ntp/manifest.json |
diff --git a/chrome/test/data/extensions/api_test/content_scripts/ntp/manifest.json b/chrome/test/data/extensions/api_test/content_scripts/ntp/manifest.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ae167737f3620b72c0d768d458ba9e9e0b495a5e |
--- /dev/null |
+++ b/chrome/test/data/extensions/api_test/content_scripts/ntp/manifest.json |
@@ -0,0 +1,13 @@ |
+{ |
+ "name": "New Tab Page Injector", |
+ "version": "0.1", |
+ "manifest_version": 2, |
+ "description": "Injects in the NTP", |
+ "content_scripts": [{ |
+ "matches": ["*://*/*"], |
+ "js": ["script.js"], |
+ "run_at": "document_start" |
karandeepb
2017/07/18 21:06:25
For my own knowledge, why didn't document_start/wi
Devlin
2017/07/18 21:12:49
window.didInject didn't work because the content s
karandeepb
2017/07/18 21:27:18
Makes sense! Thanks.
|
+ }], |
+ "background": {"scripts": ["background.js"]}, |
+ "permissions": ["tabs", "*://*/*"] |
+} |