Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a link, rather than window.open, when opening PDF attachments in Firefox (bug 1661259) #12286

Merged
merged 1 commit into from
Aug 26, 2020

Conversation

Snuffleupagus
Copy link
Collaborator

Unfortunately e.g. ad blockers can interfere with window.open calls, thus preventing PDF attachments from being opened/viewed. For the MOZCENTRAL-build, we can work-around this problem by using a (hidden) link instead.

Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1661259

…n Firefox (bug 1661259)

Unfortunately e.g. ad blockers can interfere with `window.open` calls, thus preventing PDF attachments from being opened/viewed. For the MOZCENTRAL-build, we can work-around this problem by using a (hidden) link instead.
@timvandermeij
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_preview from @timvandermeij received. Current queue size: 0

Live output at: http://54.67.70.0:8877/664cb876fe46cc5/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/664cb876fe46cc5/output.txt

Total script time: 3.25 mins

Published

@timvandermeij timvandermeij merged commit a6f6689 into mozilla:master Aug 26, 2020
@timvandermeij
Copy link
Contributor

Looks good to me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants