SponsorBlock - Block YouTube Sponsorships

in utopian-io •  8 months ago  (edited)





It's out! Download it on the Chrome Webstore or the Firefox addons store! Over 400 submissions so far!

Chrome: https://chrome.google.com/webstore/detail/mnjggcdmjocbbbhaepdhchncahnbgone/
Firefox: https://addons.mozilla.org/addon/sponsorblock/
Discord: https://discord.gg/QnmVMpU
Website: https://sponsor.ajay.app/

SponsorBlock is a crowdsourced browser extension to block sponsor segments of YouTube videos. Users submit when sponsor happen to the extension, and the extension automatically skips sponsors it knows about. It also features an upvote/downvote system with a weighted random based distribution algorithm.

Lots of changes

Now works on Firefox

This luckily wasn't difficult at all since Firefox supports Chrome extensions natively, I just had to change a few things due to the difference in how the API's are handled.

View count

The amount of views each sponsor gets (well, the amount of skips) is now recorded. This is nice because it gives users who submit sponsors direct feedback on how they are improving other people's viewing experience.


This can be disabled if you don't want this.

More checks

More ways to prevent someone from destroying the viewing experience such as preventing sponsors from being placed right next to eachother.


Errors now have custom messages to better inform you about what's wrong and help me debug.


You can now use the semicolon button to indicate the start and end of sponsors and click the single quote button to submit. This should make it easier to submit.

Sponsor time deleting

Individual sponsor times can now be deleted before submitting.

deleting individual times.gif

Sponsor time editing

You can now edit the sponsors before submitting. This was a very requested feature.


New way to access the popup.

It seemed like a lot of people were not realising that there were more settings in the popup menu, so there is now another way to access the popup. Click the info button on the video player to open the popup the page you are watching the video on.

new popup.gif

Lots of other fixes

It should never use sponsors from the wrong video anymore and the on video buttons now update properly when switching videos. Before, they would maintain their state, which wouldn't work since the code always assumes it starts at the default position.

The YouTube page never reloads, and instead just updates the page itself (like a PWA), so the code can't rely on everything being reset when a video change occurs.

Git diff

https://github.com/ajayyy/SponsorBlock/compare/4c380aa1bf8a35d7be596927d187e5a55c863707...master (thanks OfficialNoob for the pull requests!)

GitHub Account


Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hey, @ajayyy!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

This post earned a total payout of 7.777$ and 5.847$ worth of author reward which was liquified using @likwid. To learn more.

#utopian-io has been a gift. We would like to keep its curation-efforts alive here on 'marlians.com'. We want to curate and reward 'contributions to open-source projects' with MARLIANS on the the marlians.com tribe, a SCOT-enabled steem condenser. Contributions can include suggestions, graphics, bug-finds, code etc. You can simply add in #marlians to your #utopian-io posts and it will appear on https://www.marlians.com/created/utopian enabling you to earn some MARLIANS along with steem/sbd. You can also post directly to steem via 'marlians.com'. We have some overseers who curate and who can render you help too. You can find them enlisted on https://www.marlians.com/created/utopian

That's amazing news to hear! I will be sure to post about my code contributions on marlians! Thank you for messaging me and doing this!