Files
Simeon Vincent 663417a08a Update getting started code for MV3 (#543)
* Update getting started code for MV3
* Small polish & cleanup in getting started
* Minor: reorder manifest version fields
* Updates based on article drafting process
* Cleanup from getting-started runthrough
2021-02-04 16:38:33 -08:00

7 lines
190 B
JavaScript

let color = '#3aa757';
chrome.runtime.onInstalled.addListener(() => {
chrome.storage.sync.set({ color });
console.log('Default background color set to %cgreen', `color: ${color}`);
});