Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
but i'm not using my JS in a web browser
<html>
<head>
<script type="text/javascript">
<!--
try {
// Your code here.
// Any errors will be trapped. For example:
nonExistentFuntionCall(); // <-- this should error
}
catch (errorDetail) {
var s = '';
for (props in errorDetail) s += 'errorDetail.' + props + ': ' + errorDetail[props] + '\n';
alert(s);
//alert('An error occurred. The problem was:\n\n' + errorDetail);
}
//-->
</script>
</head>
<body>A page</body>
</html>