Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie

The download button in my website does not work in firefox, but it works in chrome. Is it an issue with firefox?

more options

I have a download button for my website. The button works properly in Google Chrome. But instead of downloading the file, firefox opens the file on a new tab. I want firefox to download the file instead of opening it.

Could someone help me with this...

I have a download button for my website. The button works properly in Google Chrome. But instead of downloading the file, firefox opens the file on a new tab. I want firefox to download the file instead of opening it. Could someone help me with this...

Všetky odpovede (2)

more options

That is likely a problem with the content type that the server sends for this file. If this is text/html or text/plain then Firefox opens th file in a tab.

You can look at this extension to check the HTTP response headers:

more options

What kind of file is it?

You can overcome a browser's natural inclination to display content in a tab by setting a content-disposition:attachment header. The best way to do that depends on your server setup.