拡張機能ストアから
Scratch Addons は次のストアで入手できます。
ソースコードから
GitHubリリースについて
リリースページ には、ストア版のミラーに加え、Scratch Addonsの開発版のコードとインストールファイルがあります。
リポジトリのクローン
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
Scratch Addonsを更新するには、フォルダー内に cd
し、次のコマンドを実行してください:
$ 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.
-
リポジトリ にて、ダウンロードボタンを押します。
-
クリックし、「Download ZIP」を選択します。
-
アーカイブをフォルダーに解凍します。
Google Chromeや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.
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.
コメント
Code of Conduct を守りましょう。このコメントは GitHub Discussions で見ることができ、編集や削除もできます。