Installazione

Dagli store di estensioni

Scratch Addons è disponibile in questi store.

Chrome Web Store Firefox Add-ons

Store Installa Browser supportati Requisiti di sistema
Web Store di Chrome Installa da Chrome Web Store Google Chrome 96+
Microsoft Edge 96+
Opera 82+
Brave 1.33+
Vivaldi 5.0+
Chromium 96+
Windows 7+
OS X / MacOS 10.11+
Addon per Firefox Installa negli Add-ons di Firefox Mozilla Firefox 109+ Windows 7+
OS X / MacOS 10.12+
Componenti aggiuntivi di Microsoft Edge Install for Microsoft Edge Addons Microsoft Edge 96+ Windows 7+
OS X / MacOS 10.11+

Dal codice sorgente

Unlike the store releases, installing from source requires a browser based on Chromium 121+ or Firefox 121+.

Info sulle release GitHub

La pagina delle release contiene il codice e i file per l’installazione di tutti i build di Scratch Addons, nonché il mirror dei build presenti negli store.

Clonare il repository

This is the recommended way to install Scratch Addons for development purposes, assuming you have Git installed.

If you plan on contributing, fork the repository on GitHub first and then clone the fork, replacing <username> with your Github username.

$ git clone https://github.com/<username>/ScratchAddons.git

Per aggiornare Scratch Addons, fai cd nella sua cartella e poi esegui i comandi seguenti.

$ git fetch
$ git pull

Remember to also update Scratch Addons from the browser.

Downloading the Zip

This method is not recommended for development unless Git cannot be installed on the system since it will need to be manually repeated every time you update Scratch Addons.

If you do not have Git installed, use this method instead.

  1. Vai al repository e localizza il pulsante per lo scaricamento del codice.

  2. Cliccalo e seleziona “Download ZIP”.

  3. Estrai il file zip in una cartella.

Installazione per Google Chrome o Microsoft Edge

To load the extension into Google Chrome and most Chromium-based browsers such as Microsoft Edge, Opera, Brave or Vivaldi:

  1. Go to chrome://extensions

  2. Turn on “Developer mode” in the top-right corner

  3. Click “Load unpacked” and select the ScratchAddons folder.

To update the extension when testing, click the refresh icon on the extension’s card.

The “Unrecognized manifest key” warnings may safely be ignored, since they are required by Firefox.

Installazione per Mozilla Firefox

To load the extension into Mozilla Firefox:

Extensions loaded into Firefox this way are temporary and must be reloaded every time the browser is restarted. Because of this Chrome is recommended for development, but everything is still expected to work on Firefox.
  1. Type about:debugging into the address bar.

  2. Click “This Firefox” on the sidebar

  3. Click “Load Temporary Add-on…”

  4. Select the manifest.json file in the ScratchAddons folder.

To reload the extension when testing, click the “Reload” button on the extension’s card.

The unexpected WebExtension manifest property warnings may safely be ignored, since they are required by Chrome.

Installing on Firefox for Android

This is only recommended if there is a mobile specific issue that cannot be easily replicated with the browser’s developer tools since extensions loaded this way are temporary and must be reinstalled over USB every time the app is restarted.

One time setup

Desktop
  1. Download and extract the Android SDK Platform Tools (Windows, MacOS, Linux).
  2. Add the folder to the PATH environment variable.
  3. Install web-ext with NPM by running npm install --global web-ext.
Android
  1. In the Android settings app, open the about page and tap the build number 7 times.
  2. Navigate to the “Developer options” page and enable “USB debugging”.
  3. Install the standard Firefox app from the Google Play store.
  4. Open the Firefox app and enable “Remote debugging via USB” in its settings.

Loading the extension

  1. Plug in the Android device and tap allow on it.
  2. Navigate to the ScratchAddons folder.
  3. Run adb devices to get the device’s serial number and ensure ADB is working.
  4. Run the following command replacing [serial number] with the one from adb devices:
web-ext run -t firefox-android --adb-device [serial number] --firefox-apk org.mozilla.firefox

The extension should install and automatically reload when changes are made, otherwise close the Firefox app and re-run the command.

Inspecting

Desktop Firefox can inspect extensions and active tabs running in the Firefox app over USB:

  1. On desktop Firefox type about:debugging into the address bar.
  2. Click “Enable USB Devices”.
  3. Click connect on the device in the sidebar. If none appear, restart desktop Firefox.
  4. Click on the device again.