I have a Chrome extension that does window.open () when the extension icon is clicked. (It cannot use the traditional Chrome pop-up extension due to an unrelated error in Chrome). I am wondering if there is a way to focus the popup if it is already open. Chrome disables window.focus (), but I thought there might be a way to do this in the Chrome extension.
Update: For anyone interested, this is the code I used on my page:
var popupId;
source share