Philip Chee wrote:
On 16/10/2014 15:31, Paul B. Gallagher wrote:
I believe the problem is with the servers sending the PDF files and how
they indicate the MIME type. You can complain to the Web administrators
about this. There might be nothing you can do about it in SeaMonkey.
When the program encounters an unfamiliar MIME type for the first
time, it will prompt the user for guidance. At that point, the user
can select a treatment and check or uncheck a box that says,
basically, "do this every time I see this type?" (I forget the exact
wording). If the user checks that box, the type will appear under Edit
| Preferences | Browser | Helper Applications, and the user can later
select a different treatment (including "Always ask"). If the user
does not check the box, the program uses the chosen treatment once and
forgets it, and the type does not appear under Helper Applications;
then the next time it sees that type it will start all over and ask
for guidance again.
I'm sure you can edit mimetypes.rdf if you're so inclined, but the
intended way for end users to manage this is through the preference I
mentioned above. Not all users are knowledgeable enough to edit
mimetypes.rdf, but pretty much anyone can select a program from a
pull-down list and click "OK."
So, it's impossible to remove a mimetypes.rdf entry ?
"So"? No, I didn't say that, and I wouldn't say it because I don't know
if it's true or not. Someone else will have to answer this.
For SeaMonkey:
(1) You probably need to shut down SeaMonkey and edit the mimetypes.rdf
file directly.
<http://kb.mozillazine.org/MimeTypes.rdf>
<https://developer.mozilla.org/en-US/docs/How_Mozilla_determines_MIME_Types>
(2) There is a Mime Types Edit extension for Thunderbird and Firefox
which could possibly be made to work in SeaMonkey (assuming that it
still works in Firefox - last updated in 2011 - ).
(3) Someone in Thunderbird land was really annoyed about not being to
remove an entry through the UI so wrote a patch to add a "Delete this
entry" in the "Helper Applications" section. Someone with basic
knowledge of JavaScript could possibly adapt this patch for SeaMonkey.
(3b) Or offer a bug bounty to have the above added to SeaMonkey.
Thunderbird Bug 501163 - New attachment preference pane lacks option to
remove wrong file-type associations
<https://bugzilla.mozilla.org/show_bug.cgi?id=501163>
Thanks, Phil.
BTW, I see no reason to /remove/ bad associations -- the MIME types
still exist, so SM needs to know how to handle them. Just change them to
the desired values, right? E.g. if application/doc is set to "Use
Microsoft Excel," change it to "Use Microsoft Word" and you're fine.
The only time I'd want to remove an association would be if the type
doesn't exist (due to a typo), and in that case, it would be purely for
elegance's sake, since SM will never see it.
--
War doesn't determine who's right, just who's left.
--
Paul B. Gallagher
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey