Working with Extensions
🔗 Original Page — Source for this material
Description
Added in ZennoPoster 7.6.0.0 as “Beta”
With this action, you can manage extensions in the browser.
How do I add this action to a project?
Via the context menu Add Action → Browser → Working with Extensions

Or use the ❗→ smart search.
Where can you use this?
- Ad blocking on websites
- Using crypto wallets and interacting with blockchain
- Connecting to a VPN
- Any other functions provided by browser extensions
How do you work with this action?
Activating an Extension

Activating an extension means opening its popup window, if it has one.
The cube activates the extension by its name or ID (similar to clicking the extension icon in a regular browser)
- Extension Name or ID – what value to look for.
- Value – the value used to search for and activate the extension.
To get the Id or Name of the extension, use the Get Extension List option.
C# Equivalent
var extension1 = instance.GetExtensionById("EXTENSION_ID");
extension1 = instance.GetExtensionByName("EXTENSION_NAME");
extension1.Activate();
Installing an Extension

Installs an extension from a CRX file.
How to download an extension as a CRX file is described below, in the paragraph How to Download a crx Extension File.
- File Path – path to the crx file
A "Pause" option was added in 7.7.0.0
- Pause (sec.) – a pause may be needed when installing certain extensions to make sure it is installed correctly before you start working with it.
C# Equivalent
instance.InstallCrxExtension("PATH_TO_CRX_FILE");
Removing an Extension

Removes an extension by its name or ID (similar to clicking the extension icon in a regular browser)
- Extension Name or ID – what value to look for.
- Value – the value used to search for and activate the extension.
To get the Id or Name of the extension, use the Get Extension List option.
C# Equivalent
var extension1 = instance.GetExtensionById("EXTENSION_ID");
extension1 = instance.GetExtensionByName("EXTENSION_NAME");
instance.UninstallExtension(extension1);
// OR...
instance.UninstallExtension("EXTENSION_ID");
Getting the List of Extensions

Returns a list with information about all installed extensions
- Output Format – the format in which the info will be saved (*Name, *ID, or *Name and ID)
- Put Result in List – which ❗→ list will store the data about the extensions
C# Equivalent
var allExtensions = instance.GetAllExtensions();
//allExtensions[0].Name
//allExtensions[0].Id
How to Store Extension State Between Project Runs
You should use ❗→ profile folders for this. All installed extensions and their state will be automatically saved there.
How to Download a crx Extension File
Preparing the Browser
First, you’ll need to set up your Chrome browser at home.
-
Go to the extension store
-
Find one of the extensions that can download crx files directly from extension pages and install it in your browser. Here are some examples:
-
CRX Extractor/Downloader – this one will be used as an example below.
Downloading the Extension File
Downloading a crx file using CRX Extractor/Downloader
- Go to your desired extension’s page. For example – Google Translate
- Activate the extension and click the button to download the extension

- Choose where to save the file