Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

Avatar for Username

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

Downloading a pdf file from javascript() window does not work

  • 2 απαντήσεις
  • 9 έχουν αυτό το πρόβλημα
  • 1 προβολή
  • Τελευταία απάντηση από Peace712

more options

PDF download/view works fine where the link points to actual pdf file. But I have problem downloading/viewing pdf files that are loaded using javascript(), e.g. bank statements and such. When I click a link FF downloads a file which either has no extension or has a different one (not .pdf).

Later I realized that I can manually rename the downloaded file to insert .pdf extension and open it in reader.

How can I solve this? I don't have this problem when using IE or Chrome.

Thanks

PDF download/view works fine where the link points to actual pdf file. But I have problem downloading/viewing pdf files that are loaded using javascript(), e.g. bank statements and such. When I click a link FF downloads a file which either has no extension or has a different one (not .pdf). Later I realized that I can manually rename the downloaded file to insert .pdf extension and open it in reader. How can I solve this? I don't have this problem when using IE or Chrome. Thanks

Επιλεγμένη λύση

Could you try a new profile?

Create a new profile as a test to check if your current profile is causing the problems.

See "Creating a profile":

https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues If the new profile works then you can transfer some files from an existing profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem.

http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox If it still happens with a new and clean profile then the most likely cause is that you have security software that is blocking this JavaScript.

Ανάγνωση απάντησης σε πλαίσιο 👍 4

Όλες οι απαντήσεις (2)

more options

Επιλεγμένη λύση

Could you try a new profile?

Create a new profile as a test to check if your current profile is causing the problems.

See "Creating a profile":

https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues If the new profile works then you can transfer some files from an existing profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem.

http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox If it still happens with a new and clean profile then the most likely cause is that you have security software that is blocking this JavaScript.

Τροποποιήθηκε στις από το χρήστη user669794

more options

Thanks Debapriyo, the diagnostic approach helped. Probably one of the extension somehow got corrupted and created the problem.

Luckily, I use FF Sync, so all my extensions and configurations got re-installed automatically, except for "recognize this device" for some sites.

Τροποποιήθηκε στις από το χρήστη Peace712