-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for protocol handlers (mailto, etc.) #83
Comments
This is currently not possible (without manually changing Windows registry to register mailto handler) because FirefoxPWA currently does not register itself to the OS as an available mailto handler. It seems registering custom protocol handlers shouldn't be too hard, so I will probably implement this in the next release. |
I had to prioritize some other tasks over this in the recent releases, so unfortunately, this is still not implemented, but I hope I will be able to implement it in the next release for real. The main problem is that there are two ways to register protocol handlers as a website - One is to use existing and already standardized Despite I think I know how to do this, but I just wanted to comment about some difficulties in implementing this and to let you know why it is taking so long. |
I know this took a very long time, but I finally finished it (almost). Protocol handlers will be supported in 2.0.0 which should be released soon. For privacy and security reasons, protocol handlers are not automatically registered when you install a web app. However, they can be manually enabled/disabled from the extension after the web app has been installed: Enabled handlers are registered to the operating system and should be able to be called from any other program. Both manifest-based protocol handlers and ones registered dynamically using The only thing I didn't manage to implement was macOS support because I don't know how to handle URL open requests. I will create a new issue to track this soon. |
Did this feature end up being removed at some point? I've added a couple of PWAs in Windows using extension version 2.7.3, but I can't find any options like the ones being shown above. I'm just trying to register a PWA as a mailto handler. |
TLDR: The feature still exists, but is partially broken due to a bug. This will be fixed. No, this feature still exists. The "Protocol Handlers" section only exists if there are any available protocol handlers, either registered in the manifest or added through the However, the registration through If you know the protocol handler URL, you can also try to register it manually by editing "custom_protocol_handlers": [
{
"protocol": "mailto",
"url": "https://example.com?mailto=%s"
}
], |
I just pulled up the manifest and the handler isn't listed there, so I'm assuming they use the JS api which is affected by #385. I've subscribed to that issue so I'll keep an eye out for fixes. Thank you! |
I'm running protonmail as a PWA and would really like to be able to register it as a mailto: handler. I can't seem to select the shortcut or the FirefoxPWA.exe for it. I have protonmail registered as the mailto: handler for firefoxPWA.exe.
The text was updated successfully, but these errors were encountered: