Zoom on mobile websites that don’t allow it with this JavaScript hack

When using internet on your iPhone or iPad you may have noticed that some websites do not allow you to zoom in. This is a weird restriction several websites put on, which causes inconvenience for the users. So if you have a bad vision or want to properly view an images by zooming in you simply can’t. Luckily though someone has found a simple workaround to this issue enabling iOS Safari users to perform two finger pinch to zoom on any webpage of their choice.

All you have to do is follow a set of simple steps as shown in the video above. You will need the JavaScript code during the process which you can found below.

javascript:document.querySelector('meta%5Bname=viewport%5D').setAttribute('content','width=device-width,initial-scale=1.0,maximum-scale=10.0,user-scalable=1');

What you are doing here is you are creating a new bookmark and replacing its URL with the code above. Then whenever you find a page that restricts zooming you just have to go to the bookmarks menu and tap on the hacked JavaScript bookmark.

[WonderHowTo via LifeHacker]
Disclosure: iOSHacker may receive a commission if you purchase products through our affiliate links. For more visit our privacy policy page.
Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts