Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Desktop version request #5

Open
mems opened this issue Mar 3, 2017 · 0 comments
Open

Desktop version request #5

mems opened this issue Mar 3, 2017 · 0 comments

Comments

@mems
Copy link
Owner

mems commented Mar 3, 2017

Aka "Request Desktop Site", "Request Desktop Version"

Tags: responsive

  • Safari Mobile 8-?: Switch User Agent String 1 2 3
  • Android browser: Switch User Agent String
  • Firefox Mobile (Android): Switch User Agent String
  • Firefox Mobile (iOS): Switch User Agent String
  • Dolphin: Switch User Agent String and change screen resolution and scaling (affect media queries)

TODO: List UA Strings

iOS (iPad):
Mozilla/5.0 (iPad; CPU OS 7_0_3 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) CriOS/30.0.1599.16 Mobile/11B511 Safari/8536.25 (9E5413BC-7DB8-4B71-B876-69EDA4BAC03D)
request desktop site changes it to:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.53.11 (KHTML, like Gecko) Version/5.1.3 Safari/534.53.10 (9E5413BC-7DB8-4B71-B876-69EDA4BAC03D)
Chrome for Android:
Mozilla/5.0 (Linux; Android 4.0.4; Galaxy Nexus Build/IMM76K) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19
request desktop site changes it to:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.45 Safari/535.19
Firefox for Android has a similar feature that does switch the UA in exactly the way that this script should help with. Example:
Mozilla/5.0 (Android; Mobile; rv:25.0) Gecko/25.0 Firefox/25.0
changes to
Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0

Footnotes

  1. Safari (iOS 8): Request the desktop site while entering in a web address (scroll up)

  2. Safari (iOS 9): Request Desktop Version via Share Sheet

  3. Safari and Safari View Controller (iOS 9.2): Long tapping the Reload button in now gives options to Reload Without Content Blockers and Request Desktop Site

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant