J
J
just_obs2021-07-25 19:56:44
JavaScript
just_obs, 2021-07-25 19:56:44

How can I render the html to control the extension?

I welcome everyone!
There is a simple extension, the meaning of which is to send certain requests to certain servers. All these requests, or rather functions, are written in the main.js file. The task is as follows. At the moment, the extension works through popup.html. The user clicks on the extension icon, the button pops up ( run ) and after clicking, the function with the necessary requests is called.
But I want to make it so that on a certain page (specified in matches => manifest.json ) a window is created on the page. In fact, the control window appeared right on the desired page. In this window there will be a start button and that's it. This saves time, because you do not need to open the extension. How can I implement it? I haven't been writing chrome extensions that long, so I don't know a few things!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question