NC22 / KellyC-Show-YouTube-Dislikes

Shows dislikes counter for Youtube videos. Optionaly ratio bar with configurable colors. Data sources controlled in extension setting
https://nradiowave.ru/webdev/
GNU General Public License v3.0
85 stars 3 forks source link

Support inputs in options #13

Open NoPlagiarism opened 1 year ago

NoPlagiarism commented 1 year ago

It will allow to do thing like:

NC22 commented 1 year ago

@NoPlagiarism

Hi. It's possible when I'll have some time to work on this project again

Changing RYD url on proxy one

Is this proxy can be added to any opensource projects freely? Currently you can just copy-paste some build in driver and use it as template to replace required urls. For ex. I use my own proxy-server as fallback way to get dislikes (if RYD not responding for person - depends on country \ blocks and other personal local restrictions) - https://github.com/NC22/KellyC-Show-YouTube-Dislikes/blob/main/extension/lib/api/catface.js

Addition drivers can be simply added too.

Since suggested proxy "Only fetching the Dislike count is supported, and will ever be supported." you just need to copy paste only strings from 1 to 19 + 53 not including action send methods and replace required ulrs + key "catface" ids. (option "sync" = false, since api not support "like" \ "dislike" action sending), then add new driver to manifest and to "apisDefaultOrder" in [lib/kellyStorage.js] and it will appear in common list.

I can check how good it works bit later by myself too.

NoPlagiarism commented 1 year ago

Is this proxy can be added to any opensource projects freely? There no arrangements, but

Addition drivers can be simply added too.

I know, but it will be simpler to add API URL option, and if it's not returnyoutubedislikeapi.com => disable sync

NC22 commented 1 year ago

@NoPlagiarism

I know, but it will be simpler to add API URL option, and if it's not returnyoutubedislikeapi.com => disable sync

Currently anyway I won't be able to add this in production version without an actuall reason. This will be helpfull only for devs, cause new driver \ or new urls will need to edit manifest (host_permissions + content_scripts, or only host_permissions in case of API URL option). Yes you can edit host_permissions to some thing with "all_urls" analog, but this will create addition questions from moderators on every update, less trust for extension overall, addition actions for user after update (extension will be disabled, because of new permissions request). May be in future, when google remove all manifest v2 extensions (~march 2023), people will hate them and creates an alternative shop with more loyal rules, but this will not happend near future.

NoPlagiarism commented 1 year ago

Ok, what about Changing private UserID on SponsorBlock?

NC22 commented 1 year ago

Ok, what about Changing private UserID on SponsorBlock

I dont know in which state this project currently. SponsorBlock dev removed all api information from docs https://wiki.sponsor.ajay.app/w/API_Docs may be he is stopped support this project after this year? Any news?

NoPlagiarism commented 1 year ago

he is stopped support

https://github.com/ajayyy/SponsorBlockServer is still getting updates