custom-protocol-detection
custom-protocol-detection copied to clipboard
Protocol detection does not fail on Firefox Quantum
Custom protocol detection succeeds even when there is no app handler for it on Firefox 57 MacOS.
Firefox quantum always opens "select application" dialog. Has anyone found a way to prevent this. This is now similar to MS edge where ms store is opened.
This happens because the application's entry, along with the protocol, gets saved in firefox browser's preferences.
On Firefox browser, after manually uninstalling the app, you must refresh the Firefox browser to reset the browser preferences. To refresh the Firefox browser:
-
On Firefox browser, click the Menu button (on upper-right corner) and then click Help.
-
From the Help menu, choose Troubleshooting Information.
-
Click the Refresh Firefox button in the upper-right corner of the Troubleshooting Information page.
-
To continue, click Refresh Firefox in the confirmation window.
This will clear the preferences, and now if you run your code, it will go into the failure block.
@poojas2288 Is there any automated way to do above procedure for firefox
@peererror no as of now, since this is a browser limitation/behaviour, it cannot be handled externally.