-
-
Notifications
You must be signed in to change notification settings - Fork 426
fix(Spotify - Unlock Spotify Premium): Remove pop up premium ads #4842
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
Conversation
Already checked and the pendragon requests do not exist in the legacy app. |
extensions/spotify/src/main/java/app/revanced/extension/spotify/misc/UnlockPremiumPatch.java
Outdated
Show resolved
Hide resolved
Switched to a different way of removing the pendragon ads by avoiding the request completely. |
patches/src/main/kotlin/app/revanced/patches/spotify/misc/UnlockPremiumPatch.kt
Outdated
Show resolved
Hide resolved
patches/src/main/kotlin/app/revanced/patches/spotify/misc/Fingerprints.kt
Show resolved
Hide resolved
Is this ready to merge? |
Should be, but I think oSum wants to review first |
patches/src/main/kotlin/app/revanced/patches/spotify/misc/UnlockPremiumPatch.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm after the last suggestion
# Conflicts: # patches/src/main/kotlin/app/revanced/patches/spotify/misc/UnlockPremiumPatch.kt
# [5.23.0-dev.5](v5.23.0-dev.4...v5.23.0-dev.5) (2025-05-06) ### Bug Fixes * **Spotify - Unlock Spotify Premium:** Remove pop up premium ads ([#4842](#4842)) ([00aa200](00aa200)) ### Features * **Pandora:** Add `Disable audio ads` and `Unlimited skips` patch ([#4841](#4841)) ([0cf7a4c](0cf7a4c)) * **Prime Video:** Add `Skip ads` patch ([#4824](#4824)) ([bb672c4](bb672c4))
Hi, I don't see how this patch helps to hide ADs.
Could you please explain why it is related to pop-up ADs? |
Click on the premium button in the choose media quality section in settings and you will see. This request returns what is used to create the pop up ads, but not all the time so sometimes it may seem irrelevant. |
It's also a matter of testing. Haven't had any more ads since patching this. |
Also those are just the requests, you need to look at the responses. They return data used to construct html views when a pop up is to be shown. |
# [5.23.0](v5.22.0...v5.23.0) (2025-05-10) ### Bug Fixes * Correct incorrect fingerprint ([c3bab89](c3bab89)) * Fix incorrect fingerprints ([#4917](#4917)) ([49ca329](49ca329)) * **Spotify - Unlock Spotify Premium:** Remove pop up premium ads ([#4842](#4842)) ([00aa200](00aa200)) * **YouTube:** Improve litho filtering performance ([#4904](#4904)) ([7b43986](7b43986)) * **YouTube:** Simplify litho filtering patch ([#4910](#4910)) ([bd53955](bd53955)) ### Features * **Lightroom:** Constrain patches to last working version ([efef03b](efef03b)) * **Pandora:** Add `Disable audio ads` and `Unlimited skips` patch ([#4841](#4841)) ([0cf7a4c](0cf7a4c)) * **Prime Video:** Add `Skip ads` patch ([#4824](#4824)) ([bb672c4](bb672c4)) * **Spotify:** Add `Sanitize sharing links` patch ([#4829](#4829)) ([2e3511d](2e3511d))
Thank you for giving the example. I found that to disable the ADs, it suffcies to change the
And do you know how to triger ADs with |
Methods discovered in ReVanced/revanced-patches#4842.
Difficult to test but it should work