thmsbfft / oryoki

Ōryōki [応量器] is an experimental web browser with a thin interface.
http://oryoki.io/
MIT License
484 stars 32 forks source link

User agent spoofing #41

Closed jondashkyle closed 6 years ago

jondashkyle commented 6 years ago

I use Oryoki oftentimes in a narrow “mobile” proportion. Some sites check user agent to determine if a mobile view should be used. Would be cool to add a menu option which lets you adjust that!

  1. https://electronjs.org/docs/api/webview-tag#useragent
thmsbfft commented 6 years ago

I've wanted that for a while. Should we just provide a checkbox to "✓ Request Mobile Site", or a variety of possible user agents? Not sure about use cases for the later.

jondashkyle commented 6 years ago

Definitely think the “Request Mobile Site” toggle is the way to go!

jondashkyle commented 6 years ago

https://github.com/thmsbfft/oryoki/pull/42 :tada: