> I see examples of code that can be put into Flash pages to turn off this
> annoyance. Are there ways to protect pages with Java applets?
Well, what is the example for Flash?
I'm not a JavaScript guru, but could the solution be as simple as
writing a JavaScript to fake a mouse click into the embedded object?
- Oliver
Timo Stamm - 13 Mar 2006 23:29 GMT
Oliver Wong schrieb:
>> I see examples of code that can be put into Flash pages to turn off
>> this annoyance. Are there ways to protect pages with Java applets?
>
> Well, what is the example for Flash?
I think it is a javascript call from the flash movie:
getURL("javascript:document.getElementById(...).focus();");
> I'm not a JavaScript guru, but could the solution be as simple as
> writing a JavaScript to fake a mouse click into the embedded object?
Something like
<body onload="document.getElementById(...).focus();">
will probably suffice for most cases. Damn software patents.
Timo
Timo Stamm - 13 Mar 2006 23:51 GMT
Timo Stamm schrieb:
> Oliver Wong schrieb:
>> I'm not a JavaScript guru, but could the solution be as simple as
[quoted text clipped - 5 lines]
>
> will probably suffice for most cases. Damn software patents.
No, apparently it doesn't :(
You have to write the entire embed/object tag using javascript. There
are much easier ways than the one given in the link [1] Mickey posted,
though.
Apple has a very simple and easy to follow example for quicktime movies:
http://developer.apple.com/internet/ieembedprep.html
Here is one for flash movies (it was created to solve other problems,
but it fixes the focus issue, too):
http://blog.deconcept.com/flashobject/
Timo
____
[1]http://www.pixelmill.com/(xecadpcjrastkq8t3n8qby53)/support/support_article.aspx
?ArticleID=kb101593
Mickey Segal - 14 Mar 2006 01:08 GMT
> Apple has a very simple and easy to follow example for quicktime movies:
> http://developer.apple.com/internet/ieembedprep.html
The Apple approach looks pretty general and straightforward. I'll give it a
try.
For reasons too painful to recount, our company's software already has
<APPLET> tags generated in JavaScript, so this may not be a big deal for us
to implement. But this annoyance will cause a lot of bother if it shows up
on a hundred million computers over the next few days if it is included as
an obligatory part of a 14 March security update instead of in an optional
non-security upgrade as it appeared a few days ago.
Timo Stamm - 14 Mar 2006 01:30 GMT
Mickey Segal schrieb:
>> Apple has a very simple and easy to follow example for quicktime movies:
>> http://developer.apple.com/internet/ieembedprep.html
[quoted text clipped - 8 lines]
> an obligatory part of a 14 March security update instead of in an optional
> non-security upgrade as it appeared a few days ago.
Imagine billions of animated flash advertisements stopping to work. This
issue is a blessing ;)
Timo
Mickey Segal - 14 Mar 2006 03:59 GMT
> Imagine billions of animated flash advertisements stopping to work. This
> issue is a blessing ;)
If this hits the general users, imagine how many people will decide they are
losing their minds.
Tomorrow I'll try to put up a Hello World applet that works around this
problem.
Mickey Segal - 14 Mar 2006 16:34 GMT
> Tomorrow I'll try to put up a Hello World applet that works around this
> problem.
I put a Hello World applet with the JavaScript workaround at:
http://www.segal.org/java/HelloPatent/
Following the example that Apple gave:
http://developer.apple.com/internet/ieembedprep.html
I had two JavaScript lines in the HTML page:
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>
Could someone who knows more about JavaScript than I do please tell me
whether it is possible to simplify this? Is would be easier to retrofit a
bunch of pages if it the import statement between the HEAD tags could be
rolled into the other line as some sort of path for getAppletTags.
Oliver Wong - 14 Mar 2006 15:45 GMT
> Imagine billions of animated flash advertisements stopping to work. This
> issue is a blessing ;)
When users ask about this, be sure to mention two things. (1) It's due
to the broken patent system used in the US. (2) Firefox doesn't have this
problem.
Kill two birds with one stone.
- Oliver
Mickey Segal - 13 Mar 2006 23:29 GMT
> Well, what is the example for Flash?
> I'm not a JavaScript guru, but could the solution be as simple as
> writing a JavaScript to fake a mouse click into the embedded object?
The example I saw is at
http://www.pixelmill.com/(xecadpcjrastkq8t3n8qby53)/support/support_article.aspx
?ArticleID=kb101593
The basic idea seems to be to use JavaScript to load something from
somewhere else; it involves a bunch of steps. I haven't quite figured out
what is going on.
It would be great if we could post the workaround code for a simple Hello
World Java applet using <APPLET> tags so everyone could get around this
problem without having to slog through this out themselves.
Although the Microsoft Update that cripples IE in this way is now an
optional download it is expected to be part of the next security update
pushed to all users, which could be as soon as tomorrow.
On Mon, 13 Mar 2006 15:19:10 -0500, "Mickey Segal"
<not_monitored@example.com> wrote, quoted or indirectly quoted someone
who said :
>I see examples of code that can be put into Flash pages to turn off this
>annoyance. Are there ways to protect pages with Java applets?
Tell people to use a different browser.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
Roedy Green - 14 Mar 2006 00:33 GMT
On Mon, 13 Mar 2006 23:20:43 GMT, Roedy Green
<my_email_is_posted_on_my_website@munged.invalid> wrote, quoted or
indirectly quoted someone who said :
>Tell people to use a different browser.
seriously. MS has screwed everyone repeatedly. They are not the only
browser game in town. There is a certain moral duty in telling them to
shove it. There must be consequences for evil actions.
See http://mindprod.com/jgloss/browser.html

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.