google chrome fix
[svn42.git] / powersensordaemon / ymhremote.html
index 3648fbd..085d111 100755 (executable)
@@ -10,6 +10,8 @@ function sendButton( btn )
   var req = new XMLHttpRequest();
   url = "http://slug.realraum.at/cgi-bin/switch.cgi?power=send&id="+btn;
   req.open("GET", url ,false);
+  //google chrome workaround
+  req.setRequestHeader("googlechromefix","");
   req.send(null);
   //response = req.responseText;
   //document.getElementById('output').innerHTML = response; 
@@ -62,8 +64,7 @@ document.onkeydown = remoteKeyboard;
 
 <table border="0" cellspacing="0" cellpadding="0">
 <tr><td id="indicator" style="background-color:white; height:2px;"></td></tr>
-<!-- img width="180" height="941" -->
-<tr><td><img src="rx-v396-remote.png" width="180" height="941" usemap="#ymhremote" id="remoteimg" border="0" /></td></tr>
+<tr><td><img src="rx-v396-remote.png" width="180" height="714" usemap="#ymhremote" id="remoteimg" border="0" /></td></tr>
 </table>
 
 <map name="ymhremote">