The script I'm trying to get is:
If the user opens the extension pop-up window in Chrome 1 and does not close the pop-up window, the moment the user opens another Chrome window (window 2) and starts working with it, I want the pop-up window in window 1 to close,
Basically, only the active Chrome window can open an extension popup.
source
share