Palemoon History Retention?

General project discussion.
Use this as a last resort if your topic does not fit in any of the other boards but it still on-topic.
Forum rules
This General Discussion board is meant for topics that are still relevant to Pale Moon, web browsers, browser tech, UXP applications, and related, but don't have a more fitting board available.

Please stick to the relevance of this forum here, which focuses on everything around the Pale Moon project and its user community. "Random" subjects don't belong here, and should be posted in the Off-Topic board.
User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5447
Joined: 2015-12-09, 15:45
Contact:

Re: Palemoon History Retention?

Unread post by moonbat » 2025-01-25, 00:46

Kruppt wrote:
2025-01-24, 22:20
I had to edit the install.rdf file at this section
You don't have to do that. The extension works fine as it doesn't enforce strict compatibility, which would prevent it being installed on a version different than the ones specified.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
Kruppt
Moonbather
Moonbather
Posts: 57
Joined: 2018-07-23, 22:32

Re: Palemoon History Retention?

Unread post by Kruppt » 2025-01-25, 01:12

moonbat wrote:
2025-01-25, 00:46
Kruppt wrote:
2025-01-24, 22:20
I had to edit the install.rdf file at this section
You don't have to do that. The extension works fine as it doesn't enforce strict compatibility, which would prevent it being installed on a version different than the ones specified.
Ok .. I remember having done that to all my extensions sometime back, as I recall there was a need
to do it when there was a particular Pale Moon version upgrade some years back and many of the extensions would not
work at that time unless you modified the install.rdf for version number and the ID. Some were missing the
pale moon section and it had to be added for them to work, so I assumed that needed to be done in this case.

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

Re: Palemoon History Retention?

Unread post by moonbat » 2025-01-25, 01:30

That was when Firefox compatibility was removed(since then reinstated), so you would have to explicitly add the Pale Moon section with its own identifier. It didn't concern updating versions.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
Kruppt
Moonbather
Moonbather
Posts: 57
Joined: 2018-07-23, 22:32

Re: Palemoon History Retention?

Unread post by Kruppt » 2025-01-25, 02:01

moonbat wrote:
2025-01-25, 01:30
That was when Firefox compatibility was removed(since then reinstated), so you would have to explicitly add the Pale Moon section with its own identifier. It didn't concern updating versions.
I remember that now, that was reversed after Tobin left the project, had forgotten that.

User avatar
andyprough
Keeps coming back
Keeps coming back
Posts: 996
Joined: 2020-05-31, 04:33

Re: Palemoon History Retention?

Unread post by andyprough » 2025-01-25, 04:22

Kruppt wrote:
2025-01-24, 22:20
Been running the last version from here:
https://github.com/danny0838/firefox-scrapbook
It is version 1.14.7.
I have not run the version that is in the Pale Moon Addons
How interesting! I wonder if that version could be referenced on the Pale Moon add-on page?

Maybe we could use some system on these add-on pages to allow users to post links when a developer on another site is working on newer versions? Seems like we have a few addons like this where the newer version is being developed elsewhere.

User avatar
suzyne
Astronaut
Astronaut
Posts: 656
Joined: 2023-06-28, 22:43
Location: Australia

Re: Palemoon History Retention?

Unread post by suzyne » 2025-01-26, 03:23

The Scrapbook X add-on is very useful. Right now, I am only using the one from the Pale Moon page, but from what I understand from the GitHub page about the ScrapBook X 1.14.7 version, the main difference in it is that video and audio is handled, which I don't think I want?

My only aversion is that I am wary of features that tend to "lock me into" one browser or another (which is partially why I think cloud stuff is so good). Even so, I can see myself using it a lot!
Laptop 1: Windows 10 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.
Laptop 3: Linux Mint 20.3 64-bit, i5 @ 2.5GHz, 8GB, Intel HD Graphics 620.

User avatar
Nuck-TH
Project Contributor
Project Contributor
Posts: 282
Joined: 2020-03-02, 16:04

Re: Palemoon History Retention?

Unread post by Nuck-TH » 2025-01-26, 07:11

suzyne wrote:
2025-01-26, 03:23
The Scrapbook X add-on is very useful. Right now, I am only using the one from the Pale Moon page, but from what I understand from the GitHub page about the ScrapBook X 1.14.7 version, the main difference in it is that video and audio is handled, which I don't think I want?

My only aversion is that I am wary of features that tend to "lock me into" one browser or another (which is partially why I think cloud stuff is so good). Even so, I can see myself using it a lot!
You can view saved pages in any other browser, by opening [PM profile]/ScrapBook/[id]/index.html
While this extension is useful, my main issue with it is that it lacks content deduplication, so saving pages from same site uses significant unnecessary space.

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2649
Joined: 2012-08-19, 20:32

Re: Palemoon History Retention?

Unread post by back2themoon » 2025-01-26, 11:45

I've thought about how to save pages, when needed. Unfortunately, I concluded that for me it was preferable to use a current tool. We are well aware of how the Web keeps changing, so I assume these tools need to be current, too.

Haven't really used ScrapBook (maybe years back), always preferred the .maff format with MozArchiver which mostly still works just fine and saves some space. Both of these though are old, and .maff cannot be directly opened in other browsers being an abandoned format.

So, I ended up relying on the reputable SingleFile WebExtension which is updated, fully configurable and creates a single .html file - the most compatible of all.

User avatar
suzyne
Astronaut
Astronaut
Posts: 656
Joined: 2023-06-28, 22:43
Location: Australia

Re: Palemoon History Retention?

Unread post by suzyne » 2025-01-26, 23:23

back2themoon wrote:
2025-01-26, 11:45
So, I ended up relying on the reputable SingleFile WebExtension which is updated, fully configurable and creates a single .html file - the most compatible of all.
Saving a web page as a single html file is a clever idea, and so I decided to try it out. After going around in circles on several GitHub pages and only partially understanding a lot of the details, I found that the minimum I need to know for using single-file on Windows is :

1. Have Chrome installed in its default folder.
2. Download the file single-file.exe from here https://github.com/gildas-lormeau/single-file-cli/releases/tag/v2.0.73
3. From a command prompt, run:

single-file "https://the-url-of-the-web-page" save-to-this-file.html

And it worked! (I found the quotes are important for complex urls with extra items after the ?)

I don't know if I am missing something, but as far as I can tell, single-file can't be added or run directly from Pale Moon?
Laptop 1: Windows 10 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.
Laptop 3: Linux Mint 20.3 64-bit, i5 @ 2.5GHz, 8GB, Intel HD Graphics 620.

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2649
Joined: 2012-08-19, 20:32

Re: Palemoon History Retention?

Unread post by back2themoon » 2025-01-26, 23:48

suzyne wrote:
2025-01-26, 23:23
I don't know if I am missing something, but as far as I can tell, single-file can't be added or run directly from Pale Moon?
This is correct, it's a WebExtension meant for Chrome, Firefox etc.

You went straight for CLI usage! Never used it that way, I've just installed the extension on Firefox and Edge and use it from there when needed.

Added bonus: when in a browser, you can 'Zap' unwanted elements with uBO from the page to be saved, and then save it in a cleaner state (without big banners, social media buttons, related articles sections, personal info etc.). It only takes a mouse-click on SingeFile's icon to save the page. CLI usage seems overkill for this, and less configurable even if undeniably cool.

I'd suggest to enable the option: "Infobar/include the infobar in the saved page". This infobar displays the original link (which can be visited). This option is not needed for browsers that have SF installed, but it's needed if you want to open the saved .html files in Pale Moon and still see the Infobar.

User avatar
andyprough
Keeps coming back
Keeps coming back
Posts: 996
Joined: 2020-05-31, 04:33

Re: Palemoon History Retention?

Unread post by andyprough » 2025-01-27, 04:46

back2themoon wrote:
2025-01-26, 23:48
This is correct, it's a WebExtension meant for Chrome, Firefox etc.
Doesn't sound really very Pale Moon-ish. :coffee:


User avatar
andyprough
Keeps coming back
Keeps coming back
Posts: 996
Joined: 2020-05-31, 04:33

Re: Palemoon History Retention?

Unread post by andyprough » 2025-01-27, 13:38

back2themoon wrote:
2025-01-27, 08:42
Take a moment to review the context.
Have you tried monolith?

Seems pretty good if the page is not dynamically loading js. I wonder if Pale Moon could be called in a similar way as chromium in order to pre-process the js:

Code: Select all

chromium --headless --window-size=1920,1080 --run-all-compositor-stages-before-draw --virtual-time-budget=9000 --incognito --dump-dom https://github.com | monolith - -I -b https://github.com -o github.html
I don't know all the command line options for Pale Moon, there must be a lot of them I would imagine.

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2649
Joined: 2012-08-19, 20:32

Re: Palemoon History Retention?

Unread post by back2themoon » 2025-01-27, 15:00

That's a good alternative to have, thanks. Haven't tried it.

I'd still prefer to see the website before saving it (and optionally "tweak" it with uBO) , so... I'm sticking with the SingleFile extension. For now.

User avatar
gepus
Keeps coming back
Keeps coming back
Posts: 991
Joined: 2017-12-14, 12:59

Re: Palemoon History Retention?

Unread post by gepus » 2025-01-27, 16:32

Off-topic:
back2themoon wrote:
2025-01-26, 23:48
Added bonus: when in a browser, you can 'Zap' unwanted elements with uBO from the page to be saved, and then save it in a cleaner state (without big banners, social media buttons, related articles sections, personal info etc.).
Absolutely no need to meddle with uBO therefore. The WebExtension offers already the adequate option for doing the above.

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2649
Joined: 2012-08-19, 20:32

Re: Palemoon History Retention?

Unread post by back2themoon » 2025-01-27, 16:48

Off-topic:
You are right, thanks. I never checked that section because "Annotate" does not really imply it, but it does offer the additional ability to remove elements. Should've carefully read the full documentation. :geek:

Enobarbous
Moon lover
Moon lover
Posts: 83
Joined: 2022-12-06, 17:44

Re: Palemoon History Retention?

Unread post by Enobarbous » 2025-02-03, 00:17

So, I ended up relying on the reputable SingleFile WebExtension which is updated, fully configurable and creates a single .html file - the most compatible of all.
i's a WebExtension meant for Chrome, Firefox etc.
Doesn't sound really very Pale Moon-ish
Well, within "The Pale Moon Way", there is still Custom Button and "Save snapshot to html". Less functional than SingleFile, but overall...
I am sorry for the use of auto-translator to post

User avatar
suzyne
Astronaut
Astronaut
Posts: 656
Joined: 2023-06-28, 22:43
Location: Australia

Re: Palemoon History Retention?

Unread post by suzyne » 2025-02-03, 00:54

This is probably just dreaming (or maybe there is already an add-on that can do it?) but what would be very nice is if Pale Moon had something like "Open With..." but which can include the URL and the Title (with spaces and punctuation removed, or replaced with a hyphen!) and tell that to the command line version of SingleFile, so the single HTML file would be created from a pop-up menu or similar.

"Open With..." must already be communicating the current web page URL, but if somehow the Title could be sent as well, something like that would open up lots of possibilities!
Laptop 1: Windows 10 64-bit, i7 @ 2.80GHz, 16GB, NVIDIA GeForce MX450.
Laptop 2: Windows 10 32-bit, Atom Z3735F @ 1.33GHz, 2GB, Intel HD Graphics.
Laptop 3: Linux Mint 20.3 64-bit, i5 @ 2.5GHz, 8GB, Intel HD Graphics 620.

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2649
Joined: 2012-08-19, 20:32

Re: Palemoon History Retention?

Unread post by back2themoon » 2025-02-03, 10:16

That's a clever idea. In theory, it should work. With Open With 6.8.6, you can add single-file.exe to your "browsers". You can even pass arguments. SingleFile CLI itself is extremely configurable so hopefully it's just a matter of finding out the correct parameters.

User avatar
Bilbo47
Lunatic
Lunatic
Posts: 296
Joined: 2017-11-18, 04:24

Re: Palemoon History Retention?

Unread post by Bilbo47 » 2025-02-05, 21:30

back2themoon wrote:
2025-02-03, 10:16
In Open With 6.8.6, you can add single-file.exe to your "browsers" [with] arguments. SingleFile CLI is configurable so it's a matter of finding out the correct parameters.
A tool to assist with this is https://github.com/Bill-Stewart/getargs This repo has source code and compiled releases, for both GUI- and console-mode operation.

Post Reply