File: background.js

package info (click to toggle)
dtrx 8.5.3-3
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,756 kB
  • sloc: python: 1,841; javascript: 51; makefile: 37; sh: 21
file content (6 lines) | stat: -rw-r--r-- 190 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
let color = '#3aa757';

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