Mike Taylor, Opera Software
@miketaylrSoþlice on þam dagum wæs geworden gebod fram þam casere augusto. þæt eall ymbehwyrft wære tomearcod
Forsoþe it is don, in þo daÿis a maundement wente out fro cesar august, þat al þe world shulde ben discriued
And it came to passe in those dayes, that there went out a decree from Cesar Augustus, that all the world should be taxed.
Navigator
"Mozilla/5.0
(Macintosh; Intel Mac OS X 10_7_3)
AppleWebKit/535.19
(KHTML, like Gecko)
Chrome/18.0.1025.163
Safari/535.19 YI"
"Mozilla/5.0
(Macintosh; Intel Mac OS X 10_7_3)
AppleWebKit/535.19
(KHTML, like Gecko)
Chrome/18.0.1025.163
Safari/535.19 YI"
The
registerContentHandler()
method allows sites to register themselves as possible handlers for content in a particular MIME type.
navigator.unregisterContentHandler()
navigator.isContentHandlerRegistered()
navigator.registerContentHandler(
"text/x-cheeseburger", //MIME type
"/code/cb.html?cb=%s", //handler
"Cheeseburger Parser" //title
);
The
registerProtocolHandler()
method allows Web sites to register themselves as possible handlers for particular schemes.
navigator.unregisterProtocolHandler()
navigator.isProtocolHandlerRegistered()
navigator.registerProtocolHandler(
"tel", //protocol
"/pres/protocolhandler.html?%s", //handler
"Telephony" //title
);
Prompts the user for permission to use their Web cam or other video or audio input.
navigator.getUserMedia({video: true},
function(stream){
video.src = URL.createObjectURL(stream) || stream;
},
fallback
});
The API is designed to tackle high-value use cases related to gaming, and is not meant to be used as a generic notification mechanism.
navigator.vibrate(200);
navigator.vibrate([200, 100, 2000]);
Get in touch.