Invoking Firefox save as dialog through javascript

Discussion in 'Javascript' started by Sampat, Feb 20, 2008.

  1. Sampat

    Sampat Guest

    Hi,
    Is there a way to invoke the save as dialog in firefox
    programatically through javascript?

    Thanks,
    Sampat.
    Sampat, Feb 20, 2008
    #1
    1. Advertising

  2. Sampat

    David Mark Guest

    On Feb 20, 1:18 pm, Sampat <> wrote:
    > Hi,
    >     Is there a way to invoke the save as dialog in firefox
    > programatically through javascript?
    >


    You can simply navigate to a location that sends an appropriate
    Content-Disposition header. Assuming you wish to prompt to save the
    document at the current location, you will need to send some arbitrary
    header (or query) to signal the server to add it.
    David Mark, Feb 21, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bruce
    Replies:
    2
    Views:
    4,036
    Vitaly
    Feb 13, 2006
  2. BusyBoy
    Replies:
    2
    Views:
    589
    =?Utf-8?B?TGVvbiBNYXluZQ==?=
    Oct 31, 2006
  3. hell2heaven
    Replies:
    0
    Views:
    408
    hell2heaven
    Oct 26, 2008
  4. Per Padolina
    Replies:
    0
    Views:
    117
    Per Padolina
    Aug 6, 2003
  5. Mario Ruiz
    Replies:
    8
    Views:
    282
    Jesús Gabriel y Galán
    Aug 13, 2010
Loading...

Share This Page