When you add a "Save as PDF" button to your website using WebSave, you might want to give visitors control over how their PDF looks. Instead of using fixed settings, you can show a dialog where users choose their preferred page size, filename, and other options before downloading. Learn how to build a custom PDF settings dialog with WebSave.
PDFCrowd Blog
We have released a new version of our WebSave product.
Version 1.3.0
New Features
window.WebSave.initButton(element)- Manually initialize buttons added to the page after WebSave loads. Required for single-page applications and dynamically generated content.
Example:window.WebSave.initButton(document.querySelector('.my-button'))
Users often need to export web pages as PDFs. The browser's window.print() function produces inconsistent results: CSS backgrounds are omitted, page breaks occur mid-element, and layout rendering differs from the screen display.
WebSave as PDF provides a client-side solution for adding PDF export to web applications. It captures the current page state directly in the browser. This guide covers integration for React, Preact, Vue, Angular, Svelte, Astro, and SolidJS.
We have released a new version of our API client libraries.
New:
- PHP client: resolve deprecation warnings for PHP 8.3
- All clients: minor documentation updates
This guide helps you migrate from the Save to PDF Link service to WebSave as PDF. The migration is straightforward and can be completed in a few simple steps.
Why migrate? Save to PDF Link is a legacy service that relies on the HTTP referrer header, which is increasingly unreliable due to browser privacy features and HTTPS policies. WebSave as PDF works more reliably and offers better customization options.
Today we're launching WebSave, a JavaScript library that adds PDF and image export capabilities to any website with just a few lines of code.
We have released version 4.5.1 of our WordPress Plugins and 6.5.1 of our API client libraries.
New:
- Python - minor documentation update
- WordPress - the
User Agentoption defaults tolatest-chrome - Java - publishing via Central Portal
We have released version 4.5.0 of our WordPress Plugins and 6.5.0 of our API client libraries.
New:
- The error handling system has been updated. This includes revised status codes and messages, as well as the addition of new methods to the error class:
getStatusCode(),getReasonCode(), andgetDocumentationLink(). ThegetCode()method is deprecated and should be replaced withgetStatusCode().
We have released a new version of our Save as PDF and Save as Image WordPress plugins.
Fixed:
- PHP object injection vulnerability when processing custom data (low severity).
We have released a new version of our Save as PDF and Save as Image WordPress plugins.
Updates:
- We’ve added more options under the Converter User Agent setting.