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

112
Views
How can I open empty default new tabs in chromuim based browsers?

I want a javascript instruction that will allow me to open a new default (empty) browser tab, So far I've tried this window.open('chrome://newtab', '_blank'); But the browser returns the following error, Not allowed to load local resource: chrome://newtab/, even when serving the code with a local server

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

The thing is you cannot load local resources. This is also true for chrome://settings/ since Chrome doesn't want to let websites trick inexperienced users into changing the settings.

I'm sure you have already tried this but the closest alternative is loading an about:blank tab with window.open("");

Or, since most of the users have a search engine in their new tab, you can just load window.open("https://www.google.com/");.

The bottom line is You can't load anything that starts with chrome://

about 4 years ago · Juan Pablo Isaza Report

0

You aren't allowed to open a chrome:// tab because that is a security risk, so the browser restricts it. It is also not the best solution since it only works on Chrome. Instead, you should open about:blank.

window.open('about:blank', '_blank');
about 4 years ago · Juan Pablo Isaza Report
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!