When I do a window.open() is there a way to tell the browser to stay on the current window or tab and not go to the new tab or window?
If your goal is to use the current window, you can simply use:
window.location
But, if you want to open a child window and leave focus on the parent window, I think you'll find it quite difficult as opener.focus()
I've read doesn't work in all browsers.
See these SO questions for reference:
Prevent window.open from focusing
How to return focus to the parent window using javascript?