Skip to content

Commit

Permalink
FF: added an add-on ID (#100)
Browse files Browse the repository at this point in the history
This way your saved tabs will persist across Firefox sessions.
  • Loading branch information
Chris White committed Dec 28, 2018
1 parent 83edc19 commit 72ffa2f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ffize.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ delete manifest['offline_enabled'];
delete manifest['options_page'];
delete manifest['background']['persistent'];

// Add the Add-on ID so localStorage will persist
manifest.browser_specific_settings = {
"gecko": {
"id": "{262561cf-8570-4815-9464-0152a0fde25c}"
}
};

var idx = manifest['permissions'].indexOf('chrome://favicon/');
if(idx > -1) {
manifest['permissions'].splice(idx,1);
Expand Down

0 comments on commit 72ffa2f

Please sign in to comment.