Luke-Jr wrote:Under Konqueror 4.0.0, it shows the cycles moving and such, but keypresses go ignored.
I had some problems to find a browser independent way of getting global key listeners to work in Firefox, IE, and Safari. Too bad Konqueror seems to have yet another conception of how to listen to key event globally, but this is not really Konqueror's fault, rather the spec of DOM events is a mess. Hopefully I can figure out that problem, too, but I currently do not have a Konqueror 4 for testing.
Luke-Jr wrote:Either way, I still would suggest you stick to standards and not assume toString does something it's not defined as doing.
This is what the ECMAScript standard (Ecma-262) says:
15.3.4.2 Function.prototype.toString ( )
An implementation-dependent representation of the function is returned. This representation has the
syntax of a FunctionDeclaration. Note in particular that the use and placement of white space, line
terminators, and semicolons within the representation string is implementation-dependent.
I do not rely on white space, line terminators, or semicolons, but would expect the function's name to be included in the "implementation-dependent representation". Since you say it runs under Konqueror 4, the developers seem to have agreed with that view in the meantime. Anyway, the standard is quite vague here.
The JavaScript code that is "prepared" through my runtime library is actually generated from another syntax by the Jangaroo compiler. This other syntax is as close to ECMAScript 4 as is currently possible. So it is quite easy for me to adapt the compiler to produce standard-compliant (or Konqueror-3-compliant

) JavaScript code and recompile the whole Jangaron code so that it should run in Konqueror 3, too.