Dagli store di estensioni
Scratch Addons è disponibile in questi store.
Dal codice sorgente
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
If you do not have Git installed, use this method instead.
-
Vai al repository e localizza il pulsante per lo scaricamento del codice.
-
Cliccalo e seleziona “Download ZIP”.
-
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:
-
Go to chrome://extensions
-
Turn on “Developer mode” in the top-right corner
-
Click “Load unpacked” and select the
ScratchAddons
folder.
To update the extension when testing, click the refresh icon on the extension’s card.
Installazione per Mozilla Firefox
To load the extension into Mozilla Firefox:
-
Type
about:debugging
into the address bar. -
Click “This Firefox” on the sidebar
-
Click “Load Temporary Add-on…”
-
Select the
manifest.json
file in theScratchAddons
folder.
To reload the extension when testing, click the “Reload” button on the extension’s card.
Installing on Firefox for Android
One time setup
Desktop
- Download and extract the Android SDK Platform Tools (Windows, MacOS, Linux).
- Add the folder to the PATH environment variable.
- Install web-ext with NPM by running
npm install --global web-ext
.
Android
- In the Android settings app, open the about page and tap the build number 7 times.
- Navigate to the “Developer options” page and enable “USB debugging”.
- Install the standard Firefox app from the Google Play store.
- Open the Firefox app and enable “Remote debugging via USB” in its settings.
Loading the extension
- Plug in the Android device and tap allow on it.
- Navigate to the
ScratchAddons
folder. - Run
adb devices
to get the device’s serial number and ensure ADB is working. - Run the following command replacing
[serial number]
with the one fromadb 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:
- On desktop Firefox type
about:debugging
into the address bar. - Click “Enable USB Devices”.
- Click connect on the device in the sidebar. If none appear, restart desktop Firefox.
- Click on the device again.
Commenti
Assicurati di seguire il codice di comportamento. Puoi vedere questa sezione di commenti su GitHub Discussions e puoi anche modificare o cancellare il tuo commento.