473,394 Members | 1,642 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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
Apr 3 '08 #1
4 1909
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
Apr 3 '08 #2
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...@gmail.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
Apr 3 '08 #3
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
Apr 3 '08 #4
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
Apr 4 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Robert Oschler | last post by:
Hello, I have a web site that has an audio file on it that I make available for download. Right now I'm using the "right-click/save-as" approach. This is because left-clicking the link to the...
6
by: Louise | last post by:
Hi I have written an HTML pages which does not have any colour specifying tags as far I know. When I view this in an Microsoft internet explorer browser it appears with a white background and...
4
by: Richard Cornford | last post by:
For the last couple of months I have been trying to get the next round of updates to the FAQ underway and been being thwarted by a heavy workload (the project I am working on has to be finished an...
4
by: Kevin Muenzler, WB5RUE | last post by:
How do I force a browser to download a file instead of displaying it? In other words I have a page with MP3 and WMA files on it and I would like for the visitor to download the file instead of...
6
by: JCO | last post by:
Does anybody have a Download Dialog written in JavaScripts? This is for a website. I've seen it done before.... where you click on what you want and the dialog comes up asking you if you want to...
3
by: Thomas S | last post by:
I'm trying to load and parse an xml file with XmlReader and have it completely IGNORE the DTD in the xml file. If I set "ValidationType = ValidationType.None" it STILL downloads the DTD even...
2
by: xander.zone.3x | last post by:
How can we download data in tables in a html page into a csv file using client side Javascript. I should click a button and a table's data should be downloaded into a csv in local drive. The os...
6
by: balakrishnan.dinesh | last post by:
hi frnds I need to change the Browser settings dynamically in Onload event through javascript. Like Goto: Tools->Internet Options -General -Settings -Check for newer Versions of stored pages....
5
by: elbin | last post by:
Hello, first to say that I am a total beginner in Javascript but I know some programming (python in particular) and am able to understand methods/parameters and so on. Here's my problem: I am...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.