29 July, 2014

Zoom For Mobile Websites In Safari

http://ios.wonderhowto.com/how-to/re-enable-zoom-for-websites-block-safari-for-your-iphone-0156489/

Mobile sites are great, but for some reason most lose the ability to zoom. This hack creates a JavaScript (I think it's called a "bookmarklet") that re-enables zoom. In case the site moves, create a bookmark with the address:
javascript:document.querySelector('meta%5Bname=viewport%5D').setAttribute('content','width=device-width,initial-scale=1.0,maximum-scale=10.0,user-scalable=1');

No comments:

Post a Comment