Creating Links with Mozilla's window.getSelection() Method

Friday October 25th, 2002

Kenneth Dillon writes: "This morning, IBM developerWorks published a tutorial detailing how Mozilla's cutting-edge ECMAScript and W3C DOM support and its nonstandard, but incredibly useful window.getSelection() method can be put to work to allow users to create links to virtually any piece of text within an HTML document."

Note that you must have a developerWorks profile to access this tutorial. You can create a free profile at the registration page.

#3 Non-standard?

by Racer

Friday October 25th, 2002 11:31 AM

You are replying to this message

"its nonstandard, but incredibly useful window.getSelection() method" Does this mean that this is a Mozilla-only feature? If so, is this an attempt to get a non-standard feature standardized or perhaps make IE implement it?

If its neither of these, it sounds like Moz is trying to do the same thing IE did...push non-standardizations and thus make its browser the only one that works as desired on specific sites. I guess since IE did it, its ok for Moz to do it too?