58
Table of Contents
What Is Amazon Silk?....................................................................................................................1
Split Browser Architecture.......................................................................................................1
Machine Learning..................................................................................................................2
Getting Started with Amazon Silk.....................................................................................................3
Are You an Amazon Silk User?.................................................................................................3
Are You a Site Owner?...........................................................................................................3
Accessing the User Guide.......................................................................................................4
Accessing the Settings Menu...................................................................................................4
Developing Web Content for Amazon Silk..........................................................................................6
Responsive Web Design.........................................................................................................6
How Does Responsive Web Design Work?........................................................................8
Responsive Design and Amazon Silk................................................................................9
The Takeaway.............................................................................................................11
Additional Resources...................................................................................................11
Feature Detection................................................................................................................12
How To Detect a Feature...............................................................................................12
Additional Resources...................................................................................................13
User Agent Strings and Detection...........................................................................................13
User Agent String Examples..........................................................................................14
User Agent Detection...................................................................................................15
Media Handling...................................................................................................................16
Images...................................................................................................................... 16
Audio.........................................................................................................................16
Video.........................................................................................................................17
Touch................................................................................................................................ 17
Touch Example Using jQuery Mobile...............................................................................18
Additional Resources...................................................................................................20
Screen Resolution...............................................................................................................20
Secure Connections.............................................................................................................22
JavaScript ..........................................................................................................................22
JavaScript Loading......................................................................................................23
Remote Debugging..............................................................................................................23
Remote Debugging for Older Versions of Silk....................................................................24
Do Not Track.......................................................................................................................26
Additional Resources...................................................................................................27
HTML5 Support...........................................................................................................................28
HTML5 APIs.......................................................................................................................28
Animation Timing API...................................................................................................29
Application Cache API..................................................................................................29
Cross-Origin Resource Sharing......................................................................................29
File API......................................................................................................................30
File System API...........................................................................................................30
Geolocation API..........................................................................................................30
Indexed Database API..................................................................................................30
Server-Sent Events......................................................................................................31
Touch Events..............................................................................................................31
XMLHttpRequest Level 2..............................................................................................31
Web SQL Database.....................................................................................................31
Web Storage...............................................................................................................31
Web Workers API........................................................................................................31
WebGL......................................................................................................................32
WebSocket API...........................................................................................................32
HTML5 Elements and Attributes.............................................................................................32
Audio Element.............................................................................................................32
Canvas Element..........................................................................................................33
iii
Amazon Silk Developer Guide