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

234
Views
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
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!