Recent problems viewing extensions' source code on AMO Topic is solved

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

Moderators: FranklinDM, Lootyhoof

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

Recent problems viewing extensions' source code on AMO

Unread post by coffeebreak » 2017-04-25, 00:41

If this isn't the appropriate board for this question, please feel free to move it.

For the past month or so, I have not been able to view any extension's source code on AMO.

It makes no difference which browser is used, or if cookies/blockers are on or off. I don't log in to a Firefox account (don't have one), but this information has not been behind a login in the past.

Clicking "View the source" for any extension that offers that link produces a page with:
"Oops! Not allowed.
You tried to do something that you weren't allowed to."


(Example, from NoScript 5.0.3:
https://addons.mozilla.org/en-US/firefox/files/browse/634830/)
amo-viewSource.png
Does anyone else see this? Or know the reasons for it?

New Tobin Paradigm

Re: Recent problems viewing extensions' source code on AMO

Unread post by New Tobin Paradigm » 2017-04-25, 02:37

The author has decided not to allow it.. These are all options on AMO.

JustOff

Re: Recent problems viewing extensions' source code on AMO

Unread post by JustOff » 2017-04-25, 09:01

coffeebreak wrote:Clicking "View the source" for any extension that offers that link produces a page with:
"Oops! Not allowed.
You tried to do something that you weren't allowed to."
Mozilla just disabled source code viewer for performance reasons.

New Tobin Paradigm

Re: Recent problems viewing extensions' source code on AMO

Unread post by New Tobin Paradigm » 2017-04-25, 09:37

They may never bring it back according to the mailing list post... But I see.. Yeah, I dunno.. What is so hard about downloading it and cracking open the XPI your self.. Also, performance issues.. Also, functionality issues.. It was damned poorly implemented. I doubt we will see it return.

ALSO, before asking about this for Phoebus.. The answer is no. Anyone interested can simply crack open the XPI file or explore the repository that any add-on developer can add to the manifest metadata. If they don't have a Repository link then ask them to add one.

JustOff

Re: Recent problems viewing extensions' source code on AMO

Unread post by JustOff » 2017-04-25, 10:00

There is superb add-on that implements source code viewer for AMO and Chrome store: CRX Viewer. Unfortunately it's WebExtension only, but online version also exists.

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

Re: Recent problems viewing extensions' source code on AMO

Unread post by coffeebreak » 2017-04-25, 10:32


Thank you, that answers it.
I had been speculating, unhappily, about what the disablement might mean, and this information brought me back to earth, so thanks for that too. :)

Locked