Hi all
I am opening a window.open(URL) which works fine, however my javascript (I am using a chrome addon to run the code) shifts focus to the new opened tab. I would like the focus to remain on the current tab whilst opening the new tab in the background. How can I achieve this>?
ALTERNATIVELY, I would like to have a dismissable prompt box with OK/Cancel, but if I click outside of the alert box I would like it to be dismissed.
Are either of these possible?
Thanks
Thanks