Open Bug 1738527 Opened 4 years ago Updated 3 years ago

Disable popups when loading a pdf

Categories

(Firefox :: PDF Viewer, enhancement)

enhancement

Tracking

()

Tracking Status
firefox95 --- affected

People

(Reporter: calixte, Unassigned)

Details

(Whiteboard: [pdfjs-ux][pdfjs-ux-wanted][pdfjs-javascript])

A pdf can contain some JavaScript actions to execute when the file is loaded and those actions can call alert function (which is pretty similar to the js functions window.alert).
So it's possible to have some popups at loading time which can be a bit intrusive from a user point of view.
We already added some workarounds to avoid them:

:RT, what do you think about disabling popups when the pdf is loaded ?

Flags: needinfo?(rtestard)

It's really hard to make a call without context on why these modals may be called. Is there a risk we'd be removing genuinely useful alerts?

Flags: needinfo?(rtestard)
Whiteboard: [pdfjs-ux][pdfjs-ux-wanted][pdfjs-javascript]
You need to log in before you can comment on or make changes to this bug.