This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Buscar en Ayuda

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to disable the author name pop-up window inside a PDF?

  • 4 respuestas
  • 1 tiene este problema
  • 65 visitas
  • Última respuesta de Tianci

more options

When I open an own PDF inside Firefox and hover with my cursor over previously highlighted text, how can I disable the author name from popping up?

When I open an own PDF inside Firefox and hover with my cursor over previously highlighted text, how can I disable the author name from popping up?

Solución elegida

Guys, thank you so much for your help!

Yes, normally I also wouldn't view a lot of my annotated PDF's inside the Firefox built-in viewer. I only do it, because I want to use a Chinese pop-up dictionary which is a Firefox plugin.

So I finally found a way to solve this: Simply delete the author's name from all comments inside the PDF itself. Here's a video that got me on the right track: https://www.youtube.com/watch?v=a9Jz8A9zpik

Cheers and have a great day! :)

Leer esta respuesta en su contexto 👍 0

Todas las respuestas (4)

more options

Here's a screenshot to illustrate

more options

I think that is embedded into the pdf itself. What happens if you save it and use something Reader to open does it do the same thing?

more options

Hmm, I didn't know Firefox did that. I guess I don't view a lot of "annotated" PDFs in Firefox's built-in viewer.

For discussion purposes, here's a sample PDF: https://www.jeffersonscher.com/temp/userChrome.css%20for%20Customizing%20Firefox.pdf

If I were designing this viewer, I think a good compromise would be "only show the annotation when I click and not when I mouse over." However, I don't see a setting for that at the moment.


You can reduce the distraction of the little popups that appear when you hover highlights by applying custom style rules to the page. As shown in the attached screenshot compilation, setting the popup to 10% opacity (90% transparency) makes it much less distracting, but if you want to read it, you can click the highlight and then hover the annotation to make it readable.

Applying this approach to the PDF Viewer is a little tricky because add-ons cannot inject changes into the PDF Viewer (it is considered part of the browser). To do it, you need to create an optional configuration file named userContent.css and place it in a particular folder where Firefox will look for it at startup.

If you want to give it a try, and you have 10 minutes or so, here's how:

This assumes you do not already have a userContent.css file. If you do already have a working userContent.css file, you just need to add the rule under (A) to your file.

(A) Select and copy the following style rule code

/* Fade highlight popups in PDF Viewer */
#viewer.pdfViewer > div.page > .annotationLayer .highlightAnnotation + .popupAnnotation {
  opacity: 0.1 !important;
  transition: opacity 250ms ease-in-out;
}

#viewer.pdfViewer > div.page > .annotationLayer .highlightAnnotation + .popupAnnotation:hover {
  opacity: 1.0 !important;
  transition: opacity 250ms ease-in-out;
}

(B) Generate and download a userContent.css file

Open the following page and paste the above rules into the editor, replacing the sample rule:

https://www.userchrome.org/download-userchrome-css.html

Then click the button for userContent.css and click "Generate CSS File" to save the file to your computer. (See second attached screenshot as an example)

Use the downloads list on the toolbar to open the downloads folder directly to the new userContent.css file. (See third attached screenshot as an example)

Minimize that Windows Explorer window for later reference.

(C) Create a new chrome folder in your profile folder

The following article has the detailed steps for that (#1, #2, and I recommend #3)

https://www.userchrome.org/how-create-userchrome-css.html

I have videos for both Windows and Mac in case the text is not clear.

(D) Move the userContent.css file you generated in Step B into the chrome folder you created in Step C

The next time you exit Firefox and start it up again, it should discover that file and apply the rules.

Modificadas por jscher2000 - Support Volunteer el

more options

Solución elegida

Guys, thank you so much for your help!

Yes, normally I also wouldn't view a lot of my annotated PDF's inside the Firefox built-in viewer. I only do it, because I want to use a Chinese pop-up dictionary which is a Firefox plugin.

So I finally found a way to solve this: Simply delete the author's name from all comments inside the PDF itself. Here's a video that got me on the right track: https://www.youtube.com/watch?v=a9Jz8A9zpik

Cheers and have a great day! :)