News | Mail Archive | OS Software Downloads | Patents Ad Info ::
Subject: Databases | Java | Linux | Open Source | XML | Data | Tech

Contribute:
· News/Reviews/Release
· Submit a New App!

Misc:
· My Account
· Editorial Feedback
· Logout

Login
 Username
 Password
 Remember me


 Become a Member!
 Login Problems?

Recently Updated Mail Archives
users-camel-apache
users
general
debian-bugs-dist
plasma-bugs
java-net
minix3
ubuntu-archive
kde-commits
clamav-virusdb
quartzcomposer-dev
spree-user
debian-user-debian
merlin2users
CakePHP
fedora-package-review
debian-bugs-closed
user-poi.apache.org
nhibernate-development
Android-Beginners
nlug-talk
openmeetings-dev
httpd-apache
Android-Developers
bug-gnulib-gnu
kernel-team
debian-user-german-debian
solr-user.lucene.apache.org
general.incubator.apache.org
debian-russian-debian
nhusers
ubuntu-studio-users
haml
GoogleMapsAPI
linux-developers
amarok-bugs-dist
mailman-users
modwsgi
java-user.lucene.apache.org
Popular Mail Lists: windows linux solaris osx ubuntu fedora enterprise crm ruby python java xml perl php cvs subversion version contol db
database mysql postgresql mobile telephony voip apple apache
all
sitemap (mail)


Re: Mozilla - Back to Basics: Part 1 Firefox (Score: 4, Informative)
by Anonymous on May 21, 2004 - 12:01 AM
In the program folder, find \components\nsHelperAppDlg.js Open it with notepad and make the following changes.

Find and comment the following lines, as I have:

// Initialize "always ask me" box. This should always be disabled
// and set to true for the ambiguous type application/octet-stream.
// We don't also check for application/x-msdownload here since we
// want users to be able to autodownload .exe files.
var rememberChoice = this.dialogElement("rememberChoice");

// if (this.mLauncher.MIMEInfo.MIMEType == "application/octet-stream") {
// rememberChoice.checked = false;
// rememberChoice.disabled = true;
// }
// else {
rememberChoice.checked = !this.mLauncher.MIMEInfo.alwaysAskBeforeHandling;
//}
this.toggleRememberChoice(rememberChoice);

And also this section:

// We don't let users open .exe files or random binary data directly
// from the browser at the moment because of security concerns.
var openWithDefaultOK = this.openWithDefaultOK();
var mimeType = this.mLauncher.MIMEInfo.MIMEType;
// if ((mimeType == "application/octet-stream" ||
// mimeType == "application/x-msdownload") && !openWithDefaultOK) {
// this.dialogElement("open").disabled = true;
// var openHandler = this.dialogElement("openHandler");
// openHandler.disabled = true;
// openHandler.label = "";
// modeGroup.selectedItem = this.dialogElement("save");
// return;
// }

Now, when you download an EXE file, tell Firefox to open it with "c:\windows\explorer.exe" Next time firefox will remember you chose "C:\windows\explorer.exe" as the helper application and you won't have to browse again, just hit ok. Firefox will download the application and pass it to windows, which will display a security warning "Blah, blah, blah executable application. Would you like to Open, Save, or Cancle?" Just make sure you don't close firefox before the program is done running or the exe is deleted from your temp!

Hope this helps!



Advertise With Us! | Comments are property of their posters.
Copyrighted (c) 2010, but we're happy to let you use what you wish with attribution. OSDir.com
All logos and trademarks are the property of their respective owners.
OSDir is an inevitable website. super tiny logo | Contact | Privacy Policy

Advertising by


Also by inevitable corp: gbiz yellow pages, Git, playgamesportal, and bigfaqs Q & A site.
Page created in 0.090322 seconds.