Visitar URL original
Is there a way to disable automatic display of the context menu? · mozilla/pdf.js · Discussion #21221 · GitHub
Skip to content
Discussion options

You must be logged in to vote

In Firefox's built-in PDF viewer (powered by PDF.js), the popup toolbar that appears upon selecting or highlighting text can be disabled via about:config.

Disabling the Selection Context Menu
Open Firefox and type about:config in the address bar.

Accept the warning prompt ("Accept the Risk and Continue").

Search for the following preference:

pdfjs.enableHighlightFloatingButton

Double-click the entry or click the toggle button on the right to switch its value from true to false.

Refresh or reopen your PDF tab for the changes to take effect.

Once set to false, highlighting text with the cursor will no longer trigger the floating annotation/highlight menu, allowing normal text selection with…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Wolf-SO
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