473,738 Members | 2,492 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1929
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...@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
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
3804
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 audio file initiates client-side streaming/playing of the audio file. Is there a way with Javascript to make a left-click trigger a download of the file instead? BTW, I don't want to have convert the mp3 file to winzip to make this happen,...
6
5235
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 black text but when I change Windows start menu->settings->control panel ->display -> appearance and change scheme to 'High Contrast Black' the background in the browser changes to black and the text to white. I understand that the windows scheme...
4
2634
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 QA tested for a new year release. I don't think that going to prove practical, but there is no harm in trying :) and some serious family commitments. But it has to be done soon so this is stage one. Mike Winter provided an extensive list of...
4
21952
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 play it without having to right-click and save. How can I force the browser to pop up the "save file as" dialog box instead of playing it? I know that I can encapsulate it in a zip file which will download and open WinZip. Thanks
6
3089
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 save it. From what I can tell, the name of the file is passed as a parameter of the JavaScript. Below is an example of what somebody (who I don't know) has done: http://eteamz.active.com/tejanoswhite90girls/handouts/ Thanks
3
4862
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 though it doesn't validate against it. I get an XmlException when I set "ProhibitDtd = true" because then no DTD is allowed in the doc. If I manually remove the DTD reference from the file then it works fine and does not download the DTD...
2
15720
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 used is m$ windows..
6
17622
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. Here check whether this 'Every visit to the page' option chosed or not, if it is not chosed ,it should chosed dynamically.
5
2168
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 trying to set up a page that changes every time it's visited, but without using php(which i don't know either) because it's not active on the server. The thing that should change is a single number in one attribute of an <embed> tag inside an <object>....
0
8968
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8787
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9334
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9259
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6750
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6053
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4569
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4824
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2193
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.