codebits... a place for small snippits of shinny ideas and tests of all things web. Mainly used to remind myself of how things work, but hopefully helpful to others.

Pasting image from clipboardData object Test

A test using the clipboardData object to paste images into a web page

Copy and Paste with the clipboardData and minetypes Test

A test using the clipboardData object to copy and paste data as a minetype

DownloadURL and BlobBuilder support Test

A test using the DownloadUrl and BlobBuilder to allow dragging of virtual files to the desktop

tel: registerProtocolHandler demo Test

A test using the new HTML5 registerProtocolHandler API

Pick Profile Web Intent Test

A Web Intent to show the user journey of picking a profile

hRecipe - mark-up for search engines

An example of how to mark-up a recipe with Googles extended version of hRecipe

Web Intents Proxies Test

A group of services proxies that allow me to try a simple Web Intents user journeys

a[download] and blob:URL support Test

A test using the new HTML5 a[download] attribute and the blob:URL together

The Firefox Virtual File Hack Test

A hack to create virtual file download using the anchor tag type attribute and the JavaScript window object

DownloadURL and Data URL support Test

A test using the DownloadURL type and Data URL together

DownloadURL support Test

A test using the DownloadURL type for a drag and drop method setDate

Enterbox Idea

An experimental UI component that accepts HTML drop and paste

onPaste clipboardData support Test

Test of the clipboardData support, specifically the getData method

onCopy clipboardData support Test

Test of the clipboardData support, specifically the setData method

Editing events for contentEditable Test

Tests the events most associated with editing for a contentEditable element

Editing events for input element Test

Tests the events most associated with editing for an input element

Collection of useful JavaScript functions and patterns

This is a collection of useful JavaScript functions and patterns that I often use, when not coding with jQuery.