This JavaScript helper (bookmark) for iOS Safari helps you switch from fixed width mobile view to desktop view.
-
In Safari, add a random web page to your bookmark
-
Open bookmarks list, edit the newly added bookmark
-
Change the bookmark name to "Zoom Out"
-
Change the bookmark URL to
javascript:var%20el=document.querySelector('meta%5Bname=viewport%5D');if(el)el.setAttribute('content','');
-
Save the bookmark
Now, every time you visit a website (say, github.com) with fixed narrow viewport, you can switch to default ("desktop") viewport by tapping the bookmarks icon at the bottom of Safari and selecting the "Zoom Out" bookmark you created.