Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6341453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:02:17+00:00 2026-05-24T20:02:17+00:00

I have a simple HTML file which references .gadget so that it can be

  • 0

I have a simple HTML file which references .gadget so that it can be downloaded:

<a href="name.gadget">Download me!</a>

IE, Opera, Safari and Chrome all offer saving file to disk, however Firefox loads binary file in a tab. Why does Firefox hate me and what must I do to force Firefox to offer download dialog?

I don’t really want to instruct users to “right-click and choose ‘save file as'”, or that they have to remove .zip extension after downloading.

Server is Apache/2.2.17, in case that it’s relevant. Interesting fact is that Firefox does behave like all other browsers – if I load open .html file from local disk. But once it’s on the server, it loads file in a tab.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T20:02:18+00:00Added an answer on May 24, 2026 at 8:02 pm

    So, here’s the solution.

    The problem is that Apache returns Content-Type=text/plain HTTP header by default for all “unknown” file types. Firefox adheres to the standards unlike all other browsers so it displays the content. Here’s what they have to say about it. You can inspect header in Firefox with Firebug (or simply use curl if you’re on Unix).

    The above link also hints the solution; register application/x-windows-gadget MIME type with the server. If you don’t have access to the server configuration, put .htaccess file in the same directory as your file (or in any of the directories above your directory) with the following line:

    AddType application/x-windows-gadget .gadget
    

    After that, don’t forget to clear your browser cache.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

can anyone help? I have a simple html file which i am filling via
I have a simple HTML file which has one link to a file kept
I have a simple HTML input file; which contains a table. The column headers
I have a simple HTML (as HTA) application that shows strange behavior on Windows
I'm trying to have a simple html table, that highlights a row as a
I have a simple XSL file which looks like: <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform version=1.0>
I have a simple set of urls in a Django url conf file which
I have a simple html application which displays words on a click of a
I have a simple HTML page that contains two tabs that show/hide content in
I have a simple index.php file which checks for user authentication, and if all

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.