-
-
Notifications
You must be signed in to change notification settings - Fork 474
feat(Cricbuzz - Hide ads): Hide Cricbuzz11 UI elements #5381
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
Hi, thanks for the quick update. Unfortunately, I can't build this branch myself but if you could provide me |
Once a maintainer approves the workflow, Github Actions should make a build for you. |
Disable Ads
patch to include Cricbuzz11 UI elements
extensions/cricbuzz/src/main/java/app/revanced/extension/cricbuzz/DisableAdsPatch.java
Outdated
Show resolved
Hide resolved
extensions/cricbuzz/src/main/java/app/revanced/extension/cricbuzz/DisableAdsPatch.java
Outdated
Show resolved
Hide resolved
patches/src/main/kotlin/app/revanced/patches/cricbuzz/ads/DisableAdsPatch.kt
Outdated
Show resolved
Hide resolved
extensions/cricbuzz/src/main/java/app/revanced/extension/cricbuzz/DisableAdsPatch.java
Outdated
Show resolved
Hide resolved
Patched and last version which patches successfully is 6.23.03 now. Still, C 11 banners are gone now. Thanks a lot @hoo-dles ! |
@LisoUseInAIKyrios Should I try to find a way to make the patch compatible with both versions, or just refactor code to the latest and bump |
Bump to latest, if the code looks and feels safe to sustain, remove the version check |
Bumping to latest. If fingerprint and patch are too unstable in future version, I'll figure out a different method. |
Patched v6.24.01 and while it patched successfully, I feel it big laggy now. If you scroll down and to the top again on home screen, there is weird mili seconds shutter. |
I'm not able to replicate this issue on my emulator. I'm not sure what would cause it either; the patch code is very minimal. I'm pretty sure the only thing that would run on the home screen is the patch to remove the bottom toolbar icon. And that is only called once on app startup after first install (afterwards, the result is (de)serialized to file and not refreshed until after a very long delay). |
Ok, that makes sense. Thank you for adding the support for latest versions though. |
6eb20f0
to
158cee0
Compare
# [5.31.0-dev.11](v5.31.0-dev.10...v5.31.0-dev.11) (2025-07-09) ### Features * **Cricbuzz - Hide ads:** Hide Cricbuzz11 UI elements ([#5381](#5381)) ([a42c98f](a42c98f))
# [5.31.0](v5.30.0...v5.31.0) (2025-07-11) ### Bug Fixes * **Bacon Reader - Spoof client:** Use www instead of ssl API to fix auth related issues ([#5402](#5402)) ([72459bb](72459bb)) * Correctly name `Enable ROM signature spoofing` patch ([d85881a](d85881a)) * Fix accidental changes ([e2ac841](e2ac841)) * Fix refactoring typo ([ec0ae42](ec0ae42)) * Handle empty list of announcements ([de9d720](de9d720)) * **SoundCloud:** Constrain patches to last working app target ([e8ea89f](e8ea89f)) * **Spotify - Unlock Premium:** Remove wrongfully hidden non ad browse sections ([#5403](#5403)) ([8633544](8633544)) * **Spotify:** Remove other ads type from the browse screen ([#5333](#5333)) ([c68533a](c68533a)) * **Sync for Reddit - Spoof client:** Use www instead of ssl API to fix auth related issues ([#5392](#5392)) ([47e6b62](47e6b62)) * **YouTube - Hide ads:** Hide new type of general ad ([#5345](#5345)) ([f23716b](f23716b)) * **YouTube - Hide layout components:** Do not hide playlist sort button if 'Hide AI comments summary' is on ([5f3e48e](5f3e48e)) * **YouTube - Playback speed:** Allow custom speeds with 0.01x precision ([#5360](#5360)) ([0eecef0](0eecef0)) * **YouTube - Slide to seek:** Show tap and hold 2x speed overlay when active ([#5398](#5398)) ([dbc9c5f](dbc9c5f)) ### Features * **Cricbuzz - Hide ads:** Hide Cricbuzz11 UI elements ([#5381](#5381)) ([a42c98f](a42c98f)) * **Lightroom:** Constrain patches to last working version ([#5335](#5335)) ([32ce70e](32ce70e)) * **Spotify - Spoof client:** Fix issues like songs skipping by spoofing to iOS ([#5388](#5388)) ([e36d4c1](e36d4c1)) * **Spotify:** Remove support for old versions ([#5404](#5404)) ([9d31238](9d31238)) * **YouTube - Change header:** Add in-app setting to change the app header ([#5346](#5346)) ([9ba45b6](9ba45b6)) * **YouTube - Hide layout components:** Add `Hide channel links preview` and `Hide 'Visit Community' button` in channel page ([#5320](#5320)) ([9d9cce3](9d9cce3)) * **YouTube:** Disable two-finger tap gesture for skipping chapters ([#5374](#5374)) ([71db0a2](71db0a2))
Requested in #5355
Simplified the original patch a bit. And added 2 additional method patches to remove CB11 element from toolbar and banner on Scorecard screen.
These elements only seem to present when requesting IP originates in India (I wasn't able to spoof it via headers or modified request bodies).
@shreyjain1998 Please give it a test because my VPN to Mumbai was flaky as hell.