I think it changes your user agent string to something that doesn't say "mobile", and the device "inner resolution" or something like that to make it zoom out.
https://www.google.com/search?q=what+is+my+user+agent+string
https://whatismyscreenresolution.site/