revanced-patches
revanced-patches copied to clipboard
feat(YouTube): Hide trending results during video search (non-litho how-to)
Application
YouTube
Issue
UPDATE: Based on a recent feedback from @Aryan-Chauhan, the app now show two distinct type of trending results (with and without fire icon):
Starting with the latest 18.1x versions, Google has introduced trending searches when searching for videos, as you can see in the screenshot below:
Patch
-
Create a method to hide/show the parent of a view, as shown in the following screenshot:
-
Pass the imageview of resource "R.drawable.yt_outline_fire_black_24" as parameters for the method "SearchSuggestionVisibility(imageView, boolean)", with parameter boolean set to "false", as shown in the following screenshot:
-
Pass the imageview of resource "R.drawable.yt_outline_arrow_time_black_24" and "R.drawable.yt_outline_search_black_24" as parameters for the method "SearchSuggestionVisibility(imageView, boolean)", with parameter boolean set to "true", as shown in the following screenshot:
Motivation
Remove useless and annoying searching results.
Acknowledgements
- [X] I have searched the existing issues and this is a new and no duplicate or related to another open issue.
- [X] I have written a short but informative title.
- [X] I filled out all of the requested information in this issue properly.
Obviously...this patch ensure to leave "typing searching" untouched:
YouTube 18.19.35 ---> kjz.smali
Those search trendings don't appear for me, instead the search history appears.
Maybe it's some sort of A/B testing Google does at you.
Those search trendings don't appear for me, instead the search history appears.
Maybe it's some sort of A/B testing Google does at you.
Yeah, but it can be patched before it is globally enabled.
I think it is now globally enabled for all users. Now there are 2 types of trending searches.
BTW, my search history is disabled & has zero items in it. Also, watch history is disabled & has zero items in it.
@0xrxL Can you edit your issue and include the below screenshot & mention that there are now 2 types of trending searches (fire & non-fire) ?
Done (update added in the feature request description)
@LisoUseInAIKyrios Do you need of a new issue with steps to implement this feature, based on last 19.16.39 version?
If the information here is still valid then a new issue is not needed.
