De botigues d’extensions
Scratch Addons is available in these stores.
Desde la font
Sobre les versions de GitHub
La pàgina de versions conté el codi i els fitxers d’instal·lació per totes les compilacions del desenvolupament del Scratch Addons, així com el portal de les compilacions de les botigues de complements.
Clonació del repositori
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 actualitzar els complements de Scratch, primer cd
a la seva carpeta i, a continuació, executa les ordres següents.
$ 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.
-
Vés al repositori i cerca el botó de descàrrega del codi.
-
Fes-hi clic i selecciona “Download ZIP.
-
Extreu l’arxiu a una carpeta.
Installing on Google Chrome or 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.
Instal·lació a 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.
Comentaris
Assegureu-vos de seguir el codi de conducta. Pots veure aquesta secció de comentaris a les Discussions de GitHub, així com editar i eliminar el teu comentari.