Source http://hi.baidu.com/xbeyondx/blog/item/0a98cc13c37cc5d8c2fd787b.html
Firefox version 8.0.1
The directory in win7 is c: \ Users \ User Name \ appdata \ roaming \ Mozilla \ Firefox \ profiles \ 1dn9d5pz. Default
Or
The directory in XP is c: \ Documents ents and Settings \ User Name \ Application Data \ Mozilla \ Firefox \ profiles \ wphe3m45. Default
The string before. default in the 1dn9d5pz. default directory name is randomly generated when Firefox is installed, and each person may be different.
In the preceding directory, there is a file named mimetypes. RDF. How does this file manage the file with any extension used by Firefox? For example, it can be opened directly in Firefox when RSS is used.
Solution:
1. run firefox, and choose tools> Options> applications. Program First, change the question of zip to save the file. Then exit Firefox.
2. Open the mimetypes. RDF file mentioned above in a text editor and search for urn: mimetype: Handler: Application/zip to find two sections. They are
<RDF: Description RDF: About = "urn: mimetype: Application/zip"
NC: value = "application/zip"
NC: editable = "true"
NC: fileextensions = "Zip"
NC: Description = "ZIP Archive">
<NC: handlerprop RDF: Resource = "urn: mimetype: Handler: Application/zip"/>
The general idea of this section is that the file with the extension zip, the default open program is the zip program in the system (may be 7z, WinRAR, etc ).
And
<RDF: Description RDF: About = "urn: mimetype: Handler: Application/zip"
NC: savetodisk = "true"
NC: alwaysask = "false"/>
The general idea is that the files opened by the zip program by default do not need to be opened or saved. The save box is displayed directly.
Add
<RDF: Description RDF: About = "urn: mimetype: Application/RAR"
NC: value = "application/RAR"
NC: editable = "true"
NC: fileextensions = "RAR"
NC: Description = "ZIP Archive">
<NC: handlerprop RDF: Resource = "urn: mimetype: Handler: Application/RAR"/>
The general idea of this section is that the file with the extension RAR opens the RAR program in the system by default (there may be no RAR program in the system, that is, urn: mimetype: Handler: the RAR at the end of application/RAR can be replaced with mimetypes. any string in the same position as other strings in the RDF document ).
And
<RDF: Description RDF: About = "urn: mimetype: Handler: Application/RAR"
NC: savetodisk = "true"
NC: alwaysask = "false"/>
By default, files opened using RAR programs do not need to be opened or saved. The save box is displayed.