Learn

The forum of documents and methods for studying - Lượm lặt kiến thức


    How to Access Mobile Websites Using Your Desktop Browser

    QaniTri
    QaniTri
    Admin

    Nam Libra Monkey
    Tổng số bài gửi : 1568
    Tiền xu Ⓑ : 3891
    Được cảm ơn № : 6
    Ngày khởi sự Ngày khởi sự : 07/01/2013
    Đến từ Đến từ : HCMC
    Côngviệc / Sởthix Côngviệc / Sởthix : Languages, Softwares, Sciences, Martial arts

    How to Access Mobile Websites Using Your Desktop Browser Empty How to Access Mobile Websites Using Your Desktop Browser

    Bài gửi by QaniTri 27th July 2015, 11:58

    How to Access Mobile Websites Using Your Desktop Browser 650x300xwebsite-on-ipad.jpg.pagespeed.ic.l_M4uRrZWy
    Many websites offer specific interfaces for smartphones, iPads, and other mobile devices. Whether you need to test mobile websites or you’re just curious to see what they look like, you can access them in your desktop browser.
    You can do this by changing your browser’s user agent — we’ve previously explained what a browser user agent is. Accessing a website with an iPad user agent may also force it to serve you HTML5 video, which is nice if you’re trying to avoid Flash.
    Image Credit: Jon Fingas on Flickr

    User Agent Switcher Extensions

    We have covered how to change your browser’s user agent without installing any other software. However, for ease-of-use, you will probably want to install a browser extension that lets you quickly and easily change your browser’s user agent.
    You will want to install either User-Agent Switcher for Chrome or User Agent Switcher for Firefox, depending on which browser you use. For Internet Explorer, you may want to try theUAPick User-Agent Switcher add-on.

    Setting a Mobile User Agent

    To change your user agent, locate the User Agent Switcher extension icon on your browser’s toolbar, click it, and select a mobile user agent in the list.
    (You may need to add the User Agent Switcher icon to Firefox’s toolbar after installing it. To do so, right-click the toolbar, select Customize, and drag and drop the User Agent Switcher icon onto Firefox’s toolbar.)
    How to Access Mobile Websites Using Your Desktop Browser 648x500xuser-agent-switcher-iphone.png.pagespeed.ic.WCaqteqKs3
    Refresh the page you are currently on (click the Refresh icon on the toolbar or just press F5) and you will see its mobile version. You can access other websites and you will see their mobile versions for as long as your user agent is set to a mobile user agent.
    How to Access Mobile Websites Using Your Desktop Browser 650x500xhow-to-geek-mobile-on-desktop.png.pagespeed.ic.9J4UDfZy9i
    When you’re done, select the Default User Agent option.
    How to Access Mobile Websites Using Your Desktop Browser 650x500xuse-default-user-agent.png.pagespeed.ic.ugJxvwv2Le
    The process is similar in other extensions. Even if you are using your browser’s built-in user agent switcher, it should be a fairly simple process.
    How to Access Mobile Websites Using Your Desktop Browser 650x500xuse-ipad-user-agent-in-chrome.png.pagespeed.ic.BWew_d_-qf

    Additional User Agents

    Some user agent switchers don’t come with a comprehensive list of user agents. For example, the User Agent Switcher extension for Firefox doesn’t include an option that allows you to set your user agent to an iPad’s.
    You can download additional user agents by clicking the User Agent Switcher icon and selecting Edit User Agents. Click the Download lists of user agents to import link and you will be able to download and import a more comprehensive list of user agents.
    How to Access Mobile Websites Using Your Desktop Browser 556x515xdownload-lists-of-user-agents-to-import.png.pagespeed.ic.mBXyIsYz_O
    If you would rather enter a user agent string manually, you can find them on websites like theMobile Browser ID (User-Agent) Strings website.
    For example, the user agent for an iPad with Safari and iOS 6 is:
    Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A403 Safari/8536.25


    Changing your user agent can also be used for other purposes. For example, you could set your browser’s user agent to Googlebot and bypass the occasional newspaper paywall or use an Internet Explorer-only website without being redirected. Thankfully, IE-only websites aren’t very common anymore.
    Howtogeek.com


      Hôm nay: 28th March 2024, 21:55