GIF on, Firefox!

Robert Katzki, Ubilabs

GIF on, Firefox!

by Robert Katzki




The Firefox Marketplace is an open and non-proprietary online marketplace for Web applications built using HTML5.

Fantastic!

What do we need?

A working web app.

gifalicious:



Make it work offline.

      CACHE MANIFEST
      # rev 1 - 2014-02-14T15:36:20.424Z

      CACHE:
      images/8fe8c56f.logo.png
      scripts/dd2dc3b0.main.js
      styles/07335839.main.css

      NETWORK:
      *
      /_api/*
    

Add app logo.

Recommended sizes:

More logo files!

Automate using Grunt.

Add manifest.webapp

      {
        "name": "gifalicious",
        "description": "… the best animated gifs …",
        "version": "1.0.0",
        "developer": {
          "name": "Robert Katzki",
          "url": "http://katzki.de"
        },
      
    
      
        "icons": {
          "16": "/logos/firefox-icon-16x16.png",
          "30": "/logos/firefox-icon-30x30.png",
      
        },
        "launch_path": "index.html",
        "appcache_path": "manifest.appcache",
      
    
      
        "type": "web",
        "permissions": {
          "systemXHR": {
            "description": "Communicate with the server."
          }
        }
      }
		

Type?

web

Regular web app, running from own server. The default.

privileged

Packaged app with advanced WebAPI access, approved by app store.

certified

Only system apps. Access to critical WebAPIs.

Permissions?

Web app

Privileged app

Certified app

Permissions are not guaranteed

Debug

App Manager

Regular Developer Tools

Publish

Select platforms

Thanks!

Questions?



26./27. April, Hamburg

http://2014.jsunconf.eu/

Fork me on Github