-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed
Description
Attach (recommended) or Link to PDF file here:
Configuration:
- Web browser and its version:
- Operating system and its version:
- PDF.js version:
- Is a browser extension:
Steps to reproduce the problem:
-
on file viewer.js
Line 214 in 4fe9260
event.initCustomEvent("webviewerloaded", true, true, {});
listen event and motify appOptions -
on file app.js
get config for apiLine 741 in 4fe9260
const apiParameters = AppOptions.getAll(OptionKind.API); -
but app_options.js has not option for httpHeaders ,
support this optionLine 192 in 4fe9260
function getDocument(src) {
What is the expected behavior? (add screenshot)
suport custom httpHeader for viewer.js
i can only hook xhr, fetch for hack this moment.
What went wrong? (add screenshot)
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels