You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Ajay Ramachandran 6ca031d9e7
Merge pull request #705 from ajayyy/dependabot/npm_and_yarn/y18n-4.0.1
2 weeks ago
.github/workflows chore(ci): add linter to workflow 4 months ago
manifest Increase version 4 weeks ago
oss-attribution feat(lint): add default .eslintrc.js 4 months ago
public Update URLs to HTTPS 4 weeks ago
src Don’t throw an exception if there’s no videoRoot 4 weeks ago
webpack Updates dependencies to fix vulnerabilities 8 months ago
.editorconfig Added .editorconfig 8 months ago
.eslintrc.js refactor(lint): replace self-equals-this code with arrow functions 4 months ago
.gitignore Added config to gitignore. 1 year ago
LICENSE Update LICENSE 2 years ago
README.md Fix shields 4 weeks ago
config.json.example Update config.json.example 11 months ago
crowdin.yml Update Crowdin configuration file 1 year ago
jest.config.js Started conversion to TypeScript. 1 year ago
package-lock.json Bump y18n from 4.0.0 to 4.0.1 3 weeks ago
package.json Update dependencies 4 months ago
tsconfig.json Switched notice to react 1 year ago

README.md

Logo
Logo by @munadikieh

SponsorBlock

Download: Chrome/Chromium | Firefox | Android | Edge | Website | Stats

3rd-Party Ports: MPV | Kodi | Safari for MacOS | Chromecast | iOS

Badge Badge Badge Badge Badge

SponsorBlock is an open-source crowdsourced browser extension to skip sponsor segments in YouTube videos. Users submit when a sponsor happens from the extension, and the extension automatically skips sponsors it knows about. It also supports skipping other categories, such as intros, outros and reminders to subscribe.

It also supports Invidio.us.

Translate: Crowdin

Important Links

See the Wiki for important links.

Server

The backend server code is available here: https://github.com/ajayyy/SponsorBlockServer

To make sure that this project doesn't die, I have made the database publicly downloadable at https://sponsor.ajay.app/database (License). If you are planning on using the database in another project, please read the API Docs page for more information.

The dataset and API are now being used in some ports as well as a neural network.

API

You can read the API docs here.

Building

Rename config.json.example to config.json and adjust configuration as desired.

There are also other build scripts available. Install npm, then run npm install in the repository to install dependencies.

Run npm run build to generate a Chrome extension.

Use npm run build:firefox to generate a Firefox extension.

The result is in dist. This can be loaded as an unpacked extension

Developing with a clean profile

Run npm run dev to run the extension using a clean browser profile with hot reloading. Use npm run dev:firefox for Firefox. This uses web-ext run.
Known chromium bug: Extension is not loaded properly on first start. Visit chrome://extensions/ and reload the extension.

Attribution Generation

If you contribute and add a dependency, update the attribution file using the following steps:

Make sure the attribution generator is installed: npm i -g oss-attribution-generator

generate-attribution
mv ./oss-attribution/attribution.txt ./public/oss-attribution/attribution.txt

Credit

The awesome Invidious API was previously used.

Originally forked from YTSponsorSkip, but very little code remains.

Icons made by:

License

This project is licensed under GNU GPL v3 or any later version