WebInstall Ninja - Save a copy of XPI packages when installing from the Web

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

Moderators: FranklinDM, Lootyhoof

JustOff

WebInstall Ninja - Save a copy of XPI packages when installing from the Web

Post by JustOff » 2020-09-09, 17:43

Let me introduce WebInstall Ninja, an add-on to save a copy of XPI packages when installing from the Web.

It was created with respect to the enhanced security measures recently implemented on the Pale Moon Add-ons Site, i.e. does not allow saving files that fail the hash check (if it's provided), and also does not impose additional load on the servers, since it operates only with local data already downloaded by the native Add-ons Manager.

Questions, suggestions and bug reports are welcome.

coffeebreak
Moon Magic practitioner
Moon Magic practitioner
Posts: 2985
Joined: 2015-09-26, 04:51
Location: U.S.

Re: WebInstall Ninja - Save a copy of XPI packages when installing from the Web

Post by coffeebreak » 2020-09-09, 20:10

Awsome. Thank you!

coffeebreak
Moon Magic practitioner
Moon Magic practitioner
Posts: 2985
Joined: 2015-09-26, 04:51
Location: U.S.

Re: WebInstall Ninja - Save a copy of XPI packages when installing from the Web

Post by coffeebreak » 2020-09-09, 21:10

JustOff wrote:
2020-09-09, 17:43
suggestions
Would you consider making it available to Basilisk?

User avatar
athenian200
Contributing developer
Contributing developer
Posts: 1626
Joined: 2018-10-28, 19:56
Location: Georgia

Re: WebInstall Ninja - Save a copy of XPI packages when installing from the Web

Post by athenian200 » 2020-09-09, 21:48

This is certainly an interesting idea. I tested it and it seems to do exactly what it says on the tin. It seems to work within all the existing constraints in a way that meets everyone's demands. I was actually thinking more along the lines of a preference that allows newly installed extensions to be disabled by default so people have time to review them in case they're anxious, but this seems to handle every possible use case for saving a .XPI file in a fairly straightforward manner.

I'm honestly just surprised that there was enough demand for this that extensions were actually created over it. Necessity is the mother of invention, I suppose. :lol:
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." -- Hegel's philosophy of Mind

New Tobin Paradigm

Re: WebInstall Ninja - Save a copy of XPI packages when installing from the Web

Post by New Tobin Paradigm » 2020-09-09, 22:33

I am ok with this.

User avatar
Konrad
Fanatic
Fanatic
Posts: 142
Joined: 2018-11-17, 18:19

Re: WebInstall Ninja - Save a copy of XPI packages when installing from the Web

Post by Konrad » 2020-09-09, 23:01

It’s a cracking add-on!
Thanks a million, JustOff!

JustOff

Re: WebInstall Ninja - Save a copy of XPI packages when installing from the Web

Post by JustOff » 2020-09-10, 15:32

coffeebreak wrote:
2020-09-09, 21:10
Would you consider making it available to Basilisk?
Sorry, but I would rather not. This add-on interacts very closely with the browser internals, while Basilisk shares its GUID with several other browsers, and it will take too much effort to ensure the add-on interacts correctly with each one. You can try making the necessary changes to install.rdf yourself, but I can't guarantee this will work with future versions.

coffeebreak
Moon Magic practitioner
Moon Magic practitioner
Posts: 2985
Joined: 2015-09-26, 04:51
Location: U.S.

Re: WebInstall Ninja - Save a copy of XPI packages when installing from the Web

Post by coffeebreak » 2020-09-10, 17:49

JustOff wrote:
2020-09-10, 15:32
This add-on interacts very closely with the browser internals, while Basilisk shares its GUID with several other browsers, and it will take too much effort to ensure the add-on interacts correctly with each one.
Ah, that makes sense. I hadn't realized (or thought about) that more was involved than editing install.rdf.

Again, thank you for such a thoughtful solution to this situation.