mobile network

%e7%84%a1%e9%a1%8c

<script>
if (navigator.onLine)
	alert("I'm online! Whoo-hoo");
</script>

check manifest file.

localStorage.setItem(‘foo’, ‘bar’);