Created
April 29, 2011 20:53
-
-
Save swieton/949022 to your computer and use it in GitHub Desktop.
Creating Firefox permissions for offline web apps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mkdir prototype_profile | |
$ cd prototype_profile | |
$ sqlite3 permissions.sqlite3 # This filename is important | |
sqlite> CREATE TABLE moz_hosts ( id INTEGER PRIMARY KEY,host TEXT,type TEXT,permission INTEGER, expireType INTEGER, expireTime INTEGER); | |
sqlite> INSERT INTO "moz_hosts" VALUES(1,'localhost','offline-app',1,NULL,NULL); | |
sqlite> .quit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment