This is the current user agent string of the snap:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) snap Chromium/78.0.3904.97 Chrome/78.0.3904.97 Safari/537.36
This is the user agent string for the deb package:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/78.0.3904.97 Chrome/78.0.3904.97 Safari/537.36
I can confirm that
web.whatsapp.com works if I change
Ubuntu in the user agent.
Is it possible to reconsider having a separate browser string for the snap? Given that a website as popular as
web.whatsapp.com doesn’t work, it probably won’t be the only one. I’ve had to contact so many websites because they incorrectly blocked Linux and Chromebooks, I’d hate to have to do this again for the snap now.
Moreover, having a distinction between the snap and deb user agent increases the browser fingerprint, making it easier for websites to track us without our permission.
Given that the Chromium snap is strictly confined, chromium is in fact running in Ubuntu as far as Chromium is concerned.
Ubuntu used to include the version number in the UA, but this hasn’t been the case for a while now. I suspect that was removed for similar reasons.