Add new encryption scheme in chrome addon/firefox webextension

This commit is contained in:
2017-04-17 20:39:53 +02:00
parent c3fab882f2
commit 36db5056a3
5 changed files with 178 additions and 61 deletions

View File

@@ -19,6 +19,7 @@
function getPref(key)
{
// Inspired from https://github.com/akiomik/chrome-storage-promise/
var promise = new Promise((resolve, reject) => {
chrome.storage.local.get(key, (items) => {
let err = chrome.runtime.lastError;