How to reset external protocol handler in Chrome?
A while back I selected "Do nothing" when Chrome asked me how to handle a specific url. Now I want Chrome to launch xdg-open, which again can launch the correct application, but I can't figure out how to undo my "Do nothing" selection. Any ideas?
Thanks!
2 Answers
I found a solution to this on Windows, and it turns out it also works on Ubuntu:
- Close Chrome
- Open
~/.config/google-chrome/Local Statein a text editor. - Search for
protocol_handler. - To make Chrome ask you how to handle a specific protocol again, remove the line corresponding to that protocol in the list of excluded schemes.
- Save and exit.
Update: protocol_handler has been moved to the file Preferences in the subdirectory Default. If you are using multiple profiles, the file is also located in the folders Profile 2, Profile 3 etc.
Update: protocol_handler no longer seems to exist, this is now handled directly within the Chrome settings, see . Currently it is found in Settings -> Privacy and Security -> Site settings -> Handlers
On Windows, this setting now appears to be located at
~/AppData/Local/Google/Chrome/User Data/Default/PreferencesDo a search for excluded_schemes. It will be a dictionary of custom protocol names set to true or false. Find the desired custom protocol in the dictionary and delete that entry, save the file, then restart Chrome.