Provide some sort of attribute in the HTML that allows the PDF viewer to be detected
Categories
(Firefox :: PDF Viewer, enhancement, P4)
Tracking
()
People
(Reporter: mkaply, Unassigned)
Details
(Whiteboard: [pdfjs-feature])
Comment 1•13 years ago
|
||
| Reporter | ||
Comment 2•13 years ago
|
||
Comment 3•13 years ago
|
||
| Reporter | ||
Comment 4•13 years ago
|
||
Comment 5•12 years ago
|
||
| Reporter | ||
Comment 6•11 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
| Reporter | ||
Comment 7•5 months ago
|
||
Closing WONTFIX.
The original motivation was XUL-era add-ons wanting to customize the PDF viewer's chrome by patching its DOM, which legacy extensions could attempt via resource URL overrides. That extension model no longer exists. WebExtensions don't have a path to inject into the built-in viewer's resource://pdf.js/ document, and the PDF viewer has since grown its own first-class UI (annotation, editing, signing) on a trajectory that isn't intended to be a customization surface for third parties.
Enterprise/admin tweaks happen today via the pdfjs.* preferences and enterprise policies. If a specific knob is missing, that's the better place to file — adding a body attribute to mark the viewer would just create a stable hook for a use case Firefox isn't designed to support.
Description
•