about summary refs log tree commit diff stats
path: root/src/assets/javascripts/data.js
blob: fad2ea9d30dfec9efb36024bfb5b6da891330e3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"use strict";

let exceptions;

function setExceptions(val) {
    exceptions = val;
    browser.storage.sync.set({ exceptions })
};

let theme;
function setTheme(val) {
    theme = val;
    browser.storage.sync.set({ theme })
};

export default {
    exceptions,
    theme,
    setTheme,
    setExceptions,
}