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

#248 Youtube Shorts Page #249

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EliseiNicolae
Copy link

@EliseiNicolae EliseiNicolae commented Dec 24, 2022

  • disable shorts audio
  • refactor code

@tobiasdalhof
Copy link

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

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

Successfully merging this pull request may close these issues.

2 participants