You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to capture these events to track them in my Analytics software, so these events should be fired. The iframe and the parent page are in the same origin.
This discussion was converted from issue #19187 on December 06, 2024 21:17.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Attach (recommended) or Link to PDF file
https://doksi.net/en/get.php?lid=40596
Web browser and its version
Firefox 133.0, Edge 131.0
Operating system and its version
Windows 11
PDF.js version
pdfjs-4.8.69-legacy-dist
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
The following events are fired when PDF.js is embedded in the parent page, but not fired when running in an iframe.
document.addEventListener("webviewerloaded", () => {
PDFViewerApplication.initializedPromise.then(() => {
What is the expected behavior?
I want to capture these events to track them in my Analytics software, so these events should be fired. The iframe and the parent page are in the same origin.
What went wrong?
Described above.
Link to a viewer
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions