Software & AppsOperating SystemLinux

How To Reset External Protocol Handler in Chrome?

Ubuntu 7

In this article, we will delve into the process of resetting the external protocol handler in Google Chrome. The external protocol handler in Chrome is a feature that allows the browser to open certain links with an external application. However, there might be instances where you need to reset this handler. Let’s explore how to do this in a step-by-step manner.

Quick Answer

To reset the external protocol handler in Chrome, you need to locate and edit a specific file within your Chrome user data directory. Close Chrome, open the file in a text editor, search for the "protocol_handler" section, find and delete the entry corresponding to the URL or protocol you want to reset, save the changes, and restart Chrome.

What is an External Protocol Handler?

Before we dive into the process, it is important to understand what an external protocol handler is. When you click on a link in Chrome that leads to a certain protocol (like a mailto: link for emails or a tel: link for telephone numbers), Chrome can open this link in an external application that handles this protocol. For example, a mailto: link could be opened in your default email client.

Locating the External Protocol Handler

The external protocol handler settings are stored in a specific file within your Chrome user data directory. The exact location of this file depends on your operating system:

  • On Windows: ~/AppData/Local/Google/Chrome/User Data/Default/Preferences
  • On Ubuntu: ~/.config/google-chrome/Local State
  • On Mac: ~/Library/Application Support/Google/Chrome/Local State

How to Reset the External Protocol Handler

Now that we’ve located the file, let’s go through the steps to reset the external protocol handler.

Step 1: Close Chrome

Ensure that all instances of Chrome are closed. This is to prevent any conflicts or issues when editing the file.

Step 2: Open the File

Open the file in a text editor. This could be Notepad on Windows, TextEdit on Mac, or any other text editor of your choice.

Step 3: Search for the Protocol Handler

In the text editor, use the search function (usually accessible with Ctrl+F or Cmd+F) and look for protocol_handler.

Step 4: Find the Entry

Within the protocol_handler section, you will find a list of excluded schemes or a dictionary of custom protocol names. Find the entry that corresponds to the URL or protocol that you want to reset.

Step 5: Delete the Entry

Delete the entry that you found in the previous step. Be careful not to delete any other lines or characters, as this could cause issues with your Chrome settings.

Step 6: Save and Exit

Save the changes to the file and exit the text editor.

Step 7: Restart Chrome

Open Chrome again. The protocol handler for the specific URL or protocol should now be reset.

Conclusion

Resetting the external protocol handler in Chrome is a straightforward process once you know where to look and what to do. However, please note that the specific location of the file and the protocol_handler setting may vary depending on your operating system and Chrome version. If you are unable to find the protocol_handler section or the file mentioned above, you can try searching for it in other locations or check the official Chrome support forums or documentation for further assistance.

Remember to always be careful when editing system files and only make changes that you understand. If you’re unsure, it’s always a good idea to seek help from a professional or a trusted source.

What is the purpose of the external protocol handler in Chrome?

The external protocol handler in Chrome allows the browser to open specific links with an external application that handles the protocol. It enables seamless integration between Chrome and other applications for tasks such as opening email links in your default email client.

Why would I need to reset the external protocol handler in Chrome?

There might be instances where you need to reset the external protocol handler in Chrome if you encounter issues with certain links not opening in the expected external application. Resetting the handler can help resolve such issues.

How do I locate the external protocol handler file in Chrome?

The location of the external protocol handler file depends on your operating system. On Windows, it can be found at ~/AppData/Local/Google/Chrome/User Data/Default/Preferences. On Ubuntu, look for ~/.config/google-chrome/Local State, and on Mac, it is located at ~/Library/Application Support/Google/Chrome/Local State.

Can I reset the external protocol handler without closing Chrome?

No, it is necessary to close all instances of Chrome before resetting the external protocol handler. This ensures that there are no conflicts or issues when editing the file.

How do I delete the entry for the specific URL or protocol in the external protocol handler file?

To delete the entry, open the external protocol handler file in a text editor, locate the protocol_handler section, find the entry corresponding to the URL or protocol you want to reset, and simply delete that line. Remember to save the changes before exiting the text editor.

What should I do if I can’t find the `protocol_handler` section or the mentioned file?

If you are unable to locate the protocol_handler section or the file mentioned in the article, you can try searching for it in other locations within your Chrome user data directory. Alternatively, you can seek assistance from the official Chrome support forums or documentation for further guidance.

Leave a Comment

Your email address will not be published. Required fields are marked *