-
Notifications
You must be signed in to change notification settings - Fork 1
/
background.html
30 lines (29 loc) · 939 Bytes
/
background.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<html>
<head><title>Finbook++ Options</title></head>
<script type="text/javascript" src="fancy-settings/source/lib/store.js"></script>
<script type="text/javascript">
var settings = new Store("settings", {
"auto_plans": true,
"auto_goals": true,
"auto_feedback": true,
"collapse_plan_desc": true,
"collapse_plan_creator": true,
"collapse_goal_desc": true,
"collapse_goal_commentors": true,
"collapse_feedback_comment": true,
"reorder_plan_by_goal": true,
"outline_plans": true,
"outline_goals": false,
"outline_goal": false,
"outline_feedback": false,
"collapse_expand_all": true,
"hide_goal_header": false
});
//Only operation is to load localstorage options
chrome.extension.onRequest.addListener(function(request, sender, sendResponse) {
if (request.action == 'gpmeGetOptions') {
sendResponse(settings.toObject());
}
});
</script>
</html>