Add support for FirefoxOS

Lorenz Hübschle-Schneider 11 years ago
parent dee969f474
commit 1fd9ff1fe4
  1. 3
      js/app.js
  2. 8
      manifest.webapp

@ -1,3 +1,6 @@
document.addEventListener('deviceready', function() {
navigator.splashscreen.hide();
}, false);
// FirefoxOS needs this for :active CSS rules (since it ignores :hover anyway)
document.addEventListener("touchstart", function(){}, true);

@ -1,13 +1,7 @@
{
"name": "Glowing Bear",
"description": "WeeChat Web frontend",
"launch_path": "/glowing-bear/index.html",
"icons": {
"128": "/glowing-bear/assets/img/glowing_bear_128x128.png",
"60": "/glowing-bear/assets/img/glowing_bear_60x60.png",
"90": "/glowing-bear/assets/img/glowing_bear_90x90.png",
"32": "/glowing-bear/assets/img/favicon.png"
},
"launch_path": "/index.html",
"installs_allowed_from": [
"*"
],

Loading…
Cancel
Save