WebWeWant / webwewant.fyi

If you build websites, you inevitably run into problems. Maybe there’s no way to achieve an aspect of your design using CSS. Or maybe there’s a device feature you really wish you could tap into using JavaScript. Or perhaps the in-browser DevTools don’t give you a key insight you need to do your job. We want to hear about it!
https://webwewant.fyi
MIT License
74 stars 23 forks source link

The ability to customise the UI when embedding a PDF #610

Open WebWeWantBot opened 1 year ago

WebWeWantBot commented 1 year ago

title: The ability to customise the UI when embedding a PDF date: 2023-03-05T09:34:17.033Z submitter: PRIVATE number: 64046219a4d39a0c5d769c79 tags: [ ] discussion: https://github.com/WebWeWant/webwewant.fyi/discussions/ status: [ discussing || in-progress || complete ] related:

Embedding a pdf in an iframe today displays the pdf using the web browsers native capabilities. This experience is different between browsers but the UI of this is not customisable. In order to have control over the UI shown to a user, a third party pdf render needs to be shipped with the application codebase. e.g pdfjs

It would be great to not have to ship a pdf renderer with an application codebase just to have control over what UI is shown consistently across browsers when browsers already have pdf rendering capabilities.

A standardised way of instructing the browser to show no UI, detail explicit functionality or even supply our own UI akin to the window controls overlay api would be fantastic.


If posted, this will appear at https://webwewant.fyi/wants/64046219a4d39a0c5d769c79/