Archive for the ‘javascript’ Category
Javascript…
Javascript is both infuriating and awesome at the same time. I don’t think I’ve ever speant so much time tracking down annoying bugs (even compared to PHP), yet at the same time it makes functions like the one below very simple to write.
For reference, the below code returns a `getter` method that we use [...]
Very simple captcha decoding using the Canvas tag
Ever since learning about the canvas tag, I’ve been wanting to try this…. Yes, the captcha I used is amazingly simple to break, but, I doubt I'm smart enough to tackle anything more complicated. Though I feel it still serves a good proof of concept (espcially when combined with Greasemonkey)
Canvas Captcha Results.png (57 [...]
Digg: Javascript overload?
The Digg front page (28KB) requires 2 (3?) CSS files and 17 Javascript files to be downloaded before it can be displayed. This shouldn’t be a problem as the files should be cached on the first visit. But I wouldn’t be here writing this if that was the case. It appears that max-age [...]