| { |
| // chrome-extension://hhaomjibdihmijegdhdafkllkbggdgoj/ |
| "key": "MIGdMA0GCSqGSIb3DQEBAQUAA4GLADCBhwKBgQDlhpGghtnNJ7pluQN0RDwbUxwwi99oM35ZEaFYvxPLrf0fIEC18cfDdJi6u4aJ+UoSpgzK731L0P/k4LvK2Rz9kVKOy0+IvuRrWkT7lbrLfA1UEBh02OA1AAshjmyRg4IxCqgl8ia8XWq6HKegS1y1KXZYGgb4qp7Bh9VC4cIzswIBIw==", |
| "manifest_version": 2, |
| "name": "Files", |
| "version": "3.0", |
| "description": "File Manager", |
| "incognito" : "split", |
| "icons": { |
| "16": "common/images/icon16.png", |
| "32": "common/images/icon32.png", |
| "48": "common/images/icon48.png", |
| "64": "common/images/icon64.png", |
| "96": "common/images/icon96.png", |
| "128": "common/images/icon128.png", |
| "256": "common/images/icon256.png" |
| }, |
| "permissions": [ |
| "contextMenus", |
| "experimental", |
| "echoPrivate", |
| "storage", |
| "fileBrowserHandler", |
| "fileBrowserPrivate", |
| "fullscreen", |
| "mediaPlayerPrivate", |
| "mediaGalleriesPrivate", |
| "metricsPrivate", |
| "notifications", |
| "commandLinePrivate", |
| "unlimitedStorage", |
| "webview", |
| // Comment out chrome:// permissions to debug on a desktop browser. |
| "chrome://extension-icon/", |
| "chrome://resources/", |
| "chrome://theme/", |
| "tabs", |
| "clipboardWrite", |
| "clipboardRead", |
| "power", |
| "https://docs.google.com/", |
| "https://*.googleusercontent.com/", |
| "https://drive.google.com/" |
| ], |
| "file_browser_handlers": [ |
| { |
| "id": "play", |
| "default_title": "__MSG_PLAY_MEDIA__", |
| "default_icon": "common/images/file_types/200/audio.png", |
| "file_filters": [ |
| "filesystem:*.amr", |
| "filesystem:*.flac", |
| "filesystem:*.m4a", |
| "filesystem:*.mp3", |
| "filesystem:*.oga", |
| "filesystem:*.ogg", |
| "filesystem:*.wav" |
| ] |
| }, |
| { |
| "id": "watch", |
| "default_title": "__MSG_PLAY_MEDIA__", |
| "default_icon": "common/images/file_types/200/video.png", |
| "file_filters": [ |
| "filesystem:*.3gp", |
| "filesystem:*.avi", |
| "filesystem:*.m4v", |
| "filesystem:*.mkv", |
| "filesystem:*.mov", |
| "filesystem:*.mp4", |
| "filesystem:*.mpeg", |
| "filesystem:*.mpeg4", |
| "filesystem:*.mpg", |
| "filesystem:*.mpg4", |
| "filesystem:*.ogm", |
| "filesystem:*.ogv", |
| "filesystem:*.ogx", |
| "filesystem:*.webm" |
| ] |
| }, |
| { |
| "id": "mount-archive", |
| "default_title": "__MSG_MOUNT_ARCHIVE__", |
| "default_icon": "common/images/file_types/200/archive.png", |
| "file_filters": [ |
| "filesystem:*.rar", |
| "filesystem:*.zip" |
| ] |
| }, |
| { |
| "id": "view-pdf", |
| "default_title": "__MSG_OPEN_ACTION__", |
| "default_icon": "common/images/file_types/200/pdf.png", |
| "file_filters": [ |
| "filesystem:*.pdf" |
| ] |
| }, |
| { |
| "id": "view-swf", |
| "default_title": "__MSG_OPEN_ACTION__", |
| "default_icon": "common/images/file_types/200/generic.png", |
| "file_filters": [ |
| "filesystem:*.swf" |
| ] |
| }, |
| { |
| "id": "view-in-browser", |
| "default_title": "__MSG_OPEN_ACTION__", |
| "default_icon": "common/images/file_types/200/generic.png", |
| "file_filters": [ |
| "filesystem:*.htm", |
| "filesystem:*.html", |
| "filesystem:*.mht", |
| "filesystem:*.mhtml", |
| "filesystem:*.txt" |
| ] |
| }, |
| { |
| "id": "gallery", |
| "default_title": "__MSG_OPEN_ACTION__", |
| "default_icon": "common/images/file_types/200/image.png", |
| "file_filters": [ |
| // Image formats |
| "filesystem:*.bmp", |
| "filesystem:*.gif", |
| "filesystem:*.ico", |
| "filesystem:*.jpg", |
| "filesystem:*.jpeg", |
| "filesystem:*.png", |
| "filesystem:*.webp", |
| // Video formats |
| "filesystem:*.3gp", |
| "filesystem:*.avi", |
| "filesystem:*.m4v", |
| "filesystem:*.mkv", |
| "filesystem:*.mov", |
| "filesystem:*.mp4", |
| "filesystem:*.mpeg", |
| "filesystem:*.mpeg4", |
| "filesystem:*.mpg", |
| "filesystem:*.mpg4", |
| "filesystem:*.ogm", |
| "filesystem:*.ogv", |
| "filesystem:*.ogx", |
| "filesystem:*.webm" |
| ] |
| }, |
| { |
| "id": "open-hosted-generic", |
| "default_title": "__MSG_HOSTED__", |
| "default_icon": "common/images/file_types/200generic.png", |
| "file_filters": [ |
| "filesystem:*.gdraw", |
| "filesystem:*.gtable", |
| "filesystem:*.gform" |
| ] |
| }, |
| { |
| "id": "open-hosted-gdoc", |
| "default_title": "__MSG_HOSTED__", |
| "default_icon": "common/images/file_types/200/generic.png", |
| "file_filters": [ |
| "filesystem:*.gdoc" |
| ] |
| }, |
| { |
| "id": "open-hosted-gsheet", |
| "default_title": "__MSG_HOSTED__", |
| "default_icon": "common/images/file_types/200/generic.png", |
| "file_filters": [ |
| "filesystem:*.gsheet" |
| ] |
| }, |
| { |
| "id": "open-hosted-gslides", |
| "default_title": "__MSG_HOSTED__", |
| "default_icon": "common/images/file_types/200/generic.png", |
| "file_filters": [ |
| "filesystem:*.gslides" |
| ] |
| }, |
| // The following handlers are used only internally, therefore they do not |
| // have any file filter. |
| // Automatically opens a volume and later close Files.app when unmounted. |
| { |
| "id": "auto-open", |
| "default_title": "__MSG_OPEN_ACTION__", |
| "default_icon": "common/images/file_types/200/generic.png", |
| "file_filters": [] |
| }, |
| // Selects the passed file after launching Files.app. |
| { |
| "id": "select", |
| "default_title": "__MSG_OPEN_ACTION__", |
| "default_icon": "common/images/file_types/200/generic.png", |
| "file_filters": [] |
| }, |
| // Opens the passed directory after launching Files.app. |
| { |
| "id": "open", |
| "default_title": "__MSG_OPEN_ACTION__", |
| "default_icon": "common/images/file_types/200/generic.png", |
| "file_filters": [] |
| } |
| ], |
| // Required to import scripts in a web worker. Note, that in Apps v2, it is |
| // enough that anything is passed to web_accessible_resources. If there is |
| // at least any file, then all files are allowed. http://crbug.com/179127. |
| "web_accessible_resources": ["foreground/js/metadata/byte_reader.js"], |
| "app": { |
| "background": { |
| "scripts": [ |
| "chrome://resources/js/load_time_data.js", |
| "chrome://resources/js/cr.js", |
| "chrome://resources/js/cr/event_target.js", |
| "chrome://resources/js/cr/ui/array_data_model.js", |
| "common/js/async_util.js", |
| "common/js/path_util.js", |
| "common/js/progress_center_common.js", |
| "common/js/util.js", |
| "background/js/volume_manager.js", |
| "background/js/file_operation_handler.js", |
| "background/js/file_operation_manager.js", |
| "background/js/test_util.js", |
| "background/js/progress_center.js", |
| "background/js/background.js"] |
| }, |
| // chrome-extension://pmfjbimdmchhbnneeidfognadeopoehp is the image loader extension. |
| "content_security_policy": "default-src 'none'; script-src 'self' chrome://resources chrome-extension://pmfjbimdmchhbnneeidfognadeopoehp; style-src 'self' 'unsafe-inline' chrome://resources; frame-src 'self' about:; img-src 'self' chrome://resources chrome://theme data: https://docs.google.com https://*.googleusercontent.com chrome://extension-icon; media-src 'self' https://*.googleusercontent.com; connect-src https://drive.google.com; object-src 'self'" |
| } |
| } |