Works with Extensions

Table of contents

Description

Added to Zennoposter 7.6.0.0 in "Beta" status

With this action, you can interact with browser extensions within ZennoPoster.

How to add the action to a project?

Via the context menu: Add action β†’ Browser β†’ Works with Extensions

Or use smart search.


Where can it be applied?

  • Ad blocking on websites

  • Using crypto wallets and various interactions with blockchain

  • VPN

  • Any other features that browser extensions provide


How to work with action?

Activate extension

Opens extension Popup (if extension has it).

Action activates extension by ID or by name

  • Name or ID of extension - how to find the extension.

  • Value - here you should insert name or ID of the extension.

To get ID or Name of an extension use Get list of extensions action.

Β 

var extension1 = instance.GetExtensionById("EXTENSION_ID"); extension1 = instance.GetExtensionByName("EXTENSION_NAME"); extension1.Activate();


Add extension

Installs extension using CRX file.

  • Path to the file - path to the .crx file

  • Pause (sec.) - pause might be useful during the installation process of some extensions, to ensure, that it was installed correctly, before working with it.

instance.InstallCrxExtension("PATH_TO_CRX_FILE");

Remove extension

Β 

Removes an extension by Name or by ID

  • Name or ID of extension - how to find the extension.

  • Value - here you should insert name or ID of the extension.

var extension1 = instance.GetExtensionById("EXTENSION_ID"); extension1 = instance.GetExtensionByName("EXTENSION_NAME"); instance.UninstallExtension(extension1); // OR... instance.UninstallExtension("EXTENSION_ID");

Get list of extensions

With this action you can save Name or IDs of all installed extensions to the list.

  • Select format to output:

    • Name

    • ID

    • Name | ID

  • Output results to list - select the list where information will be saved


How to save extension state between project execution?

To save all extensions and their state you should use profile-folder, all data related to extensions will be saved automatically.


How to download browser extension as a .crx file

Preparing your browser

The first thing you need to do is prepare your personal Chrome browser.

  1. Go to the Chrome web store

  2. Find one of the extensions that can download .crx files from extension pages and install it in your browser. Examples of such extensions:

    1. CRX Extractor/Downloader - this one will be used further for example.

    2. Get CRX

    3. Extension Source Downloader


Downloading an extension file

Downloading a .crx file using CRX Extractor/Downloader as an example

  1. Go to the page of the extension you need. For example - Google Translate

  2. Activate CRX Extractor/Downloader and click on the β€œDownload as CRX” button

    Β 

  3. Choose where to save the file.


Userful links:

  1. πŸ’»Browser window

  2. Profile folder usage guide