Browser Problems with Html5

Monkey Targets Forums/HTML5/Browser Problems with Html5

Midimaster(Posted 2012) [#1]
Does anybody know something about Problems with Key Inputs etc.. on Opera or Safari Browsers?

I wrote a Monkey Game in Html5 and it runs good on Firefox. But user with Opera and Safari report about problems: They are not able to enter a player ID



On Safari they get this error message, when trying to enter a player-ID:
Monkey Runtime Error : Error: QUOTA_EXCEEDED_ERR: DOM Exception 22


this is the game:

http://www.midimaster.de/cheese/CheeseBox.html


But even this does not run on Internet Explorer 8:

[monkeycode]Strict
Import mojo
Global i%
Class Game Extends App
Method OnCreate%()
SetUpdateRate 15
Return 0
End

Method OnUpdate%()
If KeyHit(KEY_ESCAPE) Then Error ""
Return 0
End

Method OnRender%()
Cls
i=i+1
DrawRect i,100,100,100
Return 0
End

End

Function Main%()
New Game
Return 0
End
[/monkeycode]



What do I do wrong? I use Monkey V61b and the error message is:
Monkey Runtime Error: [object Error]
C:\MonkeyPro61/modules/mojo/app.monkey<105>
...and errors in my code lines <4> and <31>




Meanwhile I recognized, that it is necessyra to install "Chrome Frame" for IE7 and IE8. So I did. Now the Apps here on MonkeyCoder run perfect, but my test code above still has the same problems.

I added this line to the MonkeyGame.html:
!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<style type="text/css">
...