mojira.dev

Erdrick Loto

Assigned

No issues.

Reported

No issues.

Comments

The problem has to do with the page not liking the default useragent string provided by firefox on fedora.

Specifically trying to load the page with the useragent string set to something like this:

Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0

results in a javascript error: "n is undefined" in this script:

https://my.minecraft.net/static/site/minecraft/js/site.52d01610eb0b.js

My guess is this assignment fails: n=a[o.default.downloadPlatform]

due to the page utilizing useragent string to compute downloadPlatform and not having an entry for in the array.

 

Note the page seems to load correctly if you change the useragent string to not reference Fedora (using general.useragent.override about:config variable in firefox):

Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0

to

Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0

will work.

In fact it seems anything other than Fedora will allow the page to load:

Mozilla/5.0 (X11; TACOS; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0

works as well.