Skip to content
Discussion options

You must be logged in to vote

Hello @jqwv to make Firefox open all links inside PDFs in a new tab, change this hidden browser setting:

Type about:config in the address bar and press Enter.

Click "Accept the Risk and Continue".

Search for the following preference:

pdfjs.externalLinkTarget

Change its numerical value from 0 (or 1) to 2.

Why doesn't Firefox's global setting work for PDFs?
Firefox's standard browser preference to "Open links in tabs instead of new windows" only applies to standard HTML web pages (native elements).

PDF documents opened in Firefox are rendered using its built-in JavaScript engine (pdf.js), which operates differently under the hood:

JavaScript Interception: pdf.js renders the PDF pages onto …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jqwv
Comment options

Answer selected by jqwv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants