Link to home
Start Free TrialLog in
Avatar of jglazer63
jglazer63

asked on

Open browser window/tab BEHIND current window

I guess I am asking for a pop-under solution.  I tried to do

w=window.open('blah')
w.blur()
window.focus()

but that doesn't work at all.

Any suggestions.
Avatar of Rainer Jeschor
Rainer Jeschor
Flag of Germany image

Hi,
which OS and which browser have you tried?
How do you run this code? onload or onclick event?
Thanks.
Rainer
There is no reliable cross browser method of doing this, you may get a bit of luck with this
https://github.com/tuki/js-popunder

But not in Chrome,
Avatar of jglazer63
jglazer63

ASKER

OS and Browser doesn't matter.  I need a global solution.  I have a feeling its not possible.
ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Came to the same conclusion.  Thanks