Start of project

This commit is contained in:
benjaminramey
2019-11-09 21:30:27 -06:00
commit 708eed82e5
15 changed files with 9443 additions and 0 deletions

16
src/background.js Normal file
View File

@@ -0,0 +1,16 @@
chrome.runtime.onInstalled.addListener(function() {
var data = {
apiKey: "the key",
groupings: []
};
chrome.storage.sync.set(data, function() {
console.log("data initialized");
});
});
chrome.browserAction.onClicked.addListener(function() {
chrome.tabs.create({
url: 'page/groupings.html'
});
});