Embed PDFObject document viewer on my site
PDFObject puts a PDF you have uploaded straight onto the page, so a visitor reads your brochure, menu or price list without downloading anything. It uses the browser’s own PDF reader, so there is nothing for the visitor to install.
The prompt
“Put our brochure PDF on the Downloads page so people can read it without downloading it. Use PDFObject and make it about the height of the screen.”
Signed in, Get my prompt fills in your site for you. Otherwise press Copy and fill in the [bracketed] parts. First time? Connect your AI to bernard once: Use your own AI (opens in a new tab).
Ask your AI
Put our brochure PDF on the Downloads page so people can read it without downloading it. Use PDFObject and make it about the height of the screen.
What bernard checks
The PDFObject document viewer tool is on bernard’s permitted list. Someone read the maker’s own instructions (https://pdfobject.com/api) on 2026-09-14 and decided it was safe to run on a customer’s site: Embeds an iframe of the PDF, so the file stays first-party on the site. fallbackLink accepts raw HTML and PDFJS_URL re-points the viewer at another origin; both refused. Your site loads it from its published package, version 2.3.0 or newer. Every week bernard checks which version each of your pages loads against the published list of known weaknesses, and moves a page forward when one is found.
Your AI writes the exact tag bernard permits, on a private preview. You look at it and approve it before anything goes live.
People search for this as: pdf, brochure, menu, price list, document viewer, embed a pdf.
For the full list of libraries, what is waiting, and how to ask for one that is not there, see Embed a calendar, a diagram, a chart or another tool on my site.
Questions people ask
- Do I need to write any code to use the PDFObject document viewer tool?
- No. Your AI writes the exact tag bernard permits and puts it on a preview. You approve it before it goes live, and pasted code is removed for safety every time.
- Is the PDFObject document viewer tool safe on my site?
- bernard admits it only from its own published address, with its settings written as plain data rather than code. Every week bernard checks which version each of your pages loads against the published list of known weaknesses, and moves a page forward when one is found. Nothing else about it can be changed from a page.
- Can I change it later?
- Yes. Say what you want different and your AI redoes it on a preview for you to approve. Nothing about it is baked in.