![]() ![]() If you have any suggestions, feel free to tell me. I've been working on this for a little over 2 weeks now. ![]() It is a sqlite database and can be opened in any sqlite database reading program. The database may even be automatically backed up by ! The database will always be available at. I don't want something similar to happen to this project, that's why all this code is open-sourced and, most importantly, the database can be downloaded by anyone. In January, a group of people tried to do a similar thing, but instead of using other people's submissions to skip sponsor segments for everyone, they ran the data through a neural network. However, I perfectly understand why someone wouldn't want this data logged, so there is an option to disable this if you would like. This is to make it so that you can see how many people you have helped and I can see how much the extension is being used. No IP data or userId data is collected for this. When you vote, your user ID and hashed ip is stored along with what you voted for.Īs well as these, whenever you submit a sponsor, it tells the server and the server records one "view" on that sponsor. This is to be able to rate limit one ip sending way too much spam. As well as these, a hashed + salted (5000 times) version of your ip address is saved. Your user ID is a randomly generated UUID generated by your browser. Also, a hashed version of your user ID is stored with it. The data for the sponsor, the video id are stored. When you submit a sponsor, a few things are stored. Everything stored can be downloaded from the link above if you want to see. You can report as many sponsors as there are in the video. You click once to indicate the start of a sponsor, then click again to indicate the end. The button in the YouTube player can be hidden if you would like. SubmissionsĪnyone can submit sponsors, either by clicking on the button that is added to the YouTube player or by opening the extensions popup. You can read more about my algorithm here. Submissions with less than -2 votes are ignored entirely. So, most users will get the best submission, but some users will get lesser votes submissions so that they can either be upvoted or downvoted. This makes a newly submitted sponsor time always possible to be sent out to users to get votes. This formula makes small amount of votes (under 10), matter a lot, and makes the really large votes slowly not matter as much. I decided on using a more fancy algorithm that used a weighted random distribution based on a square root function. In a system like that, one sponsor would get a few votes, and then the rest of the sponsors would never appear again, and could never get votes. A similar sponsor is one that is contained in eachother, so probably just similar times and one is slightly off. For each similar sponsor, only one will be sent to the user. It will looks for all the "similar sponsors" (I'm using the word similar here like it is used in the term similar triangle). Instead of just sending the top reported time, it uses an algorithm that is a little more complex, since some videos will have more than 1 sponsorship message. Upvotes are considered in a very interesting way. Once the sponsorship is skipped, you can upvote or downvote this sponsorship and it will be recorded in the database. Image of the notice you receive (you can disable it) If so, the sponsored segment will automatically get skipped when you reach it. When you visit a YouTube video, it will check the database to see if anyone has made any submissions for this video. ![]() The source code is fully open and the database can be downloaded by anyone. If you guys know any other subreddits or communities that might like this extension, please tell me:) If this is not fit for this subreddit, please tell me and I'll remove it. It is a crowdsourced extension to block sponsor segments of YouTube videos. Hello, I just created an extension called SponsorBlock. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |