SpikeHD / shelter-plugins

Shelter plugins, some of them Dorion related
https://spikehd.github.io/shelter-plugins/
GNU General Public License v3.0
20 stars 5 forks source link

[Feature Request] YouTube embed adblock #40

Closed Temanor closed 2 months ago

Temanor commented 2 months ago

Is your feature request related to a problem? Please describe. Discord has started using ads in YouTube embeds. There is a solution for Vesktop, but I don't know of any way to block this on Dorion without using the invidious plugin.

Describe the solution you'd like An ad blocker for YouTube embeds, such as the one found in Vesktop. It is not avalible for Vencord or Equicord, so there is no way to block ads in Dorion.

Describe alternatives you've considered None

Additional context As you can see, Invidious isn't really an option for me. image

SpikeHD commented 2 months ago

This can't really be done via shelter alone unfortunately. A plugin wouldn't be able to run a script in an iframe that doesn't have the same origin due to SOP from what I remember, which is why that Vencord plugin is desktop-only. This could be a Dorion feature though, so you'd be better off making this issue there!