jessebofill / DeckWebBrowser

A Decky Loader web browser plugin for the Steam Deck
GNU General Public License v3.0
12 stars 1 forks source link

Mobile user agent setting #17

Open Wibbbs opened 1 month ago

Wibbbs commented 1 month ago

A bit of a feature request here, unless there is a way to do this already that I am missing. I would love to see a way to request the mobile version of pages.

Not sure what user agent the browser is sending now but maybe a way could be added to spoof a mobile user agent.

jessebofill commented 1 month ago

I don’t have too much time to look into this right now. The plugin uses built in steam components which sets the user agent itself and as far as I can remember it cannot be changed. I’m pretty sure I’ve tried to do it before. But when I have a chance next time I’m working on it, I’ll look into it again to see if it’s possible.