Installerer

Fra utvidelsesbutikker

Scratch Addons er tilgjengelig i disse butikkene.

Chrome Web Store Firefox Add-ons

Butikk Installer Støttede nettlesere Systemkrav
Chrome Web Store Installer for 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+
Tillegg for Firefox Installer tilleggsprogrammer for Firefox Mozilla Firefox 109+ Windows 7+
OS X / MacOS 10.12+
Microsoft Edge-tillegg Install for Microsoft Edge Addons Microsoft Edge 96+ Windows 7+
OS X / MacOS 10.11+

Fra kilde

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

Om GitHub-utgivelser

Releases-siden inneholder koden og installasjonsfilene for alle utviklingsversjoner av Scratch Addons, samt speilet av butikkversjonene.

Kloning av repositoriet

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

For å oppdatere Scratch Addons, først cd inn i mappen sin, og deretter kjør følgende kommandoer.

$ 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. Gå til repositoriet og finn nedlastingskoden.

  2. Klikk på den og velg “Last ned ZIP”.

  3. Pakk ut arkivet i en mappe.

Installerer på Google Chrome eller 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.

Installerer på 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.