You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
Hi,
I am trying to open a popup using background script. I tried chrome.browserAction.setPopup passing the tabId and popup HTML url, but its not opening the popup. My requirement is to open the popup and display the content from the web page.
@mantriv I think you may be confusing this method (it has a confusing name). This method sets the browser action popup, which is the small window that appears when you click the browser action icon in the chrome of the browser. It sounds like you're wanting to open a popup window (window.open).
Thanks for the response. Well my requirement is to open up the Chrome extension popup (popup.html) when I mouse hover on the web page say on link of google search result.
I don't want user to manually click on the Chrome extension icon on the browser toolbar.
After opening the popup html, read the content from the web page and show on the chrome extension popup. Hope you are clear with the requirement. Thanks and appreciate your help.
https://developer.chrome.com/extensions/browserAction#method-setPopup
Pass a single details object:
The text was updated successfully, but these errors were encountered: