Skip to content

Desktop version request #5

@mems

Description

@mems

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions