ROpdebee / mb-userscripts

Collection of userscripts for MusicBrainz
MIT License
119 stars 9 forks source link

Provider failures on mobile #655

Open ROpdebee opened 1 year ago

ROpdebee commented 1 year ago

https://community.metabrainz.org/t/ropdebees-userscripts-support-thread/551947/121?u=ropdebee

Some things I’ve noticed while on mobile:

  1. Deezer wants to redirect somewhere else, so fetching from the desktop page fails. Maybe fall back to the API which can still be used without credentials?
  1. Bandcamp pages are also slightly different on mobile. Cover art fetching fails even though images are there. Image Max URL also has no trouble.

I'm not "officially" supporting mobile browsers, but if it's easily fixable, we could fix it. Most mobile browsers I know have a toggle to load the desktop page, so I guess we could imitate something similar by changing the some HTTP headers.