Here is the code:
Code: Select all
OpenBrowserWindow({private: !PrivateBrowsingUtils.isWindowPrivate(window)});
setTimeout(BrowserTryToCloseWindow, 80);When the new window opens, it gets the focus.
When the command 'BrowserTryToCloseWindow' is executed, the focus returns to the old window.
When the old window is closed, the new one turns 'active' but it isn't 'checked' in Windows Task Bar.
How can I fix that?
Checked
UnChecked
Win 7, Classic Theme.
Thank you.