openattachmentbyextension Thunderbird extension for WPKG on iPasserelle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
552 B

// OpenAttachmentByExtension
// Contourne un bug dans Thunderbird si le Content-Type n'est pas correct
// 64bits ?
if(getenv("PROGRAMFILES(x86)") != "") {
var path_sumatrapdf = "C:\\Program Files (x86)\\SumatraPDF\\SumatraPDF.exe";
}
// 32bits
else {
var path_sumatrapdf = "C:\\Program Files\\SumatraPDF\\SumatraPDF.exe";
}
lockPref("openattachment.extension.PDF",path_sumatrapdf);
lockPref("openattachment.extension.pdf",path_sumatrapdf);
lockPref("openattachment.use_charset",false);
// Fin de la configuration de OpenAttachmentByExtension