Пользовательский агент iPad меняется в зависимости от местоположения (работа, дом)

657
Chad

Я нашел этот вопрос: https://serverfault.com/questions/583618/is-this-user-agent-string-related-to-safari?newreg=2f9ad2aada604a42b07ad369f40d3144

Первоначально я искал, что означает «пользовательский агент» в части «GSA», поскольку я вижу, что на одном и том же iPad отображаются оба пользовательских агента из этого вопроса. Когда iPad работает, на нем отображается «обычный» пользовательский агент Safari / iPad (включен И выключен, поэтому проблема не в сети). Однако дома отображается пользовательский агент "GSA" (Google Search Appliance).

Что может привести к тому, что тот же iPad изменит свой пользовательский агент в зависимости от местоположения, используя стандартный браузер Safari?

1

1 ответ на вопрос

1
Chad

So I figured out why this was happening, I am adding it as an answer in case someone else runs into or notices this.

This was occurring for my co-worker. It turns out that when this was tested at home, our website was opened through the Google Search App, which apparently changes the user agent to the "GSA" string. When we were testing this from work we were using Safari, which returned the good old, expected user agent string.

Not sure why the Google Search App changes the user agent, but that's what is happening.

Похожие вопросы