Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: timelapse
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (24 sloc) 0.825 kB
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
function log(s)
{
var output = document.getElementById('output');
output.innerHTML += s + "<br>";
}
function doTest()
{
window.setInterval(function() {
var screen = window.screen;
log('screen availLeft: ' + screen.availLeft + ' availTop: ' + screen.availTop);
}, 1000);
}
window.addEventListener('load', doTest, false);
</script>
</head>
<body>
<p>On a two-monitor system, configure the menu bar to be on the right screen. Then drag this window between screens. When on the left screen, screen.availLeft should be negative.</p>
<div id="output"></div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.