Wonderful Web

An exploration of web APIs

Input

Keyboard

Typically used for typing.

Pointer

The on-screen cursor, usually controlled by a mouse, trackpad or rollerball.

Touch

Interactions on touch-screens.

Force Touch

Interactions on a pressure-sensitive touchscrren.

Scroll position

The scroll position of the page, relative to the viewport

Gamepads

Specialised ergonimic controllers usually used for games.

Device orientation

The relative direction of your device in three dimensions

Absolute Device orientation

The direction of your device in relation to the compass

Preferences

Language

This is your preferred language. Webpages can use this to offer translations.

Tracking

A setting you can use to tell websites whether they can track you for marketing purposes.

Communication

Notifications

A feature through which webpages currently open can alert you to some activity.

Clipboard

A simple way to copy and paste information between applications.

Storage

Cookies

A storage area for small bits of data, which are then included in the request for the page.

Local Storage

A storage area for small bits of data, which will last forever unless the user deleted them.

Session Storage

A temporary storage for data which is emptied whenever you close the webpage window.

Indexed database

A mechanism for storing more complex hierarchical data types.

Display

Screen Orientation

Reveals the screen orientation type and angle.

Window Size
Screen Size
Color Depth
Full Screen

Audio & Video

Speech Synthesis

Status

Geolocation
Camera
Vibration
Battery Status
Ambient light level

Returns data from a light sensor.

Network Status

Reveals whether the device is online or offline

Network Information

Reveals the type of the current connection (eg cellular or wifi).

Platform
Referrer
File Reader

Software

Javascript
Java
Plugins
Content types

Identity

Application Name
Version
User Agent