Browser tabs control with javascript

Asked

Viewed 45 times

0

Good evening. on my website I have a list of links that open with a target='_new'

What I’m trying to do in javascript or jquery is that when any of these links are clicked it will open the other browser tab but Focus will have to continue in the same window that lists the links.

This is possible?

I researched popunder but it didn’t solve. also tried using this function

window.opener.focus();
  • 1

    I think it goes against the proposed world wide web this kind of attitude, prohibiting the user from accessing other tabs.

  • related: http://answall.com/questions/107017/howto prevent que-o-usu%C3%A1rio-close-a-p%C3%A1gina-sem-enviar-o-formul%C3%A1rio-por%C3%A9m-sem-u

  • understood. there is no way to have control unless I create windows ne?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.