I'm writing up a chrome extension, with all analysis happening in my background.js
. Say the result comes out from this script, in the format of a HTML table, then how can I show it in the pop up page, which is the page after the user clicks on the extension icon?
Many thanks!
This is my manifest.js
{
"manifest_version": 2,
"name": "myExtension",
"description": "...",
"version": "1.0",
"background": {
"scripts": ["background.js"]
},
"browser_action": {
"default_icon": "lightning.png",
"default_title": "Click here!",
"default_popup": "intro.html"
},
"permissions": [
"background",
"activeTab",
"tabs",
"bookmarks",
"webRequestBlocking",
"webRequest",
"<all_urls>",
"debugger"
]
}