Answer the question
In order to leave comments, you need to log in
How to navigate to a website when clicking on an icon in Chrome?
Hello everyone, I tried a lot of options and did not find it.
I'm writing a plugin for Chrome.
It is required that when you click on the icon at the top right in the browser, next to the menu, there will be a transition to the project website.
You don't need a popup, just a transition.
Who faced, tell me.
Answer the question
In order to leave comments, you need to log in
chrome.browserAction.onClicked.addListener(function() {
chrome.tabs.create({'url': "http://site.example.com"});
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question