Depuis le magasin d’extension
Srcratch Addons est disponible dans ces boutiques.
Depuis la source
About GitHub releases
La page des versions contient le code et les fichiers d’installation pour toutes les versions de développement de Scratch Addons, ainsi que le miroir des versions du magasin.
Clonage du répertoire
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
Pour mettre à jour Scratch Addons, commencez par cd
dans son dossier, puis exécutez les commandes suivantes.
$ 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.
-
Allez dans le [repository] (https://github.com/ScratchAddons/ScratchAddons) et trouvez le bouton de téléchargement de code.
-
Cliquez et selectionnez ”Télécharger le ZIP”
-
Extraire l’archive dans un dossier.
Installation sur Google Chrome ou 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.
Installation sur 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.
Commentaires
Assurez-vous de suivre le code de conduite. Vous pouvez voir cette section de commentaires sur les discussions GitHub, ainsi que modifier et supprimer votre commentaire.