I have developed a Web site one of whose requirements was that every link open in a new window or tab. For obvious reasons, it is preferable that several tabs, instead of several windows be created. How do I make JavaScript’s window.open() function always open a new tab whenever the browser supports them, regardless of other variables (such as whether the user has configured the browser to open new windows rather than tabs)?
I have developed a Web site one of whose requirements was that every link
Share
You can’t override the user’s settings. Quite frankly, I would be appalled if you could.
What makes your site special enough that what YOU want it to do is more important than what I want my computer to do?