When I want to install a Linux specific addon, AMO tells me I do not have a Linux OS.... Example
https://addons.mozilla.org/de/firefox/a ... /versions/
after manual download the addon works perfectly.
Pale Moon on Linux not Pale Moon on Linux for AMO
Moderator: trava90
Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
-
- Pale Moon guru
- Posts: 35647
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Pale Moon on Linux not Pale Moon on Linux for AMO
Since AMO requires a specific override, the OS passed in that override will be fixed.
To work around this, change the about:config preference general.useragent.override.addons.mozilla.org to something more applicable to your OS.
e.g.
There is currently no automated way built in for this for Linux-specific addons through AMO (thanks to their UA sniffing and refusing service accordingly).
The UA override for AMO is something for the Linux maintainer to change in the branding prefs when building.
To work around this, change the about:config preference general.useragent.override.addons.mozilla.org to something more applicable to your OS.
e.g.
Code: Select all
Mozilla/5.0 (Linux; X11; rv:24.9) Gecko/20100101 Firefox/24.9 PaleMoon/24.9
The UA override for AMO is something for the Linux maintainer to change in the branding prefs when building.
"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
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Pale Moon on Linux not Pale Moon on Linux for AMO
Okay, so these overwrite the general user agent... didn't think about that. But, yes, the default value should be changed during build time.
Thanks.
Thanks.
Re: Pale Moon on Linux not Pale Moon on Linux for AMO
This could also be added in the following manner:
browser/app/profile/firefox.js:
browser/app/profile/firefox.js:
Code: Select all
#ifdef XP_LINUX
pref("general.useragent.override.addons.mozilla.org","Mozilla/5.0 (Linux; X11; rv:24.9) Gecko/20100101 Firefox/24.9 PaleMoon/24.9");
#elif XP_WIN
pref("general.useragent.override.addons.mozilla.org","Mozilla/5.0 (Windows NT 6.3; rv:24.9) Gecko/20100101 Firefox/24.9 PaleMoon/24.9");
#elif XP_MACOSX
// [...]
#endif
Re: Pale Moon on Linux not Pale Moon on Linux for AMO
That is a solution. a2g.. why not create a patch and do a pull request.access2godzilla wrote:This could also be added in the following manner:
browser/app/profile/firefox.js:Code: Select all
#ifdef XP_LINUX pref("general.useragent.override.addons.mozilla.org","Mozilla/5.0 (Linux; X11; rv:24.9) Gecko/20100101 Firefox/24.9 PaleMoon/24.9"); #elif XP_WIN pref("general.useragent.override.addons.mozilla.org","Mozilla/5.0 (Windows NT 6.3; rv:24.9) Gecko/20100101 Firefox/24.9 PaleMoon/24.9"); #elif XP_MACOSX // [...] #endif