Vibrate Phone with Javascript
The following javascript uses the Vibrate API to make a phone vibrate when a page is loaded. You can time it with setTimeouts or onclick/onscroll if required.
<html>
<script>
navigator.vibrate = navigator.vibrate || navigator.webkitVibrate || navigator.mozVibrate || navigator.msVibrate;
navigator.vibrate(1000); // 1 second
</script>
Hello Buzz
</html>
There’s more information available at: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vibrate
This can be used to draw a users attention to the landing page or to create message effects etc.