mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
231a2be971
This patch exposes frame's execution contexts, making it possible to debug extension's content scripts. This is a resurrected #2812.
15 lines
283 B
JSON
15 lines
283 B
JSON
{
|
|
"name": "Simple extension",
|
|
"version": "0.1",
|
|
"background": {
|
|
"scripts": ["index.js"]
|
|
},
|
|
"content_scripts": [{
|
|
"matches": ["<all_urls>"],
|
|
"css": [],
|
|
"js": ["content-script.js"]
|
|
}],
|
|
"permissions": ["background", "activeTab"],
|
|
"manifest_version": 2
|
|
}
|