Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supported browsers #800

Open
liborm85 opened this issue Dec 29, 2016 · 39 comments
Open

Supported browsers #800

liborm85 opened this issue Dec 29, 2016 · 39 comments

Comments

@liborm85
Copy link
Collaborator

liborm85 commented Dec 29, 2016

Supported browsers

Add-ons used in browsers can affect the functionality of pdfmake. If pdfmake is not working try disable add-ons in browser.

Browser download() open() print() Issue(s)
Internet Explorer 9 no no no
Internet Explorer 10 only 0.1.x no no 3
Internet Explorer 11 only 0.1.x and 0.2.x no no 3
Edge 20 - 44 (engine: EdgeHTML) only 0.1.x and 0.2.x no no #693
Edge 79+ (engine: Blink) YES YES 1 YES 1
Edge (mobile) ??? ??? - #708
Firefox YES YES YES
Chrome YES YES 1 YES 1
Chrome (Android) YES YES 2 no?
Opera YES YES YES
Safari (iOS) YES YES / NO 4 YES / NO 4
Safari (iOS) iPhone YES YES -

(the list may not be complete)

1 works only without (or with disabled) AdBlock add-on (because in EasyList is blocked using blob, see commit easylist/easylist@e3276b6) Removed by commit easylist/easylist@e797d63. Methods works with AdBlock add-on now.
2 open invokes dialog to open document, see #679 (comment)
3 playground preview is unsupported
4 require disabled popup blocker

@nigel-dewar

This comment has been minimized.

@liborm85

This comment has been minimized.

@Chris--A
Copy link

It might also be worth collecting the data URI lengths for the browsers. Because after this length only the download() option works (instead of open(), I haven't tried print()).

I know, in windows (7, 64-bit), the latest version of chrome supports 2MB and FireFox supports 1MB data URI's.

@themasch
Copy link
Contributor

After updating to the latest version .print() doesn't work anymore in chrome (chromium 57). It worked with the old version, not exactly sure about how old it was.

@liborm85
Copy link
Collaborator Author

liborm85 commented Apr 18, 2017

Interest with Chrome:

  • open() and print() methods works only without or disabled AdBlock

(from issue: #954)

First post updated.

@boom235
Copy link

boom235 commented Jun 15, 2017

Which Version of Firefox is supported? I try to use it with an old (LTS) Version 16.0.2. Unfortunately I get the error: PdfMake is not defined...
In the newest chrome everything works perfectly fast

I would use an older Version but it is always hard to find out which version supports which browsers... In a different life I would love to see a documentation by an autor which Version supports which Browser-Versions... But this is a general problem in the world of npm! Thanks for this great table, it is a beginning!

@Holyphoenix
Copy link

Is there any effort being made to resolve the incompatibilities with some of the browsers?

@TommyLCox

This comment has been minimized.

@liborm85

This comment has been minimized.

@uebbi
Copy link

uebbi commented Jul 7, 2017

Code https://jsfiddle.net/5ntw24qc/

On Phone Moto G4 / Android 7.0.0:

  • It's not working with Chrome 59.0.3071.125
  • Work with Firefox 54.0.1

On desktop it works in both browsers!

Update: Based on this i found a workaround, check it: https://jsfiddle.net/5ntw24qc/3/

@moffsugita

This comment has been minimized.

@liborm85

This comment has been minimized.

@dethier1958
Copy link

CreatePDF doesn't work with Brave web browser (just downloads PDF), even though it's built on top of Chromium (just a more secure version of Chrome). This is inconvenient since there is no way my app can tell the difference.

@liborm85
Copy link
Collaborator Author

liborm85 commented May 5, 2019

I tried to solve method open and print in Chrome with AdBlock and it looks good.

How does it work:
If the window is closed immediately after opening (eg. by adblock) pdfmake use actual window to open pdf.

Try to test this pdfmake:
pdfmake-adblock-fix.zip

Please test it and send feedback. Thanks.

@arivera12

This comment has been minimized.

@liborm85

This comment has been minimized.

@arivera12

This comment has been minimized.

@cristiandaulisio
Copy link

I am trying on mobile. Work fine with browser but doesn't work on a webview in mobile app (Android and ios)

@mignam

This comment has been minimized.

@liborm85
Copy link
Collaborator Author

liborm85 commented Jul 5, 2021

Internet Explorer 10 support removed in 0.2.0. Internet Explorer 11 is still supported.

@avinashSkeps
Copy link

Download pdf not works and breaks the page in IOS chrome browser, works fine in safari.

@liborm85
Copy link
Collaborator Author

@avinashSkeps and error in console is ...?

@avinashSkeps
Copy link

Not able to get the error on mobile.

@liborm85
Copy link
Collaborator Author

From EasyList for AdBlock was removed blob filter by commit easylist/easylist@e797d63.

Now works methods open()/print() works with AdBlock add-on in Chrome.

@gregor-shkashekwa

This comment was marked as resolved.

@liborm85

This comment was marked as resolved.

@gregor-shkashekwa

This comment was marked as resolved.

@liborm85

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests