4 <script type="text/javascript">
7 var output = document.getElementById('output');
8 output.innerHTML += s + "<br>";
13 window.setInterval(function() {
15 var screen = window.screen;
16 log('screen availLeft: ' + screen.availLeft + ' availTop: ' + screen.availTop);
20 window.addEventListener('load', doTest, false);
24 <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>
25 <div id="output"></div>