* Fix disappearing dislike counter - userscript * Fix rate bar in userscript, disable it by default (it has been broken for ages) * Fix event listeners being thrown away by YouTube in some cases * Fix disappearing dislike count on button focus/unfocus * Remove repetitive code from the userscript * Userscript fix for disappearing dislikes while smartimations play * Check if smartimationContainer exists * Properly handle non-existing dislike button In some cases, dislike button doesn't exist when we're trying to interact with it. For end users, it manifested as dislike counter appearing on both dislike button and share button (because getDislikeButton was falling back to the second child of getButtons()). I don't see an elegant way of fixing this without creating a fake button in DOM specifically for this case or rewriting the whole userscript. Ignoring this would result in errors appearing in console. --------- Co-authored-by: Felix Nguyen <kokonguyen191@gmail.com>
Read this in other languages: русский, Español, Nederlands, Français, 日本語, Türkçe, українська, Deutsch, Ελληνικά, Svenska, 中文, Polski
Return YouTube Dislike
Return YouTube Dislike is an open-source extension that returns the YouTube dislike count.
Available for Chrome and Firefox as a Web Extension.
Also available for other browsers as JS Userscript.
The Story
On November 10th, 2021, Google announced that the YouTube dislike count would be removed.
Additionally, the dislike field in the YouTube API was removed on December 13th, 2021, removing any ability to judge the quality of content before watching.
What it Does
With the removal of dislike stats from the YouTube API, our backend switched to using a combination of scraped dislike stats, estimates extrapolated from extension user data.
Why it Matters
You can learn more at our website at: returnyoutubedislike.com
API documentation
Third-party use of this open API is allowed with the following restrictions:
- Attribution: This project should be clearly attributed with a link to returnyoutubedislike.com.
- Rate Limiting: There are per client rate limits in place of 100 per minute and 10,000 per day. This will return a 429 status code indicating that your application should back off.
The API is accessible over the following base URL:
https://returnyoutubedislikeapi.com
List of available endpoints is available here:
https://returnyoutubedislikeapi.com/swagger/index.html
Get votes
Example to get votes of a given YouTube video ID:
/votes?videoId=kxOuG8jMIgI
{
"id": "kxOuG8jMIgI",
"dateCreated": "2021-12-20T12:25:54.418014Z",
"likes": 27326,
"dislikes": 498153,
"rating": 1.212014408444885,
"viewCount": 3149885,
"deleted": false
}
None existing YouTube ID will return status code 404 "Not Found".
Wrong formed YouTube ID will return 400 "Bad Request".
Contributing
Please read the contribution guide.
Support this project!
You can support this project by donating to us on the link below: