Simon Willison’s Weblog

Subscribe
Atom feed for javascript

688 items tagged “javascript”

2007

MySpace: Too Much of a Good Thing? CSS customization really was just the result of forgetting to strip HTML. They “eventually” decided to filter out JavaScript(!)

# 17th January 2007, 9:09 am / myspace, css, javascript, xss, security

jQuery 1.1. jQuery is one year old. The latest release features API improvements and some significant optimisations.

# 15th January 2007, 5:13 pm / jquery, javascript

The JavaScript alert(), confirm() and prompt() functions in Firefox, Opera and MSIE (but not Safari) will truncate the message after any null character. So an unsuspecting programmer who inserts user-provided text into one of these dialog boxes opens up an opportunity for the user to rewrite the bottom of the dialog box.

Neil Fraser

# 13th January 2007, 12:28 pm / security, javascript, neilfraser

AJAX Debugging with Firebug. Great Firebug tutorial from creator Joe Hewitt himself. I didn’t know you could trigger profiling from your own code using console.profile() / console.profileEnd().

# 12th January 2007, 11:21 am / firebug, tutorial, joe-hewitt, drdobbs, javascript, ajax

Offline Gmail and Blogger Using the Dojo Offline Toolkit. These are just mockups at the moment, but they’re a useful illustration of how offline browsing modes for Web applications could work.

# 10th January 2007, 12:40 pm / sitepen, dojo, offline, javascript, gmail, blogger

macrumorslive.com. The MacRumors ajax keynote coverage gets better every time—now they have live photos in addition to the text updates. Simple but effective.

# 9th January 2007, 5:11 pm / keynote, javascript, macrumors, ajax, osx, simplicity, steve-jobs, apple

IE JScript Performance Recommendations Part 3. Once again, Microsoft’s official advice is to avoid closures entirely rather than learn how to use them safely. Sigh.

# 9th January 2007, 11:48 am / microsoft, ie, closures, javascript

The Dojo Offline Toolkit. The Dojo Offline Toolkit will be a small, cross-platform, generic download that enables web applications to work offline.

# 7th January 2007, 10:24 pm / dojo, offline, javascript

2006

Javascript character set screw-ups (via) Some browsers treat JavaScript files as having the same content-type as the page from which they are linked. This could cause problems with UTF-8 encoded JSON; the workaround is serving up ASCII with unicode escape sequences.

# 21st December 2006, 3:20 pm / json, javascript, unicode

Why JSON isn’t just for JavaScript

Dave Winer’s discovery of JSON (and shock that “it’s not even XML”) has triggered an interesting discussion thread, on his blog and elsewhere. Plenty of people have re-assured him (and themselves) that it’s only used for JavaScript—it’s convenient in the browser but irrelevant elsewhere.

[... 787 words]

Conditionally Sticky Sidebar. A nicer implementation of the trick I’m using for my add comment form; this one takes advantage of position: fixed in browsers that support it.

# 20th December 2006, 1 am / css, javascript

Create cross browser vector graphics. An accessible introduction to dojo.gfx, a powerful 2D drawing API built on SVG and VML.

# 20th December 2006, 12:42 am / svg, drawing, dojo, 2d, vml, javascript

YUI CSS Grid builder (via) The YUI CSS grid system can be hard to get your head around. This interactive tool makes it much easier to figure out.

# 16th December 2006, 10:30 pm / yui, javascript, css

Making GWT Better. Explains the philosophy behind GWT. It’s all about the tools!

# 12th December 2006, 5:53 pm / gwt, javascript, google, philosophy

GWT 1.3 Release Candidate is 100% Open Source. At least you can see how the code generator works now.

# 12th December 2006, 5:50 pm / gwt, javascript, open-source, google

Java SE 6 Released. “Script engines” (like JavaScript, Jython and JRuby) become a first class citizen.

# 12th December 2006, 8:48 am / javascript, jython, jruby, java

WYMeditor. A semantic rich text editor that appears not to suck!

# 6th December 2006, 4:35 pm / javascript, semantic, richtext

Including Dojo, The Really Easy Way. Drop in a single include to load code on demand from AOL’s CDN.

# 28th November 2006, 12:22 pm / dojo, aol, cdn, javascript

Introducing the Technorati Link Count Widget. I’m trying this out; it’s pretty sweet. Nicely unobtrusive too.

# 18th November 2006, 10:53 am / technorati, unobtrusive, javascript

Tamarin

On Tuesday, the Mozilla Foundation and Adobe announced the Tamarin project, an open-source ECMAScript virtual machine based on the ActionScript engine used by Flash Player 9.

[... 380 words]

Dojo 0.4 release notes (via) GFX (a 2D drawing API) is awesome; dojo.html.metrics looks extremely useful, and onDomLoad is always nice.

# 23rd October 2006, 12:39 am / dojo, 2d, drawing, javascript

Browser JavaScript in Opera. Opera monkeypatches some sites, and auto-updates the patches once a week.

# 3rd August 2006, 5:37 pm / opera, javascript

XMLHttpRequests using an IFrame Proxy (via) Another scary hack abstracted away by Dojo.

# 1st August 2006, 5:40 pm / dojo, crossdomain, ajax, javascript, xmlhttprequest

Notes on JavaScript Libraries

@media 2006 was a blast. Great talks, great people and some of the highest production values I’ve ever seen at a conference (check out the bags!).

[... 682 words]

Fjax: Just say no

To my utter amazement, a decent amount of buzz appears to be building around a new “technology” called Fjax—much of it centred around this interview on Webmonkey, but also benefiting from a mention on the O’Reilly Radar and of course the obligatory Digg story.

[... 879 words]

Brad Neuberg introduces dojo.storage. Incredibly technically impressive, embodying months of accumulated expertise.

# 1st May 2006, 11:33 pm / brad-neuberg, dojo, dojostorage, javascript

Speaking gigs

I’ve been doing a fair amount of public speaking recently, based on the principle that the only way to get good at it is to get a lot of practise. My last two talks were a session on Django and Web Application Frameworks at the ACCU 2006 conference and a talk on the Yahoo! Developer Network for NMK’s Beers and Innovation series.

[... 304 words]

An S3 AJAX Wiki. Les continues to innovate against S3.

# 22nd April 2006, 7:09 pm / s3, javascript, ajax, wiki, les-orchard, aws

JavaScript apps with read/write access to S3. JS apps hosted on S3 could read and write to the store.

# 4th April 2006, 9:33 am / javascript, s3, aws

Learning Flash for programmers?

I’ve decided it’s about time I learnt some Flash, mainly because of the exciting opportunities posed by the Flash-JavaScript bridge. It’s become pretty obvious now that Flash is the most practical option for dealing with audio and video on the Web, and the bridge means that anything Flash can do is now available to JavaScript as well. Google Finance and the Yahoo! JS-Flash Maps API are just two recent examples of why this stuff is worth knowing more about.

[... 138 words]