uBlockO. PM blocks XPI download Topic is solved

General discussion, compatibility and contributed extensions.

Moderators: satrow, Lootyhoof, FranklinDM

User avatar
bawldiggle
Lunatic
Lunatic
Posts: 405
Joined: 2013-02-22, 21:16
Location: Australia

uBlockO. PM blocks XPI download

Unread post by bawldiggle » 2017-11-05, 07:46

uBlock Origin
PM listed compatible extension on https://addons.palemoon.org/extensions/
- subtitled as [External]
... download link goes to Github gorhill / uBlock - Release 1.14.16

PM will not let me download the "uBlock0.firefox.xpi" ... there is no PM version listed
Download denied.png
The most recent AMO release is v1.14.16 (22-Oct-2017) ... incompatible with PM 27.5.1 (32-bit)
Last PM compatible is AMO legacy v1.13.8 (18-Jul-2017)

:?: Have I missed special download/install tricks for uBlockO :?:

I am aware of uBlock Origin Updater by JustOff ... last post was 13-Oct-2017 ... 4 weeks ago

Thank you :)
------------
Pale Moon v27.5.1 (32-bit)
The only thing that keeps this Pale Moon Project afloat is $$$$$$ ... spelt "m-o-n-e-y" everything else is just talk
Donate to the Pale Moon project here

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1307
Joined: 2015-07-23, 16:09
Location: Norway

Re: uBlockO. PM blocks XPI download

Unread post by Tomaso » 2017-11-05, 08:55

'Tools' (or 'Pale Moon' button) > 'Permissions' > 'Install Extensions or Themes' > "Allow"
Last edited by Tomaso on 2017-11-05, 10:41, edited 1 time in total.

coffeebreak
Board Warrior
Board Warrior
Posts: 1913
Joined: 2015-09-26, 04:51
Location: U.S.

Re: uBlockO. PM blocks XPI download

Unread post by coffeebreak » 2017-11-05, 09:45

Another way to get there is:
Options -> Security tab -> Add-ons
Uncheck the box next to "Warn me when sites try to install add-ons"

Or else you could keep that permission as you had it, but set an exception for github.com.
Uncheck this.
Options-xpinstall.png
Or set exception.
Options-xpinstall2.png
It's also possible to set a specific exception for github either by using the permissions manager (shown above by Tomaso), or by using the Page Info dialog - while you are on any github page.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 24822
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: uBlockO. PM blocks XPI download

Unread post by Moonchild » 2017-11-05, 09:46

Tomaso wrote:'Tools' > 'Permissions' > 'Install Extensions or Themes' > "Allow"
That doesn't really help because it's not even clear what you mean ;)

Github is not on the default list of where extensions "usually" come from, so it will ask extra permission if that is really what you wanted to do. This is not new behavior, and I also would not set github.com as a default "OK" site because any unchecked extension can be on there, including malware.

Just allow it on a per-case basis.
"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

dark_moon

Re: uBlockO. PM blocks XPI download

Unread post by dark_moon » 2017-11-05, 09:48

Dont so fast. You are confused.

First, you can just install uBlock0.firefox.xpi from Github.
Second uBlock Origin Updater by JustOff dont need for every uBlock or uMatrix release a new update. The updater works fine and update to every new stable release
Third, why dont just press the allow button on github? This is a normal popup and no new stuff.
Fourthly you should know that AMO doesnt works fine with Pale Moon. Of course it provide you old versions.

Also uBlock Origin 1.14.16 works fine in Pale Moon

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1307
Joined: 2015-07-23, 16:09
Location: Norway

Re: uBlockO. PM blocks XPI download

Unread post by Tomaso » 2017-11-05, 10:45

Moonchild wrote:That doesn't really help because it's not even clear what you mean
Sorry, I tend to forget that some people actually don't use the Menu Bar.
I've edited the post to correct it.

--
Moonchild wrote:Github is not on the default list of where extensions "usually" come from, so it will ask extra permission if that is really what you wanted to do.
Pale Moon's default setting is actually set to "Allow", so OP must have changed it at some point.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 24822
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: uBlockO. PM blocks XPI download

Unread post by Moonchild » 2017-11-05, 11:44

No, the default is to check if the XPI is being installed from a known/common extension source -- if not, then it will show the doorhanger as seen in the screenshot. This is separate from the overall allowing or blocking of installation of extensions.
"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1307
Joined: 2015-07-23, 16:09
Location: Norway

Re: uBlockO. PM blocks XPI download

Unread post by Tomaso » 2017-11-05, 11:52

Moonchild wrote:the default is to check if the XPI is being installed from a known/common extension source -- if not, then it will show the doorhanger as seen in the screenshot.
No, I just checked with a freshly extracted Pale Moon Portable v27.5.1,x64..
Its default setting is to "Allow", and that extra permission dialog does NOT appear at GitHub!

coffeebreak
Board Warrior
Board Warrior
Posts: 1913
Joined: 2015-09-26, 04:51
Location: U.S.

Re: uBlockO. PM blocks XPI download

Unread post by coffeebreak » 2017-11-05, 12:18

Tomaso is correct.
The default is xpinstall.whitelist.required = false

With that setting, whatever might be happening (or not happening) under the hood, every site behaves exactly the same as the three "officially trusted" sites, from the user's perspective. The extra permission dialog appears nowhere.

If the user changes the setting to require a whitelist, a second setting kicks in to activate the offically trusted sites in the whitelist:
xpinstall.whitelist.add = addons.mozilla.org,www.palemoon.org,addons.palemoon.org
Then you get the depicted doorhanger everywhere, barring the exceptions. But this requires the initial user action of changing the first preference.

xpinstall default preferences.
xpinstall-defaults.png

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 24822
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: uBlockO. PM blocks XPI download

Unread post by Moonchild » 2017-11-05, 14:01

You're correct. I apologize. This used to be enabled by default but it was flipped a while back to the "off" state by default.
"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

User avatar
gracious1
Keeps coming back
Keeps coming back
Posts: 876
Joined: 2016-05-15, 05:00
Location: humid upstate NY

Re: uBlockO. PM blocks XPI download

Unread post by gracious1 » 2017-11-06, 05:04

Ok. Then maybe I found a bug in Linux?
I did Edit -> Preferences -> Security (tab), and then selected on "Warn me when sites try to install add-ons". I also clicked on the Exceptions button just to verify the whitelist.
Image
Image
But the settings didn't change the same way they did in coffeebreak's post:
Image
The value of xpinstall.whitelist.add changed to true, but the value of xpinstall.whitelist.add does not containe the whitelist; the string is empty.
20 July 1969 🌗 50th Anniversary of Apollo 11 🌓 "One small step for [a] man, one giant leap for mankind." 🚀

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 24822
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: uBlockO. PM blocks XPI download

Unread post by Moonchild » 2017-11-06, 05:41

That's by design. The preference (also consider the name) is used to add additional hosts to the internally-maintained list. It's not used for anything else, and will be cleared once the hosts are added.
"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

User avatar
bawldiggle
Lunatic
Lunatic
Posts: 405
Joined: 2013-02-22, 21:16
Location: Australia

Re: uBlockO. PM blocks XPI download

Unread post by bawldiggle » 2017-11-06, 13:07

'dark_moon wrote:First, you can just install uBlock0.firefox.xpi from Github.
I could not download NOR install the XPI from the Github page until ...

... after reading all posts I opted for a one-off option, just for the uBlock Github download
ie, MenuBar -> Tools -> Permissions -> Install Extensions or Themes:= ALLOW
as soon as the Github offering was downloaded ... Install Extensions or Themes:= BLOCK

As an experiment using Fox portable v2.0.5.0, downloaded AMO version v1.14.16

downloads compared

Code: Select all

	
AMO	https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
		ublock_origin-1.14.16-an+fx.xpi
		SHA256:  195336b7edffa4ccd37dacf58791638294522ef817161abad8e6717d024db984   (1,919,832  bytes)

Github:   https://github.com/gorhill/uBlock/releases/tag/1.14.16
		uBlock0.firefox.xpi
		SHA256:  e9fb28bb643556c920309d2170dbed87e0ec8921bf8cc9c5d9223fcc2556da90   (1,797,889 bytes)
:?: Is the difference AMO Web-extension :?:

Thank you all for your support and valuable lessons :)
------------
Pale Moon v27.5.1 (32-bit)
The only thing that keeps this Pale Moon Project afloat is $$$$$$ ... spelt "m-o-n-e-y" everything else is just talk
Donate to the Pale Moon project here

User avatar
gracious1
Keeps coming back
Keeps coming back
Posts: 876
Joined: 2016-05-15, 05:00
Location: humid upstate NY

Re: uBlockO. PM blocks XPI download

Unread post by gracious1 » 2017-11-06, 21:01

bawldiggle wrote: I could not download NOR install the XPI from the Github page until ...
Out of curiosity, if you follow the directions in this tutorial, are you able to successfully install?
(It is important which file the directions tell you to install.)
20 July 1969 🌗 50th Anniversary of Apollo 11 🌓 "One small step for [a] man, one giant leap for mankind." 🚀

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 24822
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: uBlockO. PM blocks XPI download

Unread post by Moonchild » 2017-11-06, 21:17

bawldiggle: keep in mind that Mozilla always mangles the extensions with their walled-garden signing on the server. So it's expected that anything on AMO has a different checksum and is larger than the original. It's also been one of the main reasons pale Moon Commander was withdrawn from AMO when they started doing that.
"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

Locked