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 for Invidious and Piped instances #28

Closed
RedSteel-1 opened this issue Nov 13, 2019 · 7 comments
Closed

Support for Invidious and Piped instances #28

RedSteel-1 opened this issue Nov 13, 2019 · 7 comments

Comments

@RedSteel-1
Copy link

There is an alternative Youtube front-end site www.invidio.us that many people use for privacy concerns in order to not be tracked by Google, and not deal with other Youtube annoyances.
Would that be possible to add the support for the invidio.us site in the extension?
So that videos watched on invidio.us as well as on youtube.com are remembered in the database.
And the "Watched" dimmed overlay is shown on invidio.us and youtube.com for all videos watched on both of these sites.
The video links look very similar to the youtube ones, just the "youtube.com" replaced with "invidio.us"

@DonaldTsang
Copy link

The main site is dead, so please apply this to the other instances.
Note: in order to do that you need a place to store already watched videos since Invidious does not store any data.

@sniklaus
Copy link
Owner

sniklaus commented May 9, 2021

I am under the impression that there are multiple domains that host invidious: https://redirect.invidious.io/

Since these domains change over time and since there is no officially invidious instance as per [1], it would require perpetual updates to the Youtube Watchmarker. I am afraid that I do not have the time/energy to support these recurrent updates, my apologies.

[1] iv-org/invidious#1694

@sniklaus sniklaus closed this as completed May 9, 2021
@RedSteel-1
Copy link
Author

RedSteel-1 commented May 14, 2021

@sniklaus,

Could be just a text field in the settings where the user by himself could paste the domain(s) of the favourite/used instances, 1 or many instances each one on its string.

invidious.snopyta.org
ytprivate.com
notyoutube.org
yewtu.be

Let the user himself control this list = no need to maintain the list of instances by the dev.

@sniklaus
Copy link
Owner

Good suggestion on paper. However, you have to modify the manifest for doing so.

"permissions": ["alarms", "downloads", "history", "tabs", "cookies", "webRequest", "webRequestBlocking", "*://www.youtube.com/*", "*://*.ytimg.com/vi/*/*"],

Essentially, you need to tell users ahead of time which websites you would like to interact with (for security reasons). Adding more websites to this list after the fact the extension has been installed is not possible (at least as far as I know since it would be bad for security if you could).

@RedSteel-1
Copy link
Author

Could giving the extension permissions to work on all sites be the solution?

@sniklaus
Copy link
Owner

sniklaus commented Jun 1, 2021

Potentially yes, but then you are subject to more scrutiny in the code reviewing process as well as reviews from users who would rather the extension not be able to read data from all the sites they visit. You are welcome to fork the project though and add this feature yourself. 🙂

@RedSteel-1 RedSteel-1 changed the title Support for "invidio.us" Support for Invidious and Piped instances Feb 7, 2024
@RedSteel-1
Copy link
Author

Could this issue be re-evaluated and re-opened?

It would be great to set the extensions scope to "all websites" and get it work on Invidious and Piped instances.

Also, pls take a look at the Bypass Paywalls extension - with every extension update it adds new websites to its list, maybe smth similar could be done here too

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

3 participants