mozilla / side-view

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

User-Agent pretend to be on Android 4.4 #406

Open SqTH opened 5 years ago

SqTH commented 5 years ago

I noticed that user-agent in side-view isn't the same as the normal view. This mislead websites and statistic tracking, and could trigger server-side mechanisms that aren't meant for a desktop experience.

Normal view: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0

Side-view: Mozilla/5.0 (Android 4.4; Mobile; rv:63.0) Gecko/63.0 Firefox/63.0