mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 14:15:30 +00:00
19 lines
316 B
HTML
19 lines
316 B
HTML
<html>
|
|
<body>
|
|
<script>
|
|
|
|
var name = location.search.substring(1);
|
|
addEventListener('load', function() {
|
|
setTimeout(function() {
|
|
alert(name + ':ready');
|
|
}, 0);
|
|
});
|
|
|
|
addEventListener('visibilitychange', function() {
|
|
alert(name + ':' + (document.hidden ? 'hidden' : 'visible'));
|
|
});
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|