change the download settings using javascript.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rakhi

    change the download settings using javascript.

    hello

    i want to alter the download settings of mozilla firefox browser using
    javascript of my application !!

    wat is happenin in my application is, on calling a method , it make a
    file ready to be downloaded . and the browser gives the download
    window ,like.., save file or open file etc.. as we generally see.

    i want the browser to ask the location to the user .. as to where he
    wud like to save the file.

    this can be done manually in firefox.. by goin to " tools" and its
    "options" and changing the setings in the "main"

    is it possible to change this settin using javascript.. ?????

    any help wud be useful..

    thanks
  • Bart Van der Donck

    #2
    Re: change the download settings using javascript.

    Rakhi wrote:
    i want to alter the download settings of mozilla firefox browser using
    javascript of my application !!
    >
    wat is happenin in my application is, on calling a method , it make a
    file ready to be downloaded . and the browser gives the download
    window ,like.., save file or open file etc.. as we generally see.
    >
    i want the browser to ask the location to the user .. as to where he
    wud like to save the file.
    >
    this can be done manually in firefox.. by goin to " tools" and its
    "options" and changing the setings in the "main"
    >
    is it possible to change this settin using javascript..  ?????
    Javascript cannot do this by default. It is (very) maybe possible with
    extremely lowered security settings. But then, how could you know
    which directories exist on the visiting client ? You seem to be
    interested in Firefox only. My best bet, except dissuading from your
    plan, would be https://addons.mozilla.org/ .

    Hope this helps,

    --
    Bart

    Comment

    • T.J. Crowder

      #3
      Re: change the download settings using javascript.

      If you make the file download available as a link on the page, your
      users can always right-click and choose "Save file as..." rather than
      simply clicking and getting the default behavior. Perhaps this is a
      user-education thing, putting some instructions next to the link, etc.

      FWIW...
      --
      T.J. Crowder
      tj / crowder software / com

      On Apr 3, 9:15 am, Rakhi <mitra.ra...@gm ail.comwrote:
      hello
      >
      i want to alter the download settings of mozilla firefox browser using
      javascript of my application !!
      >
      wat is happenin in my application is, on calling a method , it make a
      file ready to be downloaded . and the browser gives the download
      window ,like.., save file or open file etc.. as we generally see.
      >
      i want the browser to ask the location to the user .. as to where he
      wud like to save the file.
      >
      this can be done manually in firefox.. by goin to " tools" and its
      "options" and changing the setings in the "main"
      >
      is it possible to change this settin using javascript.. ?????
      >
      any help wud be useful..
      >
      thanks

      Comment

      • Thomas 'PointedEars' Lahn

        #4
        Re: change the download settings using javascript.

        Rakhi wrote:
        i want to alter the download settings of mozilla firefox browser using
        javascript of my application !! [...]
        I want popcorn!


        PointedEars
        --
        realism: HTML 4.01 Strict
        evangelism: XHTML 1.0 Strict
        madness: XHTML 1.1 as application/xhtml+xml
        -- Bjoern Hoehrmann

        Comment

        • Laurent vilday

          #5
          Re: change the download settings using javascript.

          Thomas 'PointedEars' Lahn a écrit :
          Rakhi wrote:
          >i want to alter the download settings of mozilla firefox browser using
          >javascript of my application !! [...]
          >
          I want popcorn!
          I want you to become a real human. Let's guess none will never happen.

          --
          laurent

          Comment

          Working...