Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

184
Views
Difference in browser windows that can and can't have tabs

I'm constrained to code (JavaScript, HTML) I can edit in a new window created by a window.open(URL, target, specs) function. I cannot change the opener window in any way.

I'm trying to open links in a way that makes sense - either in a new tab in the current window or a new window, depending on browser settings. But I can't do it.

All I can do is:

  • <a href=URL target="_blank"> opens in a new tab in the original window, causing user disorientation,
  • window.open(URL, name) opens like the above,
  • window.open(URL, name, specs) opens another browser window, giving the user 3 windows to manage.

Ideally, the opener would do something sensible like honor the user preference for opening links in their choice of a new tab or a new window, bit this won't be achievable.

I've noticed a browser window that can't have tabs to be ones created with JavaScript's window.open(URL, name, specs) function and those that can have tabs to be window.open(URL, name), omitting the specs argument.

I'm struggling to understand how browser windows that have tabs differ from those that can't have tabs.

Definitely looking to learn from the community! Thanks for any thoughts.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!