blob: a3aeae1696ef55d742f2e33ffc6f042b84cf81ac [file] [log] [blame]
function isEmpty(obj) {
return Object.keys(obj).length === 0;
}
chrome.runtime.onInstalled.addListener(function(details) {
chrome.storage.sync.get(null, function(items) {
if (isEmpty(items)) {
chrome.storage.sync.set({"list": true, "thread": true});
}
});
});