X
Kliknite sem pre prechod na mobilnú verziu webu.

Fórum podpory

viewing pdfs opens infinite tabs

Pridané

Firefox 66.0.5 Windows 10 (1803)

If I open a PDF in Firefox, it just keeps opening up tab after tab opening the same PDF. I tried running in safe mode and see the same problem.

Firefox 66.0.5 Windows 10 (1803) If I open a PDF in Firefox, it just keeps opening up tab after tab opening the same PDF. I tried running in safe mode and see the same problem.
Citácia

Ďalšie informácie o systéme

Nainštalované zásuvné moduly

  • Shockwave Flash 32.0 r0

Aplikácie

  • Identifikácia prehliadača: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

Viac informácií

cor-el
  • Top 10 Contributor
  • Moderator
17411 riešení 157274 odpovedí

You should never select Firefox as the application to handle a file via the "open with" dialog. In this case you should instead select "Preview in Firefox" for Portable Document Format (PDF) in "Options/Preferences -> Applications".

You get tabs opening endlessly if you select Firefox as the application to handle a file when you get an "Open with" dialog.

You should never select Firefox as the application to handle a file via the "open with" dialog. In this case you should instead select "Preview in Firefox" for Portable Document Format (PDF) in "Options/Preferences -> Applications". *https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file You get tabs opening endlessly if you select Firefox as the application to handle a file when you get an "Open with" dialog. *https://support.mozilla.org/en-US/kb/Firefox+keeps+opening+many+tabs+or+windows
Pomohlo vám to? 0
Citácia
sajee 0 riešení 5 odpovedí

I have PDF set to "Preview in Firefox". With some PDFs (not all), a separate windows opens and infinite tabs open. I have to quit Firefox to get this to stop. This is really frustrating. This has happened over multiple Firefox versions over the last couple of years. I'm currently on 69.0b4 64-bit on macOS 10.14.6. Chrome handles this flawlessly.

I have PDF set to "Preview in Firefox". With some PDFs (not all), a separate windows opens and infinite tabs open. I have to quit Firefox to get this to stop. This is really frustrating. This has happened over multiple Firefox versions over the last couple of years. I'm currently on 69.0b4 64-bit on macOS 10.14.6. Chrome handles this flawlessly.
Pomohlo vám to?
Citácia
cor-el
  • Top 10 Contributor
  • Moderator
17411 riešení 157274 odpovedí

Užitočné odpovede

Hi sajee

Try to rename/remove handlers.json and delete mimeTypes.rdf when present in the Firefox profile folder with Firefox closed to reset all file actions.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

Hi sajee Try to rename/remove <b>handlers.jso</b>n and delete mimeTypes.rdf when present in the Firefox profile folder with Firefox closed to reset all file actions. You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the <b>about:profiles</b> page. *Help -> Troubleshooting Information -> Profile Directory:<br>Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder *http://kb.mozillazine.org/Profile_folder_-_Firefox
Pomohlo vám to? 1
Citácia
sajee 0 riešení 5 odpovedí

That worked. Thanks cor-el.

That worked. Thanks cor-el.
Pomohlo vám to?
Citácia
sajee 0 riešení 5 odpovedí

Cor-el's suggestion worked with viewing a PDF statement on CreditCardCompany1's site. But, as before, I have "Preview in Firefox" set for PDFs. Yet, when I click to view a PDF at CreditCardCompany2's site, I get a dialog box asking whether I want to "Open with Preview (default)" or Save File. Is there some way I can always view the PDF in Firefox by default?

Cor-el's suggestion worked with viewing a PDF statement on CreditCardCompany1's site. But, as before, I have "Preview in Firefox" set for PDFs. Yet, when I click to view a PDF at CreditCardCompany2's site, I get a dialog box asking whether I want to "Open with Preview (default)" or Save File. Is there some way I can '''always''' view the PDF in Firefox by default?
Pomohlo vám to?
Citácia
jscher2000
  • Top 10 Contributor
8633 riešení 70605 odpovedí

Užitočné odpovede

Hi sajee, this is caused by the server sending an extra header:

Content-Disposition: attachment; filename="blablah.pdf"

There are extensions to override the header so that the file can open "inline". For example:

I also have it as a feature of my extension (when the extension is listening to requests, a menu drops down from the button which lets you select the option):

Hi sajee, this is caused by the server sending an extra header: Content-Disposition: attachment; filename="blablah.pdf" There are extensions to override the header so that the file can open "inline". For example: * https://addons.mozilla.org/firefox/addon/display-inline/ I also have it as a feature of my extension (when the extension is listening to requests, a menu drops down from the button which lets you select the option): * https://addons.mozilla.org/firefox/addon/content-type-fixer/
Pomohlo vám to? 1
Citácia
sajee 0 riešení 5 odpovedí

I added your extension jscher2000 and it works as advertised. Thank you.

I added your extension jscher2000 and it works as advertised. Thank you.
Pomohlo vám to?
Citácia
sajee 0 riešení 5 odpovedí

jscher2000: On the American Express site (the 3rd credit card site I visited), when I click on the PDF statement, nothing happens when your extension is set to "Allow viewing in a tab". If I set your extension to "As set by server", I get the FF dialog to Open or Save the file. Any idea what's going on?

jscher2000: On the American Express site (the 3rd credit card site I visited), when I click on the PDF statement, nothing happens when your extension is set to "Allow viewing in a tab". If I set your extension to "As set by server", I get the FF dialog to Open or Save the file. Any idea what's going on?

Upravil(a) sajee dňa

Pomohlo vám to?
Citácia
jscher2000
  • Top 10 Contributor
8633 riešení 70605 odpovedí

sajee said

jscher2000: On the American Express site (the 3rd credit card site I visited), when I click on the PDF statement, nothing happens when your extension is set to "Allow viewing in a tab". If I set your extension to "As set by server", I get the FF dialog to Open or Save the file. Any idea what's going on?

No idea. Does the Log show anything strange for that PDF request modification versus the others? Maybe I'll have to remember my AmEx password and try it out.

''sajee [[#answer-1241203|said]]'' <blockquote> jscher2000: On the American Express site (the 3rd credit card site I visited), when I click on the PDF statement, nothing happens when your extension is set to "Allow viewing in a tab". If I set your extension to "As set by server", I get the FF dialog to Open or Save the file. Any idea what's going on? </blockquote> No idea. Does the Log show anything strange for that PDF request modification versus the others? Maybe I'll have to remember my AmEx password and try it out.
Pomohlo vám to?
Citácia
cor-el
  • Top 10 Contributor
  • Moderator
17411 riešení 157274 odpovedí

You can check the server HTTP response headers in the Network Monitor.

You can check the server HTTP response headers in the Network Monitor. *"3-bar" menu button or Tools -> Web Developer *https://developer.mozilla.org/en-US/Tools/Network_Monitor
Pomohlo vám to?
Citácia
Položiť otázku

Ak chcete pridať odpoveď, musíte sa prihlásiť k svojmu účtu. Ak účet doteraz nemáte, položte novú otázku.