Automatically open EXE files in firefox

December 19th, 2006

Edit the following file nsHelperAppDlg.js  under /components

Find the following lines and Comment it out : Using (//) at the beginning of each one:

  1. 360       var mimeType = this.mLauncher.MIMEInfo.MIMEType;
    361       if (mimeType == “application/octet-stream” || 
    362           mimeType == “application/x-msdownload” ||
    363           this.mLauncher.targetFile.isExecutable()) {
    364         rememberChoice.checked = false;
    365         rememberChoice.disabled = true;
    366       }
    367       else {

    (leave line 368 as it is)

    369       }

    (skip ahead about 170 lines)

    538       if (this.mLauncher.targetFile.isExecutable() || (
    539           (mimeType == “application/octet-stream” ||
    540            mimeType == “application/x-msdownload”) && 
    541            !openWithDefaultOK)) {
    542         this.dialogElement(“open”).disabled = true;
    543         var openHandler = this.dialogElement(“openHandler”);
    544         openHandler.disabled = true;
    545         openHandler.selectedItem = null;
    546         modeGroup.selectedItem = this.dialogElement(“save”);
    547         return;
    548       }

  2.  Next time , when you  click on EXE file in Firefox  and when normal download box appears
  3. Select it, and choose “Other…”. Then browse and select C:\Windows\Explorer.exe 

Entry Filed under: General

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


About the Author

Kiran Bulusu is an Field Applications Engineer with experience in the domain of Formal Verification, Logic Synthesis, DFT,Timing Closure, Floorplan and Place and Route, ,RTL-GDSII Design Methodology and Flow development, Pre-Sales and Post-Sales of the product. He is an evangelist and has expereince in technical marketing in EDA and Semiconductor industry. His other interests include Management Consulting,Marketing and Entreprenuership. He is currently employed at Magma Design Automation.

More About Me

View Kiran Bulusu's profile on LinkedIn

Recent Posts

Blogroll

Calendar

December 2006
M T W T F S S
« Nov   Jan »
 123
45678910
11121314151617
18192021222324
25262728293031

Kiran Bulusu Calendar

Tags

Categories

Technorati Profile


Kiran