Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support inputs in options #13

Open
NoPlagiarism opened this issue Dec 13, 2022 · 6 comments
Open

Support inputs in options #13

NoPlagiarism opened this issue Dec 13, 2022 · 6 comments

Comments

@NoPlagiarism
Copy link

It will allow to do thing like:

  • Changing private UserID on SponsorBlock
  • Changing RYD url on proxy one, like this
@NC22
Copy link
Owner

NC22 commented Dec 13, 2022

@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
Copy link
Author

NoPlagiarism commented Dec 13, 2022

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
Copy link
Owner

NC22 commented Dec 13, 2022

@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
Copy link
Author

Ok, what about Changing private UserID on SponsorBlock?

@NC22
Copy link
Owner

NC22 commented Dec 13, 2022

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
Copy link
Author

he is stopped support

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants