Charlie Calvert on Elvenware

Writing Code and Prose on Computers

Elvenware

Simulate iPhone on Safari

Some JavaScript to resize the browser when working in Safari:

// On Safari, this will resize the Browser to IPhone dimensions
function resizeToIPhone()
{
	window.scrollTo(0,0);
	window.resizeTo(320,480);
}