MozArchiver does not save some images?

Add-ons for Pale Moon and other applications
General discussion, compatibility, contributed extensions, themes, plugins, and more.

Moderators: FranklinDM, Lootyhoof

ltcomdata
Apollo supporter
Apollo supporter
Posts: 43
Joined: 2015-06-28, 03:49
Location: WI

MozArchiver does not save some images?

Unread post by ltcomdata » 2022-05-15, 14:30

Hello:

I was trying to save https://newrepublic.com/article/115512/ ... house-moon using MozArchiver.
Despite choosing "exact snapshot" in the options, the initial picture at the top of the article does not get saved.
Is there a reason for this? Perhaps the image is considered as background for some reason and MozArchiver cannot save backgrounds?

Thanks!

User avatar
nguyen9173
Banned user
Banned user
Posts: 95
Joined: 2022-06-02, 13:38

Re: MozArchiver does not save some images?

Unread post by nguyen9173 » 2022-06-02, 18:18

MozArchiver is completely inferior to SingleFile or even the Chrome's built-in save as mhtm feature. Ironically it's Mozilla who dropped saving to mhtm support but it rivalry Chrome still keeps it up to this time. But frankly speaking, mhtm is completely inferior to SingleFile. SingleFile saves the whole page to plain .html and encoded all images to base64. In my own experience I rate SingleFile the best, later Savepage WE then finally Chrome's built-in save as mhtm feature. Too bad you can't use both of them on Pale Moon. To archive web pages, I use a portable firefox with SingleFile. The resulted .html opened fine on Pale Moon.

ltcomdata
Apollo supporter
Apollo supporter
Posts: 43
Joined: 2015-06-28, 03:49
Location: WI

Re: MozArchiver does not save some images?

Unread post by ltcomdata » 2022-09-27, 13:43

Just an update on my experience of MozArchiver vs SingleFile (on chromium Edge).

Neither option is optimal.
MozArchiver seems unable to save the initial image in here, though SingleFile does save it.
On the other hand, MozArchiver is quite able to save the initial image here, but SingleFile cannot.

I do like that SingleFile saves everything as an html file which can be opened by any browser without the need for an addon.
But given that SingleFile is flawed, I am not ready to switch to it.
And I would prefer it if the MozArchiver addon were fixed so that I would not have to use an additional browser to save webpages.

User avatar
tellu-white
Moon lover
Moon lover
Posts: 83
Joined: 2022-03-08, 22:02

Re: MozArchiver does not save some images?

Unread post by tellu-white » 2022-10-02, 15:27

ltcomdata wrote:
2022-05-15, 14:30
MozArchiver does not save some images
I usually save web pages with "ScrapBook Plus". There are cases where not all images are saved. To solve this problem, I made an add-on that modifies the HTML code that prevents images from being saved. Of course, this add-on can be improved (is not perfect), but I have tested it on all the pages I am interested in and it works fine.

Now I have tested it on the tree pages you mentioned in this post, and it works in these cases too (I saved these pages with "ScrapBook Plus"):
The Fall of the House of Moon

https://newrepublic.com/article/115512/ ... house-moon

What the Russian Invasion Teaches Us About the Right

https://newsletters.theatlantic.com/the ... a-ukraine/

Why Democracies Are So Slow to Respond to Evil

https://www.theatlantic.com/culture/arc ... ew/671455/
***

HELP:

Open the page you want to save, then click on Restore "src" attribute of "img" TAGs add-on button. Save the page.
Printscreen.png
***

Try this add-on to see if it's ok for you. You can download it here:

https://www.mediafire.com/file/7zypd34uxp8z8l0/Restore_SRC_attribute_of_IMG_TAGs_before_saving_the_page.zip/file

User avatar
tellu-white
Moon lover
Moon lover
Posts: 83
Joined: 2022-03-08, 22:02

Re: MozArchiver does not save some images?

Unread post by tellu-white » 2022-10-10, 18:18

A improved version of Restore "src" attribute of "img" TAGs add-on ( Version II ).

Download link:

https://www.mediafire.com/file/1l4ru1khrjzd2os/Restore_SRC_attribute_of_IMG_TAGs_before_saving_the_page__Version_II.zip/file

User avatar
tellu-white
Moon lover
Moon lover
Posts: 83
Joined: 2022-03-08, 22:02

Re: MozArchiver does not save some images?

Unread post by tellu-white » 2022-10-14, 11:59

A new version of Restore "src" attribute of "img" TAGs add-on ( Version III ) that also tries to fix some "opacity" and "z-index" issues - the "z-index" issue reported in this post:

https://forum.palemoon.org/viewtopic.php?f=70&t=28972

Download link:

https://www.mediafire.com/file/vlabw1m46o6qc1m/Restore_SRC_attribute_of_IMG_TAGs_before_saving_the_page__Version_III.zip/file

User avatar
tellu-white
Moon lover
Moon lover
Posts: 83
Joined: 2022-03-08, 22:02

Re: MozArchiver does not save some images?

Unread post by tellu-white » 2022-10-14, 21:58

A new version of the Restore "src" attribute of "img" TAGs add-on ( Version IV ) with bugfix.

Download link:

https://www.mediafire.com/file/qz649j5vdxd9jkj/Restore_SRC_attribute_of_IMG_TAGs_before_saving_the_page__Version_IV.zip/file

User avatar
MilkChan
Newbie
Newbie
Posts: 4
Joined: 2022-10-13, 16:11
Location: Tron Thailand

Re: MozArchiver does not save some images?

Unread post by MilkChan » 2022-10-15, 00:31

Thank you for solving your problem.

User avatar
tellu-white
Moon lover
Moon lover
Posts: 83
Joined: 2022-03-08, 22:02

Re: MozArchiver does not save some images?

Unread post by tellu-white » 2022-10-15, 23:24

An improved version of the Restore "src" attribute of "img" TAGs add-on ( Version V ).

Download link:

https://www.mediafire.com/file/mxb688ie2t5jbyy/Restore_SRC_attribute_of_IMG_TAGs_before_saving_the_page__Version_V.zip/file

User avatar
tellu-white
Moon lover
Moon lover
Posts: 83
Joined: 2022-03-08, 22:02

Re: MozArchiver does not save some images?

Unread post by tellu-white » 2022-10-20, 20:58

An improved and optimized version of Restore "src" attribute of "img" TAGs add-on ( Version VI ), with some bugfix.

Download link:

https://www.mediafire.com/file/pzvvu1c4v9mxklw/Restore_SRC_attribute_of_IMG_TAGs_before_saving_the_page__Version_VI.zip/file

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35473
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: MozArchiver does not save some images?

Unread post by Moonchild » 2022-10-22, 09:31

You could make a releases thread for this add-on... and also why aren't you using the add-ons site? I'm running it for a reason ;P people would get updates automatically that way.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
tellu-white
Moon lover
Moon lover
Posts: 83
Joined: 2022-03-08, 22:02

Re: MozArchiver does not save some images?

Unread post by tellu-white » 2022-10-22, 13:09

Moonchild wrote:
2022-10-22, 09:31
why aren't you using the add-ons site? I'm running it for a reason ;P people would get updates automatically that way
As I said in my first post to this thread:
tellu-white wrote:
2022-10-02, 15:27
this add-on can be improved (is not perfect)
Also, programming add-ons is a hobby for me, as I said in this post:

viewtopic.php?f=3&t=28384#p228275

These are the reasons why I don't think it is a good idea to use "the add-ons site". However, if this add-on is useful to solve some users' problems ("MozArchiver does not save some images"), I'm happy to contribute to solve them.
Moonchild wrote:
2022-10-22, 09:31
You could make a releases thread for this add-on
I don't know exactly what a "releases thread" is. I would appreciate it if you would detail what this means.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4942
Joined: 2015-12-09, 15:45
Contact:

Re: MozArchiver does not save some images?

Unread post by moonbat » 2022-10-22, 21:35

tellu-white wrote:
2022-10-22, 13:09
I don't know exactly what a "releases thread" is.
Just start a new thread in this subforum for your addon and update it each time you make a new release. You'll find several other addon authors, myself included, have done the same here.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35473
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: MozArchiver does not save some images?

Unread post by Moonchild » 2022-10-22, 23:02

tellu-white wrote:
2022-10-22, 13:09
add-on can be improved (is not perfect)
tellu-white wrote:
2022-10-22, 13:09
Also, programming add-ons is a hobby for me
Maybe you don't realise this but most add-on programmers do this as a hobby or just to tinker, and many aren't programmers by profession and learn as they go. There's no "quality requirement" for using the add-ons site aside from making sure it's reasonably functional, doesn't have browser-breaking bugs and is generally safe to use (as in not malware). I'm pretty certain you check all those boxes :)
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4942
Joined: 2015-12-09, 15:45
Contact:

Re: MozArchiver does not save some images?

Unread post by moonbat » 2022-10-23, 01:00

The other thing is that Pale Moon is an extremely stable platform where addon development goes, unlike Chrome/Firefox where they keep introducing breaking changes every fortnight. So once you make your addon, it is up to you if you want to update it with more features. To date I can recall exactly one instance where old addons broke - when a non standard Javascript API was removed.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
tellu-white
Moon lover
Moon lover
Posts: 83
Joined: 2022-03-08, 22:02

Re: MozArchiver does not save some images?

Unread post by tellu-white » 2022-10-23, 11:11

@Moonchild, @moonbat

Thank you for your answers and explanations.

ltcomdata
Apollo supporter
Apollo supporter
Posts: 43
Joined: 2015-06-28, 03:49
Location: WI

Re: MozArchiver does not save some images?

Unread post by ltcomdata » 2022-11-04, 21:53

I want to enthusiastically thank @tellu-white for all his work.
I also agree that his add-on in invaluable and extremely useful.
I very much second the idea of adding it as an official add-on, but the decision should be his, of course.
Alternatively, a dedicated thread in the forum would be extremely helpful to the users of Pale Moon.

Thank you so much @tellu-white!

User avatar
tellu-white
Moon lover
Moon lover
Posts: 83
Joined: 2022-03-08, 22:02

Re: MozArchiver does not save some images?

Unread post by tellu-white » 2022-11-08, 01:51

ltcomdata wrote:
2022-11-04, 21:53
his add-on in invaluable and extremely useful
Thank you for your appreciation and I'm glad my add-on was useful to you.
ltcomdata wrote:
2022-11-04, 21:53
a dedicated thread in the forum would be extremely helpful to the users of Pale Moon
After this feed back from you, I decided to open a topic with this add-on, here:

https://forum.palemoon.org/viewtopic.php?f=46&t=29050

On this occasion I posted a new version ( version VII ) that tries to solve some problems related to images placed in "amp-img" TAGs as well as those that have URLs only in "noscript" TAGs.

Locked