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

237
Vistas
In Chrome, Window.open yields the desired "popup" window, and an additional unwanted about#blocked tab

So, I have code on that works perfectly in Safari. When the function is called, it creates a sized window to the a fraction of the size of the screen (code at bottom of post). The only issue is that the end-user(internal tool) of this code works in Chrome, and they report strange behavior (that I can replicate in my own machine on Chrome), in which the desired window is present and in the correct size.

However, it also creates an additional, unwanted tab of URL equivalent "about#blocked".

As this point, I'm pretty sure the issue lies in Chrome (and probably its security features) seeing as it does not occur on Safari browser.

Is there anything that I can do, in either code or instructions to the end-user to change their Chrome settings so that this tab does not get generated? Hopefully something that I've overlooked completely, being a Javascript novice.

function openAttachmentInNewWindow(recordIdToOpen) {
                var file_url = '/servlet/servlet.FileDownload?file='+recordIdToOpen;
                var params = [ 'height='+(screen.height/2),
                                'width='+(screen.width*3/4),
                                'Resizeable=yes',
                                'fullscreen=no' // only works in IE, but here for completeness
                            ].join(',');
               window.open(file_url, recordIdToOpen, params);
            }
about 4 years ago · Juan Pablo Isaza
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