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

Add request blocking to prevent extra data traffic #75

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

Conversation

nicolnt
Copy link

@nicolnt nicolnt commented Nov 29, 2020

Although the source of the HTML5 player has been replaced by the audio track as a whole, YouTube's script has already planned some requests for other parts (audio and video). In some cases using this extension generates even more traffic than not : the script is actually creating a new request to get the full audio track, which was not supposed to be requested and adds up to the rest.

In this pull request I managed to activate some request blocking for these useless parts that are being downloaded after the new source has been set.

Tested, it saves multiple megabytes!

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.

None yet

1 participant