Get Started
Plugins
Macros
More information

Adding plugins to ONLYOFFICE Cloud

You can add a plugin to the Cloud service as an extension. It can be done for Google Chrome, Mozilla Firefox, Opera or, Microsoft Edge browsers.

There are two ways to create extensions: through the special script or manually.

Option 1

  1. Insert the script file into the plugin folder.
  2. Run the script. A folder with the extension-dist name will be created in the plugin folder.

    Extension dist

Option 2

  1. Create a main folder on your computer and put manifest.json and main.js extension files.
  2. Create a subfolder with the plugin files.
  3. In the main.js file, change the directory to the necessary plugin:

    (function(window, undefined){
        if ("frameEditor" == window.name)
        {
            var _url = chrome.extension.getURL("main.js");
            _url = _url.substr(0, _url.lastIndexOf("main.js"));
            var _baseUrl = _url + "helloworld/";
            var _configUrl = _baseUrl + "config.json";
            ...
        }
    })(window, undefined);
    
  4. Change the plugin name and description, the paths to the plugin icons and all the necessary plugin resources in the manifest.json file:

    {
        "name": "Asc.helloworld",
        "description": "Plugin for ONLYOFFICE. helloworld",
        "version": "1.0",
        "manifest_version": 2,
        "background": {
        },
        "browser_action": {
            "default_icon": {
                "19": "/helloworld/resources/img/icon.png",
                "38": "/helloworld/resources/img/icon@2x.png"
            }
        },
        "web_accessible_resources": [
            "/main.js",
            "/helloworld/scripts/helloworld.js",
            "/helloworld/config.json",
            "/helloworld/resources/img/icon.png",
            "/helloworld/resources/img/icon@2x.png",
            "/helloworld/index.html",
            "/helloworld/index_about.html"
        ],
        ...
    }
    
    Please note that when adding an extension to ONLYOFFICE App Directory, the Title and Summary are filled in automatically with the name and description parameters from the manifest.json file. You cannot change them later in the store.

After your extension is ready, upload it to the browser. Follow the instructions below for the browser you use.

  • Google Chrome
  • Mozilla Firefox
  • Opera
  • Microsoft Edge

Installing extensions to Google Chrome

  1. Launch your Chrome browser and go to chrome://extensions/.
  2. Turn on the Developer mode and click the Load unpacked button:

    Chrome developer mode
  3. Select the created main extension folder:

    Chrome extension folder
  4. The new extension is now available in your browser:

    Chrome extension
  5. Launch ONLYOFFICE Cloud and open any document to check if the new plugin is available in the editors:

    Hello world icon

Removing extensions from Google Chrome

Click the Remove button on the extension tab and, in the opened window, confirm your action:

Chrome removing extension

The plugin will be removed from ONLYOFFICE Cloud after page reload.

Installing extensions to Mozilla Firefox

  1. Launch your Mozilla browser and go to about:debugging.
  2. Choose the This Firefox tab and click the Load Temporary Add-on... button:

    Mozilla extensions
  3. Select the manifest.json file in the extension folder:

    Manifest
  4. The new extension is now available in your browser:

    Mozilla extension
  5. Launch ONLYOFFICE Cloud and open any document to check if the new plugin is available in the editors:


Removing plugins from Mozilla Firefox

Click the Remove button on the extension tab. The plugin will be removed from ONLYOFFICE Cloud after page reload.

Mozilla removing extension

Installing extensions to Opera

  1. Launch your Opera browser.
  2. Click the extensions icon in the top right corner of the browser window and, in the opened Extensions window, click Manage extensions:

    Opera extensions
  3. Turn on the Developer mode and click the Load unpacked button:

    Opera develoer mode
  4. Select the created main extension folder:

    Opera extension folder
  5. The new extension is now available in your browser:

    Opera extension
  6. Launch ONLYOFFICE Cloud and open any document to check if the new plugin is available in the editors:

    Hello world icon

Removing plugins from Opera

To remove the plugin from the Plugins tab in ONLYOFFICE editors, click the Disable button on the extension tab or turn off the switcher. You can enable the extension again at any time.

Opera disabling extension

To remove the extension completely from the Opera browser:

  1. Click the extension tab.
  2. Click the Remove extension button at the bottom of the page.
  3. In the opened window confirm your action:

    Opera removing extension

The plugin will be removed from ONLYOFFICE Cloud after page reload.

Installing extensions to Microsoft Edge

  1. Launch your Microsoft Edge browser and go to edge://extensions/.
  2. Go to the Extensions tab, turn on the Developer mode and click the Load unpacked button:

    Edge developer mode
  3. Select the created main extension folder:

    Edge extension folder
  4. The new extension is now available in your browser:

    Edge extension
  5. Launch ONLYOFFICE Cloud and open any document to check if the new plugin is available in the editors:


Removing plugins from Microsoft Edge

To remove the plugin from the Plugins tab in ONLYOFFICE editors, disable it by turning off the switcher. You can enable the extension again at any time.

To remove the extension completely from the Microsoft Edge browser, click the Remove button on the extension tab and, in the opened window, confirm your action:

Edge removing extension

The plugin will be removed from ONLYOFFICE Cloud after page reload.