codepen.io
Posted: Mon May 08, 2017 8:14 am
Hi everyone,
I am working on a website which uses objectURL to display pdf blobs. The way it works is it opens a new tab before getting the file (ajax), and as soon as the file is received, it generates an objectURL and sets the href of the new tab to that objectURL. The problem I am facing is Adblock closes the new tab as soon as the blob is opened.
Just to be sure it was Adblock i have tried it in other browsers like Firefox, Opera and Safari (Firefox and Safari have no adblockers installed and Opera has its own solution which does not interfere). The issue is only present on Chrome (Version 58.0.3029.96 (64-bit)) if AdBlock is enabled, once disabled everything works as expected.
Disabling Easylist in Adblock resolves the issue. I would kindly ask you to solve this issue. In the meantime, I am implementing an AdBlock checker on my website but I think you will agree that an Adblock checker on a website that has absolutely zero ads is ridiculous.
Best Regards,
Narcis Cristea
I am working on a website which uses objectURL to display pdf blobs. The way it works is it opens a new tab before getting the file (ajax), and as soon as the file is received, it generates an objectURL and sets the href of the new tab to that objectURL. The problem I am facing is Adblock closes the new tab as soon as the blob is opened.
Just to be sure it was Adblock i have tried it in other browsers like Firefox, Opera and Safari (Firefox and Safari have no adblockers installed and Opera has its own solution which does not interfere). The issue is only present on Chrome (Version 58.0.3029.96 (64-bit)) if AdBlock is enabled, once disabled everything works as expected.
Disabling Easylist in Adblock resolves the issue. I would kindly ask you to solve this issue. In the meantime, I am implementing an AdBlock checker on my website but I think you will agree that an Adblock checker on a website that has absolutely zero ads is ridiculous.
Best Regards,
Narcis Cristea