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

load adblocker sooner #583

Merged
merged 1 commit into from
Feb 6, 2022
Merged

Conversation

Araxeus
Copy link
Collaborator

@Araxeus Araxeus commented Jan 29, 2022

Sometimes when "Resume last song on start" option is enabled,
the video is loaded before the adblocker can be loaded - resulting in a single ad

this probably fix #582 fix #494 fix #89

Note: I'm not 100% sure that this will always fix the problem, but I did test this dozen of times and didn't get a single ad
(Without those change I'm getting an ad on start here and there on launch - might be just random but preload.js does load faster than front.js)

@Araxeus Araxeus mentioned this pull request Jan 29, 2022
Copy link
Owner

@th-ch th-ch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for this simple improvement! ✅

@th-ch th-ch merged commit e6e83de into th-ch:master Feb 6, 2022
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.

Getting ads Ad-Blocker Doesn't seem to work My Adblock is still not working
2 participants