Open EliseiNicolae opened 1 year ago
Hi there, you can check how I remove YT Shorts in my extension: https://github.com/tobiasdalhof/sanersocialmedia/blob/main/packages/core/src/sites/youtube.ts#L68
The mute
util simply loops over all video
and audio
child elements and sets muted
to true
and calls pause()
https://github.com/tobiasdalhof/sanersocialmedia/blob/main/packages/core/src/utils.ts#L54