Bookmarklet

github.com/mchangrh/sb.js Ad & Tracker Blockers Open-source projectOpen source

SB.js brings SponsorBlock to a bookmarklet or userscript for restrictive environments, with loader and standalone usage options.

github.com/mchangrh/sb.js
Bookmarklet homepage screenshot

About Bookmarklet

SB.js provides SponsorBlock functionality as a bookmarklet or userscript for restrictive environments where the browser extension cannot be used. It can be installed as a bookmarklet, as a userscript with loader, standalone, or config-page variants, or run from the browser console.

Compared with the SponsorBlock extension, it lacks chapters, accurate skipping, manual skip, player UI and bar display, segment submitting and voting, local skip counter, and Invidious/mobile YouTube support. The project notes that the browser extension should be used when possible.

Key features

  • Runs as bookmarklet using sb.bookmarklet.js
  • Userscript loader version preserves settings between updates
  • Standalone userscript version loads faster each time
  • Config-page userscript stores settings locally with GM_setValue
  • Runs from browser console using sb.min.js or sb.js
  • Distributed via multiple CDNs with CDN check page
Best for: People who cannot install the SponsorBlock browser extension and need an option for restrictive environments.
Good for
  • Offers bookmarklet, userscript, and console options for restrictive environments
  • Loader and config-page variants preserve settings between updates
  • Open source under LGPL-3.0 license
Watch out for
  • Lacks chapters, accurate skipping, manual skip, player UI, and player bar display
  • Does not support submitting segments, voting, or local skip counter
  • Does not support Invidious or mobile YouTube

Bookmarklet at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Platforms
Browser extension
Open source
Yes · Source code
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

Bookmarklet alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Ad & Tracker Blockers

Well-known listings from the same topic.

All 57

Bookmarklet FAQ

How do I install SB.js as a bookmarklet?
Create a new bookmark in the bookmarks bar and replace the URL with the text in sb.bookmarklet.js.
What is the difference between the loader and standalone userscripts?
The loader loads the script on startup and preserves settings between updates with no intervention, while the standalone version loads faster but requires user intervention if settings are changed.
How do I change settings with the config-page version?
The config-page version stores settings locally in GM_setValue and can be configured at https://mchangrh.github.io/sb.js/config.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing