Tag Archives: JavaScript

Mashups and JavaScript Security

I found this excellent video of Douglas Crockford (discoverer of JSON) talking about the security problems inherent in Mashups and of JavaScript as a whole.
He proposes a solution involving what he calls vats; a self contained JavaScript interpreter with limited communication to the page. The JavaScript in the page would be the only trusted [...]

What language would you like it in?

So I have finally submitted It’s All Text! to Babelzilla, the mozilla translation site. It took a little work to get in, though. There isn’t anything so simple that I cannot break it.

It’s All Text! v0.6+

Get “It’s All Text!”
I wrote It’s All Text! for myself. When Firefox 2.0 was released it broke MozEx so I went looking for a replacement. The others weren’t very good. So I set about fixing MozEx. It was then that I realized that MozEx had way more stuff in it than I [...]

Containing blocks and offsetParent: the secret of position absolute

Ever used position: absolute in CSS or JavaScript? You probably got it to work reliably. I have in the past. These were pages that I controlled in their entirety and it worked fine.
But when I tried to use it with It’s All Text! for the gumdrop edit button which in injected into any [...]

It’s All Text!

Have you ever had to fill in a form on a web page and wished you could open it in an editor? If you use lots of blogs, post lots of comments or file many bugs then you probably get annoyed at the lack of true editor commands.
I’ve seen some solutions that embed a [...]

Making JavaScript transparent

A disclaimer: I’m writing this just to share (and record for myself) this one stupid trick in Javascript. While I’m here, I thought I should kvetch about most javascript usage.
First, the stupid trick.
Have you ever been on a page and you try to control-click or right-click on a link only to [...]