Pdf button open to another window, browser compatibility issue.

Pdf button open to another window, browser compatibility issue.

iamremiel@gmail.comiamremiel@gmail.com Posts: 6Questions: 2Answers: 0
edited May 2017 in Free community support

Good day Sir/Maam, i just noticed that https://datatables.net/extensions/buttons/examples/html5/pdfOpen.html is working on firefox but not on chrome and microsoft edge, is there some tweaks you can advice to me?

Any reply would be gladly appreciated.

Answers

  • allanallan Posts: 63,691Questions: 1Answers: 10,500 Site admin

    How odd. It used to work! Thanks for letting me know about that. I'll look into it and post back once I've had a chance to do so.

    Allan

  • iamremiel@gmail.comiamremiel@gmail.com Posts: 6Questions: 2Answers: 0

    Thanks allan. for the quick response,is it a bug i guess?

  • iamremiel@gmail.comiamremiel@gmail.com Posts: 6Questions: 2Answers: 0

    Hi allan i notice this http://cdn.rawgit.com/bpampuch/pdfmake/0.1.27/build/pdfmake.min.js has a weird chracters on it, see this screenshot http://prntscr.com/fbs27z maybe thats the issue, what do you think?
    Btw. i tested it using chrome and tested it also on firefox same weird characterd showing.

  • iamremiel@gmail.comiamremiel@gmail.com Posts: 6Questions: 2Answers: 0
    edited May 2017

    I have found the culprit, after searching some forums i have read that many users are experiencing this too because of an adblocker, i disabled mine and it works.

    My thought is, this pdf pop-up shouldn't be treated as ad.

    Now the only thing bugging me, is there a way i can let the pdf open in new window without disabling the adblocker?

  • allanallan Posts: 63,691Questions: 1Answers: 10,500 Site admin

    That's the UTF8 information that needs to be embedded into the PDF to make it work - those characters shouldn't cause any issues.

    because of an adblocker

    Ah! Which blocker are you using? I've got uBlock Origin installed and was seeing the same thing.

    I suspect this might be a question we have to pose to the adblocker community.

    Allan

  • iamremiel@gmail.comiamremiel@gmail.com Posts: 6Questions: 2Answers: 0

    Mine was Adblock extension installed in google chrome.
    Thanks, allan.

This discussion has been closed.