Reading the repo
Reading the repo
Assembly instructions
Skip YouTube video sponsors (browser extension)
Fresh setup, read just now
Will it work on my device?
CONTRIBUTING.mdIf you make any contributions to SponsorBlock after this file was created, you are agreeing that any code you have contributed will be licensed under GPL-3.0 and agree to allow distribution on app stores as outlined in LICENSE-APPSTORE.
https://crowdin.com/project/sponsorblock
git clone --recursive https://github.com/ajayyy/SponsorBlock
Or if you already cloned it, pull submodules with
git submodule update --init --recursive
config.json.example to config.json and adjust configuration as desired.CompileConfig or property does not exist on type ConfigClass. This can happen for example when a new category is added.npm ci in the repository to install dependencies.npm run build:dev (for Chrome) or npm run build:dev:firefox (for Firefox) to generate a development version of the extension with source maps.
npm run build (for Chrome) or npm run build:firefox (for Firefox) to generate a production build.dist/. You can load this folder directly in Chrome as an unpacked extension, or convert it to a zip file to load it as a temporary extension in Firefox.Run npm run dev (for Chrome) or npm run dev:firefox (for Firefox) to run the extension using a clean browser profile with hot reloading. This uses web-ext run.
Known chromium bug: Extension is not loaded properly on first start. Visit chrome://extensions/ and reload the extension.
For Firefox for Android, use npm run dev:firefox-android -- --adb-device <ip-address of the device>. See the Firefox documentation for more information. You may need to edit package.json and add the parameters directly there.
Needs Git: xcode-select --install. The repo uses git submodules, so the clone fetches them too.
git clone --recurse-submodules https://github.com/ajayyy/SponsorBlock.git cd SponsorBlock
Node.js >=16
# needs nvm: brew install nvm (or https://github.com/nvm-sh/nvm) nvm install 16
npm ci
npm run dev
npm test
No reports for macOS yet.
Claude reads the 10 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.