-
-
Notifications
You must be signed in to change notification settings - Fork 88
Closed
Description
When rendering PDF's server side it's often better to disable JavaScript execution. It just uses unnecessary server resources while it's most of the time not necessary to render the page.
It would be awesome if we could pass a property to /pdf
where we can disable JavaScript in:
https://github.com/microlinkhq/browserless/blob/master/packages/pdf/src/index.js
Puppeteer supports this out of the box if you just use page.setJavaScriptEnabled(false)
before navigation to a page:
https://github.com/puppeteer/puppeteer/blob/master/docs/api.md#pagesetjavascriptenabledenabled
Metadata
Metadata
Assignees
Labels
No labels