Answer the question
In order to leave comments, you need to log in
How to display the prepared page in a new tab in the extension?
Greetings!
I want to practice browser extensions. There is an idea to make a panel with bookmark tiles, like in opera.
But in all examples of extensions that I find, examples of popup windows are described. I want to open a new tab and load my html+js there.
Tell me how it's done or how can I google correctly?
Answer the question
In order to leave comments, you need to log in
Without priests and perversions
chrome.tabs.create({
url: `chrome-extension://${chrome.runtime.id}/nopopup.html`
})
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question