Using javascript, I want to open a new page in a different tab, but remain focused on the current tab. I know I can do it like this:
open(\'http://example.co
As far as I remember, this is controlled by browser settings. In other words: user can chose whether they would like to open new tab in the background or foreground. Also they can chose whether new popup should open in new tab or just... popup.
For example in firefox preferences:
Notice the last option.