mozilla / side-view

An experiment with opening mobile views of pages in the sidebar
Mozilla Public License 2.0
188 stars 41 forks source link

The extension forcibly switches some sites to the mobile version #467

Open deevroman opened 1 month ago

deevroman commented 1 month ago

For example: https://2gis.ru (upd: and https://ozon.ru)

When you first open it, the desktop version of the site is shown. Refresh the page and the page will appear in the mobile version. At the same time, I didn’t even try to open the site in sidebar

https://github.com/user-attachments/assets/15d552c7-7ddb-40fd-ad70-4bf4fcbf4cb0

p. s. despite the fact that I have many other extensions, I checked that after disabling Side View, the problem disappears and continues to work

nihirisuto commented 1 week ago

This is generally how the website developers for that particular website handle viewport sizing. They assume that if your view is under a certain dimension, you're on mobile and they'll serve you up the mobile site. You might have look with an additional extension that can force desktop, but said extension would need to somehow spoof the dimensions the website is reading from the client.