Wednesday, December 9, 2009

How to change the font size of Browser in iPhone

If you find difficult to read the text in iPhone browser here is the solution
Just follow these steps
1.      Go to any web site you want.
2.      After loading click on the address bar of the browser
3.      Delete whatever you have in the address bar.
4.      Paste the below code in the address bar

javascript:for(i=0;i<document.getElementsByTagName ('*').length;i++)void(document.getElementsByTagName('*' )[i].style.fontSize='18pt');

5.      Tap on Go button at the bottom

Notes: you can change the value 18 to whatever font you want.
Make sure that you do not have any New Line character int code.




No comments:

Post a Comment

Looking to move from development to DevOps? Here is what you should know

DevOps is a buzz word in the last decade, everybody wants to try their luck in DevOps. DevOps is the most generic area of software engineeri...