Category filter

Script to fetch Google Chrome extensions installed on Mac

Organizations consider Google Chrome a necessary utility that improves users’ browsing experience. However, as an administrator, if you want to exert more control over the Chrome browser and determine the extensions installed on the macOS devices, you can get it done quickly with the help of scripts. The Execute Custom Script action enables you to execute customized scripts for performing necessary operations tailored for your needs.


The Sample Scripts provided below are adapted from third-party Open-Source sites.

Get the list of extensions

Like every app, browser extensions also have a unique ID associated with them, where each extension ID is 32 characters long. The following scripts fetch the complete list of extension IDs installed on the devices.

Find if a given extension is installed on Mac

The following scripts help you to determine if a specific extension is installed on Mac. You can search for a given extension on the device using its extension ID.

To obtain the extension ID,

  • Open Google Chrome on the device.
  • Type in chrome://extensions on the search tab. It lists all the extensions installed on the device.
  • Click on the Details button corresponding to the required extension. It appends the extension ID in the search bar.

get extension id from chrome


  • It is recommended to manually validate the script execution on a system before executing the action in bulk.
  • Hexnode will not be responsible for any damage/loss to the system on the behavior of the script.
  • Sample Script Repository