Repository
SponsorBlock is an extension that skips over sponsored segments of YouTube videos. SponsorBlock is a crowdsourced browser extension that let's anyone submit the start and end time's of sponsored segments of YouTube videos. Once one person submits this information, everyone else with this extension will skip right over the sponsored segment.
I'm on updated OpenSuse Tumbleweed with Firefox version 83.0 My firefox extensions include: Facebook Container, GNOME Shell integration, Reddit Enhancement Suite, SponsorBlock for Youtube, uBlock Origin and Weather. SponsorBlock is a crowdsourced browser extension that let's anyone submit the start and end time's of sponsored segments of YouTube videos. Once one person submits this information, everyone else with this extension will skip right over the sponsored segment. SponsorBlock, my duderinos. Firefox on mobile (browser layout) is quite beneficial for youtube activities on the phone. It's beneficial in the way that the video will keep playing even without the phone turned on, skipping the possibility that you will need a subscription to youtube for that kind of thing. Mar 24, 2021 SponsorBlock is a crowdsourced browser extension that let's anyone submit the start and end time's of sponsored segments and other segments of YouTube videos. Once one person submits this information, everyone else with this extension will skip right over the sponsored segment. You can also skip over non music sections of music videos.
In summary, it's a crowd-sourced adblock for sponsored sections of YouTube videos.
- Made it possible for multiple notices to appear, added an animation for it.
- Added button to popup to allow you to vote from the popup.
- Added messages to indicate the status of different things, such as errors or that it's loading
- Added submit button on the video player.
- Made it keep checking for submitted sponsor times every 10 seconds on recent videos.
This should help a lot for when videos are just published, so even if you are one of the first to watch a video, you might still get some sponsors skipped by people having submitted info by the time you reach near the end of the video.
This uses the API provided by invidious that gives out the date a video was published in seconds. This number can then be checked to see if it is less than 3 days old.
- Switched it from using local storage to synced storage.
Now, you should be treated as the same user when switching devices.
- Added small notice of how many submissions this user has made.
This should help encourage people to submit info, as they can see exactly how much they have helped.
- Preventing voting twice except for changing a vote
This makes it so a user can vote on something they have already voted on if they are going to change their vote. Engineering dynamics ginsberg solutions pdf. They can change their upvote to a downvote.
- Made it order the sponsor times by start time.
This looks so much better in the UI for reporting times, as it shows it in chronological order.
- Added rate limit per day per IP
This should prevent spam from one IP. Maybe it can be changed to an hourly limit/
- Made it run the hash function 5000 times to ensure no one will brute force the IPs.
The longer it takes to run a hash function, the harder it is to brute force. Since the database is completely public, any sensitive information stored, such as IP addresses, needs to be saved in a way cannot be retrieved by anyone. IPs must be saved to prevent spam, but the actual IP isn't needed, just a hash to compare against.
I am now working on a port of this extension to Firefox. Once this is done, the extension will be available on both stores and be officially released.