Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

124
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda