chrome.fileBrowserHandler is file handlers?

128 views
Skip to first unread message

Jackie Han

unread,
Jun 22, 2021, 2:23:43 PM6/22/21
to Chromium Extensions
My purpose is register file handler for some types of files on Chrome OS, i.e. "Open with..." function on Files app. I tried chrome.fileBrowserHandler api on Chrome OS. But it has some problems.

1. in service worker, chrome.fileBrowserHandler.onExecute.addListener will fail.

2. in an extension page, chrome.fileBrowserHandler.onExecute.addListener works. If the extension page is opened, "open with..." can work. But if the extension page is closed, "open with..." can not work.

There is an issue: Remove File Browser Handler API. but it does not remove it.

There is a new fugu api: File Handling API. It is currently in an experimental state. But it says, in the past, chrome packaged app has the capability to handle files.

Question: a chrome extension can register file handler on Chrome OS like an app for "Open with..."?
Reply all
Reply to author
Forward
0 new messages