shopify store does not load on linux OS but works fine on mac / windows

Hey I have noticed a OS related bug on number of Linux machines, i.e. when i load some Shopify stores on them they do not work. some don’t load some scripts and some don’t load even basic animations making the site unusable on Linux OS I’ve tried this on chrome as well as Firefox browsers.

but when i load the same sites on a mac or windows machine it works fine
for e.g.

https://fancypantsthestore.com

these stores

i’ve seen this on almost all Linux machines that i have test with

Pop!_OS 22.04 LTS
alpine3.16

1 Like

Technically, Android is a Linux too, but it works fine there.

What about the browsers you use on your Linux images – are they current?

yes i’m using chrome 124 version so pretty recent version, also tried on the latest chrome version

I encountered the same issue a couple of days ago. It turns out that the app called ‘Flash: Page Speed Optimization’ was causing the problem by blocking certain services on Linux OS.

Ah, that’s probably they are trying to cheat Google PageSpeed and condition is too broad?

I’ve seen this as well (in my case on https://www.lightmybricks.com). I was able to get around it by using Firefox’s User-Agent Switcher extension to spoof Firefox on Windows, and the site began operating exactly as expected. So this seems to be a problem with something shopify is serving to linux based on user-agent specifically, that isn’t necessary and is breaking site functionality.

My user-agent that caused the site to break is

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

and the user-agent that fixed it is

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0

Nothing else about my setup changed.