M
Mickey Segal
The long-simmering Eolas patent dispute:
http://www.microsoft.com/presspass/press/2003/oct03/10-06EOLASPR.mspx
has led to an optional Microsoft Update:
http://support.microsoft.com/kb/912945/en-us
that creates non-JavaScript problems that can be fixed using JavaScript.
With the Microsoft update installed, Java applets (as well as other content
such as Flash videos) are unable to receive user input until an activating
click or key press. Although this update has not been installed by many
users yet, is expected to be included in a periodic security update, making
it very widespread, possibly as early as today.
For Java applets there is a satisfactory workaround using JavaScript as
detailed at:
www.segal.org/java/HelloPatent/
However, since Java experts are not JavaScript experts, it was not clear
whether our code was written in the best way. Specifically, we'd appreciate
input as to whether we need both of the following lines of JavaScript code
or can get rid of the HEAD part and make a call that includes the file name
to invoke the function. The relevant JavaScript code is:
Between the HEAD tags:
<script src="specifyApplet.js" language="JavaScript"
type="text/javascript"></script>
Where I actually insert the applet:
<script
language="JavaScript"type="text/javascript">getAppletTags();</script>
http://www.microsoft.com/presspass/press/2003/oct03/10-06EOLASPR.mspx
has led to an optional Microsoft Update:
http://support.microsoft.com/kb/912945/en-us
that creates non-JavaScript problems that can be fixed using JavaScript.
With the Microsoft update installed, Java applets (as well as other content
such as Flash videos) are unable to receive user input until an activating
click or key press. Although this update has not been installed by many
users yet, is expected to be included in a periodic security update, making
it very widespread, possibly as early as today.
For Java applets there is a satisfactory workaround using JavaScript as
detailed at:
www.segal.org/java/HelloPatent/
However, since Java experts are not JavaScript experts, it was not clear
whether our code was written in the best way. Specifically, we'd appreciate
input as to whether we need both of the following lines of JavaScript code
or can get rid of the HEAD part and make a call that includes the file name
to invoke the function. The relevant JavaScript code is:
Between the HEAD tags:
<script src="specifyApplet.js" language="JavaScript"
type="text/javascript"></script>
Where I actually insert the applet:
<script
language="JavaScript"type="text/javascript">getAppletTags();</script>