Simon Willison’s Weblog

Subscribe
Atom feed for javascript Random

760 posts tagged “javascript”

2007

The website to web application gradient. Jeremy snapped this cunning illustration at my JavaScript Libraries panel at the Web 2.0 Expo.

# 20th April 2007, 12:30 am / alex-russell, bret-taylor, dojo, flickr, gwt, javascript, jeremy-keith, john-resig, jquery, matt-sweeney, web2expo, web2expo07, yui

Death and Taxes (via) Beautiful massive zoomable/pannable infographic of the 2008 Federal Discretionary Budget.

# 19th April 2007, 2:37 am / ajax, infographic, javascript, politics

Google AJAX Feed API (via) Simple cross-domain proxy to allow JavaScript to access any publically addressable syndication feed, with the same logic as Google Reader providing normalisation.

# 18th April 2007, 5:29 pm / ajax, atom, crossdomain, feed, google, google-reader, javascript, rss, syndication

SoundManager 2. JavaScript sound API, using a bridge to Flash.

# 16th April 2007, 4:47 pm / flash, javascript, scott-schiller, sound

Disabling keyboard controls in the Yahoo! Maps Ajax API. map.disableKeyControls() is the incantation—without it, the map will pan when you use the keyboard to scroll up and down the containing page.

# 11th April 2007, 1:47 pm / javascript, yahoo-maps

Microsoft saw the danger of Javascript and tried to keep it broken for as long as they could. But eventually the open source world won, by producing Javascript libraries that grew over the brokenness of Explorer the way a tree grows over barbed wire.

Paul Graham

# 7th April 2007, 8:22 am / javascript, libraries, microsoft, paul-graham

Fortify JavaScript Hijacking FUD. Bob Ippolito points out the flaws in the recent widely disseminated JavaScript Hijacking paper. While the paper does miss some important details, it’s good that more people are now aware of the security implications involved in serving JSON up wrapped in an array.

# 5th April 2007, 10:51 pm / bob-ippolito, javascript, json, security

Ext JS. Jack Slocum is building a business around his excellent Ext JavaScript library (which can now run on top of YUI, jQuery or Prototype). The library itself is LGPL, but you can pay for a commercial license and support.

# 3rd April 2007, 10:11 pm / jack-slocum, javascript, jquery, prototype-js, yui, yuiext

Metaprogramming JavaScript Presentation. Adam McCrea demonstrates some incredibly elegant DSL -style JavaScript based on chaining method calls together.

# 26th March 2007, 7:45 pm / adam-mccrea, dsl, javascript, metaprogramming

base2. Dean Edwards’ new JavaScript library which adds useful cross-browser features based on upcoming DOM standards (the Selectors API, DOMContentLoaded, addEventListener and more).

# 23rd March 2007, 5:59 pm / addeventlistener, base2, dean-edwards, domcontentloaded, javascript, libraries, selectors

Rules For JavaScript Library Authors. The guiding principles behind Dean Edwards’ base2 library, entirely applicable to every JavaScript developer.

# 23rd March 2007, 5:53 pm / base2, dean-edwards, javascript, libraries

JavaScript/CSS Font Detector (via) Really clever trick: detects the fonts that you have installed by writing out some text and measuring its dimensions.

# 20th March 2007, 11:20 pm / css, fonts, javascript

DED|Chain JavaScript Library (via) Dustin’s new JavaScript library, which puts a JQuery style chained API on top of YUI.

# 20th March 2007, 10:36 am / dedchain, dustin-diaz, javascript, jquery, yui

A Zoned Defense. Using JavaScript’s date.getTimezoneOffset() to detect the user’s timezone and stash it in a cookie.

# 20th March 2007, 9:51 am / javascript, timezones

wii.js (via) A JavaScript library that lets you detect the Wii browser, and provides easy hooks for reacting to keys pressed on the Wiimote.

# 12th March 2007, 10:23 pm / javascript, opera, wii

Ajax3d Demo. Really impressive Virus clone, using the canvas element.

# 9th March 2007, 7 pm / 3d, ajax, ajax3d, canvas, javascript

Dashcode review. “Dashcode is quite possibly the best non-Firebug Javascript environment I’ve ever used.” High praise indeed.

# 5th March 2007, 9:06 pm / dashcode, firebug, javascript, widgets

swf Image Replacement. Really neat idea: unobtrusively replace an inline image with a SWF, then apply effects like rotation, rounded corners and drop-shadowns. Shame it suffers from Flash-Of-Unstyled-Content.

# 27th February 2007, 7:51 pm / flash, fouc, javascript, swfir, unobtrusive

Serving YUI Files from Yahoo! Servers (via) If everyone who uses YUI links to the same set of files, your users will already have the YUI code cached in their browser when they arrive on your site.

# 23rd February 2007, 6:45 pm / javascript, yahoo, yui

John Resig: Thoughts on OpenAjax. I hadn’t looked in to OpenAjax—from John’s analysis it seems like they need to make it easier for open-source projects to participate and do a bunch of work to modernise their core library.

# 22nd February 2007, 10:20 pm / ajax, javascript, john-resig, jquery, openajax

parseDateString function in dateparse.js return wrong date for ’2006-12-31’. I didn’t realise that you have to initialise a JavaScript Date object in a certain order; if you don’t weird bugs can result.

# 17th February 2007, 7:04 pm / date, javascript

Neighbourhood Fix-It. Report problems to your council across the UK. The most detailed Ordinance Survey maps anywhere online, and a superb example of progressive enhancement in action—the maps work without JavaScript, and the site even works without images!

# 17th February 2007, 5:05 pm / barcamplondon2, javascript, maps, matthew-somerville, mysociety, progressive-enhancement

The Zimki Plan. Zimki is a hosted JavaScript application server by Fotango. The idea is to open source it, then build a component so developers can seamlessly switch to hosting on Fotango’s server farm if they need to handle a spike in traffic.

# 16th February 2007, 3:50 pm / fotango, javascript, utilitycomputing, zimki

Sumo! A Generic Microformats Parser For JavaScript. Dan Webb’s BarCamp talk on Metaprogramming JavaScript will be a must-see.

# 9th February 2007, 10:57 am / barcamp, dan-webb, javascript, microformats, sumo

Live DOM Viewer (via) Neat tool from Hixie that provides an insight in to what browsers are actually thinking.

# 6th February 2007, 1:12 am / browsers, dom, ian-hickson, javascript

The window.onload problem (still). Peter Michaux offers the most comprehensive overview of this important topic to date.

# 5th February 2007, 8:13 pm / javascript, onload

Fork JavaScript. A great name for Yet Another JavaScript Library. This one tries to combine the best bits from YUI and Prototype.

# 20th January 2007, 11:39 pm / forkjavascript, javascript, prototype-js, yui

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 / css, javascript, myspace, security, xss

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

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

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 / firefox, javascript, neil-fraser, security