Tuesday, 1. July 2008, 12:00:27
my.opera.com, userjs
Have any good ideas for User JavaScripts? Or is there some broken site that you would like to fix but never got around to? It's time to fire up the editors and get coding - the
User JavaScript contest is open for entries!
(Hey, look at the gorgeous prize - wish I could take part myself, too bad I'm an insider :-p..).
Keep those user scripts coming and have fun :-D
Sunday, 15. April 2007, 01:23:17
patch, userjs, wmp
A while ago I called Windows Media Player a
skeleton in the compatibility closet.
The problem is that WMP comes in two flavours, one all-singing, all-dancing ActiveX version which supports the latest and greates in JavaScript interaction, and one Netscape Plugin API version which has a somewhat more limited and definitely very different repertory of JavaScript commands. Of course most sites wanting to display WMP video and interact with it with JavaScript are written for the ActiveX version, and naturally browsers that do not support ActiveX run into a lot of broken pages because of this.
Now, here's an experimental compatibility layer for WMP ActiveX scripting, implementing some of the ActiveX version's API in User JS, and I would very much appreciate your help testing it:
http://files.myopera.com/hallvors/files/1wmp.jsPlease install it as a User JS and go surfing for video sites (you need Java installed too for it to work). Please leave a comment on this post when you start using it, giving your WMP version. Also report in the comments any broken sites, as well as ones that are broken without the user script but works with it. (Ignore video.aol.com because there seems to be a lot more work to do to get that fish working.) Also be sure to report any stability issues.
A good place to test is here:
http://www.thesun.co.uk/article/0,,11021-10043,00.htmlVideo should not work in a normal Opera but work if the User JS is active.
Thanks in advance!
Edit: note that the user script requires Opera
9.20 or greater.