Sauron: One App to rule them all and the Web's power to bind them.
Sauron: One Web App to rule them all and the Web's power to bind them.
Do we really have to talk about it?
The layout engine that render HTML, CSS, XUL (User Interface) and JavaScript.
Firefox, Firefox for Android and Firefox OS share the same engine with the same API and same version!
Yes! No difference about the Gecko version of Firefox for Android or Firefox (the only difference is the hardware support like the vibration ).
manifest.webapp - ID Card of the App
var checkIfInstalled = navigator.mozApps.getSelf();
checkIfInstalled.onsuccess = function() {
if (!checkIfInstalled.result) {
var m_app = navigator.mozApps.install('http://' + document.location.hostname + '/manifest.webapp');
m_app.onsuccess = function(data) {
console.log("Install successful");
};
m_app.onerror = function() {
console.log("Install error");
};
}
};
checkIfInstalled.onerror = function() {
console.log("Check install failed\n\n:" + checkIfInstalled.error.name);
};
Firefox OS Bookmark for Wordpress
Transform your site in Open Web App and upload it on the Firefox Marketplace!
Go to the marketplace!