点击链接直接打开本地文件 icon

点击链接直接打开本地文件

Extension Actions

How to install Open in Chrome Web Store
CRX ID
njacpndhhhiledgbfffdahoecjlakpne
Description from extension meta

点击网页内的超链接,并可以使用 Native Messaging 直接打开本地文件。

Image from store
点击链接直接打开本地文件
Description from store

此扩展程序允许您直接打开本地文件链接“file://”(而不是下载)。 您只需在本地计算机上编写manifest 文件、reg 文件和您的程序。 您可以遵循 chrome 开发指南 (https://developer.chrome.com/docs/apps/nativeMessaging/)。

使用json格式“message”接收文件名,使用“host”接收主机名。

您可以使用任何程序语言编写本地程序来接收 chrome 扩展发送的 json 格式。