-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
84 lines (67 loc) · 2.01 KB
/
manifest.json
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
//Generic header stuff
"manifest_version" : 2,
"name" : "Scroll History Manager",
"version" : "0.0.0.1",
"default_locale" : "en",
"description" : "Maintains a history of your scrolling, and allows you to undo a major page position change",
// "icons" : {
// "128" : "icon128.png",
// "48" : "icon48.png"
// "16" : "icon16.png"
//
// },
"homepage_url" : "https://github.com/richardmin97/ScrollHistoryExtension",
"author" : "Richard Min @richardmin97",
"incognito" : "split",
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
"file_browser_handlers": [ {
"default_title": "Open with PDF Viewer",
"file_filters": [ "filesystem:*.pdf" ],
"id": "open-as-pdf"
} ],
"mime_types": [ "application/pdf" ],
"options_page": "options/options.html",
"options_ui": {
"chrome_style": true,
"page": "options/options.html"
},
"permissions": [ "fileBrowserHandler", "webRequest", "webRequestBlocking", "\u003Call_urls>", "tabs", "webNavigation", "storage", "streamsPrivate" ],
"storage": {
"managed_schema": "preferences_schema.json"
},
"web_accessible_resources": [ "getFrameId", "content/web/viewer.html", "http:/*", "https:/*", "ftp:/*", "file:/*", "chrome-extension:/*", "filesystem:/*", "drive:*" ],
"browser_action" :
{
"default_icon" : "icons/icons.png",
"default_title" : "ScrollHistory",
"default_popup" : "popup/popup.html"
},
"background" :
{
"scripts" : [ "jquery/jquery.js"]
},
"permissions" :
[
"http://*/*",
"https://*/*",
"tabs",
"storage",
"contextMenus"
],
// "commands" :
// {
//
// },
//
"content_scripts" :
[
{
"all_frames" : true,
"css" : ["css/style.css"];
"js" : ["js/scrollMaintainer.js", "jquery/jquery.js"],
"matches" : ["http://*/*", "https://*/*", "ftp://*/*", "file://*/*"],
"run_at" : "document_start"
}
]
}