How do you add a JavaScript widget to a Wordpress hosted blog?

How do you add a JavaScript widget to a Wordpress hosted blog? I've got a site that provides blog-friendly widgets via JavaScript. These work fine in most circumstances, including self-hosted Wordpress blogs. With blogs hosted at Wordpress, however, JavaScript isn't allowed in sidebar text modules. Has anyone seen a workaround for this limitation? 4 Answers you could always petition wp to add your widget to their 'approved' list, but who knows how long that would take. you're talking about a way to circumvent the rules they have in place about posting arbitrary script. myspace javascript exploits in particular have increased awareness of the possibility of such workarounds, so you might have a tough time getting around the restrictions - however, here's a classic ones to try: put the javascript in a weird place, like anywhere that executes a URL. for instance: <div style="background:url('javascript:alert(this);');" /> sometimes th...