I make an extension, in which clicking on its icon, the sidebar appears on the page (in the screenshot). This is now done in background-scripts. But I have problems with debugging, and I want to rewrite it all as a separate HTML template with my own styles and scripts. The question is how to insert such a template into a web page using the Chrome extension so that access to the DOM of the original page remains?
manifest.json:
{ "name": "TestAppExtension", "version": "0.0.1", "manifest_version": 2, "browser_action": { "default_title": "Test App" }, "background": { "scripts": ["app/background.js"] }, "permissions": ["activeTab"] } 