Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: chrome/test/data/extensions/api_test/content_scripts/ntp/manifest.json

Issue 2978953002: [Extensions] Don't allow content scripts on the New Tab Page (Closed)
Patch Set: . Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {
2 "name": "New Tab Page Injector",
3 "version": "0.1",
4 "manifest_version": 2,
5 "description": "Injects in the NTP",
6 "content_scripts": [{
7 "matches": ["*://*/*"],
8 "js": ["script.js"],
9 "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.
10 }],
11 "background": {"scripts": ["background.js"]},
12 "permissions": ["tabs", "*://*/*"]
13 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698