MHT files

General discussion, compatibility and contributed extensions.

Moderators: satrow, Lootyhoof, FranklinDM

fugue

MHT files

Unread post by fugue » 2016-01-27, 00:07

This may be related to the similar .maff file issue, posted just below.

After upgrading to 26 can not open .mht files with Palemoon.
(I use them constantly, all day, so need the capability)
Worked fine with 25.

Have both the 'Mozilla Archive Format' (3.1.1) extension, and 'unMHT' (older version compat. with PM) installed...specifically for .mht files.

Edit: Found that Palemoon 26 will still save .mht files. But will not open them.

Thanks.

joe04
Lunatic
Lunatic
Posts: 259
Joined: 2015-09-28, 16:38
Location: US
Contact:

Re: MHT files

Unread post by joe04 » 2016-01-28, 19:13

yep exact same problem as https://forum.palemoon.org/viewtopic.php?f=16&t=10843 (doesn't matter if mht or maff files)

davews
Fanatic
Fanatic
Posts: 104
Joined: 2015-01-20, 09:36
Location: Bracknell

Re: MHT files

Unread post by davews » 2016-01-30, 11:19

I have long used .mht for page archiving and use unMHT with Palemoon. If as it seems this format won't work in PM26 then it is a show stopper for me and I will stay with 25.8.1. Moonchild, any thoughts on this issue?

Ex Pea

Got UnMHT working with Pale Moon 26

Unread post by Ex Pea » 2016-02-08, 19:35

I also experienced that UnMHT stopped opening .mht files when I upgraded to Pale Moon 26. I also depend heavily on this format.

I adapted the first technique described here: https://forum.palemoon.org/viewtopic.ph ... 843#p76343
and here: https://forum.palemoon.org/viewtopic.php?p=76370#p76370

I extracted the contents of my v7.3.0.5 UnMHT xpi installer (rename to. zip, extract with an unzipper), searched for all occurances of "Gecko-Content-Viewers" and replaced with "Goanna-Content-Viewers". This affected three files:
res\modules\UnMHTDLFRegisterer.jsm
res\modules\UnMHTDocumentLoaderFactory.jsm
res\modules\base\arDLFRegisterer.jsm

I put these modified files back into the zip, renamed back to xpi, uninstalled UnMHT, installed this modified version...and I can once again open .mht files in Pale Moon.

I didn't need the second technique, regarding getting the Save functionality to work, since this didn't break for UnMHT.

Good luck to all.

Andys

Re: MHT files

Unread post by Andys » 2016-02-15, 10:22

So, erm, i'd like to hear Palemoon dev's opinion on this problem.
Will there be a compatible version of this addon on addons.palemoon.org?
Because I am not very inclined to modify and 'sideload' xpi, since that effectively blocks future addon updates.

Maybe make a 'compatibility mode' in PM, for these problematic addons, which will supply old engine description to them?

User avatar
back2themoon
Board Warrior
Board Warrior
Posts: 1471
Joined: 2012-08-19, 20:32

Re: MHT files

Unread post by back2themoon » 2016-02-15, 12:28

Andys wrote:So, erm, i'd like to hear Palemoon dev's opinion on this problem.
Will there be a compatible version of this addon on addons.palemoon.org?
https://addons.palemoon.org/extensions/ ... zarchiver/

https://forum.palemoon.org/viewtopic.php?t=11022
Safe Mode / clean profile info: Help/Restart in Safe Mode
Information to include when asking for support - How to apply user agent overrides
How to download videos

Windows 10 Pro • Pale Moon x64 • Interlink x86 • Emsisoft Anti-Malware

User avatar
Ghostwalker
New to the forum
New to the forum
Posts: 2
Joined: 2016-03-03, 13:05

Re: MHT files

Unread post by Ghostwalker » 2016-03-04, 01:05

Just some feedback on my adventures with unMHT and MozArchiver. On my Pale Moon 26.1.1 (x86) MozArchiver is excellent of course,
the only thing is for my needs the "Save selection as MHT..." context menu function of unMHT is necessary for saving just the pertinent info off a page.
Using Ex Pea's adaptation here:
https://forum.palemoon.org/viewtopic.php?t=10852#p77963

And just for fun inserting Pale Moon's GUID into the install.rdf:
<em:targetApplication>
<!-- Pale Moon -->
<Description>
<em:id>{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}</em:id>
<em:minVersion>24.0</em:minVersion>
<em:maxVersion>27.0</em:maxVersion>
</Description>
</em:targetApplication>

All went well using the newest unMHT .xpi that works with PM 26.1.1:
https://addons.mozilla.org/en-US/firefox/addon/unmht/versions/?page=1#version-7.3.0.5.1-signed

The other techniques were in fact not necessary for me either and possibly not the PM GUID either.
Tried both unMHT and MozArchiver together, with one then the other and both will save and open .mht files sucessfully.
The .maff and .mht conversion to each other function of MozArchiver is very handy.
Using the PageZipper add-on you can load all pages of a post and save them in a single .mht or .maff.

For some of you who are understandably shy to experiment on a production machine, a possible solution to these necessary growing pains is to have multiple
profiles and run one as i.e. "standard" and others as test1, test2, etc. and just have some profile(s) committed to test add-ons, a profile strictly for saving pages,
one just for plugins you do not want to update, for security testing etc. Just make a PM shortcut somewhere and in the target box add a space then -p like:
"C:\Program Files (x86)\Pale Moon\palemoon.exe" -p

For Linux you can right click the desktop, choose:
Create Launcher > choose a Name: > Command: palemoon -p -no-remote
Under Permissions select: Allow this file to run as a program
Search for icon, try: /opt/palemoon/browser/icons/

When launching, unselect: Don't ask at startup
The ProfileSwitcher add-on will open any profile concurrently with another.
Hope this helps. PM 26.1.1 has really resolved many things now, Thanks MC and team. :thumbup:

Locked