Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

While browsing GitHub from Safari on iOS, I've occasionally switched to desktop version of the website. Now I couldn't find way to switch back to mobile version. Even when opening GitHub in Safari private mode, I'm getting myself on desktop website. How could I bring mobile GitHub back?

share|improve this question
    
Have you tried clearing cookies and cache? –  Alex Feb 4 at 16:55
    
Yes, I tried. No effect. Also, cookies shouldn't be shared with websites in private mode. –  Andrew Barchuk Feb 4 at 18:04

2 Answers 2

What I've found is that some github pages are mobile while others are desktop/full pages.

For example if you go to https://github.com, you'll see the desktop site but if you go to https://github.com/explore, it's a mobile version (Safari on iOS).

So if you're looking at a repository, you'll see a mobile version of the page.

EDIT: if you don't see a "switch to mobile" link when you're on /explore. You might have to clear your Safari cookies. To clear Safari cookies, go to Settings -> Safari -> Clear Cookies and Data.

share|improve this answer
    
The problem is that, after I switched to desktop website being on mobile version (there was "Desktop Version" link somewhere in the footer of mobile webpage), I couldn't switch back. Now any page is loaded as desktop version (including Explore and any repo page). –  Andrew Barchuk Feb 5 at 9:30
    
I see this when I switch to desktop: mhmd.us/ZNrx+ There's a link to switch to mobile for me. –  Muhammad Usman Feb 5 at 18:46
    
Sadly, see no such a link :-( I've tried clearing of the cache. Could you please post URL that link points to? Maybe, it will work for me too. –  Andrew Barchuk Feb 6 at 8:13
    
it's github.com/explore?mobile=1 –  Muhammad Usman Feb 6 at 21:47
    
Yeah, the link works and leads to mobile version of GitHub. Thanks. My issue now resolved. However, it's still unclear why I don't able to see that 'Switch to mobile version' link. –  Andrew Barchuk Feb 7 at 0:46
up vote 0 down vote accepted

A direct solution to the problem is to add to any of GitHub URLs parameter mobile with value 1, e.g. https://github.com/?mobile=1. That will make GitHub to show mobile version of the website for you (it will remember the parameter, no need to add it each time), until you switch back to desktop version.

However I found no reason for Switch to mobile version link is not shown in Safari on iOS as it appears on screenshot posted by @Muhammad in comment to his answer. It someone know the reason behind it, feel free to edit the answer.

share|improve this answer
1  
The solution occasionally stopped to work as of now :-( –  Andrew Barchuk Mar 10 at 18:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.