revanced-patches
revanced-patches copied to clipboard
feat(YouTube): Hide the 'Visit store' button on channel pages
Feature description
Hide the 'Visit store' button in the channel page.
Motivation
Well, clicking it leads the user to a page full of products from the channels, so basically ad blocking.
Acknowledgements
- [X] This issue is not a duplicate of an existing feature request.
- [X] I have chosen an appropriate title.
- [X] All requested information has been provided properly.
I tried the litho component ^channel_profile.eml$header_store_button in custom filter and that seems to work.
04-21 18:08:29.982 11186 11186 D revanced: LithoFilterPatch: Searching ID: null Path: channel_profile.eml|fe7264abae464c88|channel_profile_phone.eml|4a5e3ed8b99b52ed|ContainerType|channel_action_buttons_phone.eml|93f701b73481db51|ContainerType|button.eml|e4d01425197b9e68|ContainerType| BufferStrings: Visit storeΓ¥Ösans-serifΓ¥Öeml.header_store_buttonΓ¥ÖUCV6mNrW8CrmWtcxWfQXy11gΓ¥Ö8gYEEgIqAA%3D%3D"Γ¥Ö/@DarkViperAUΓ¥Ö
04-21 18:08:29.982 11186 11186 D revanced: LithoFilterPatch: Searching ID: null Path: channel_profile.eml|fe7264abae464c88|channel_profile_phone.eml|4a5e3ed8b99b52ed|ContainerType|channel_action_buttons_phone.eml|93f701b73481db51|ContainerType|button.eml|e4d01425197b9e68|ContainerType|TextType| BufferStrings: Visit storeΓ¥Ösans-serifΓ¥Öeml.header_store_buttonΓ¥ÖUCV6mNrW8CrmWtcxWfQXy11gΓ¥Ö8gYEEgIqAA%3D%3D"Γ¥Ö/@DarkViperAUΓ¥Ö
Is header_store_button not a path builder string?
Is header_store_button not a path builder string?
No, it's in the bufferstrings.
Since this is still in dev I didn't wanna create a new issue about this: "Hide the 'Visit store' button on channel pages" is a little too long. Also, what do you think about creating a "Channel page" subcategory in Layout settings?
Changing strings pushed from YT is very difficult and not realistic for most cases.
List all the different 'channel page' settings, and if there's enough then a sub-menu under 'feed' could be made.
Could at least remove the "the" to shorten it a bit
List all the different 'channel page' settings, and if there's enough then a sub-menu under 'feed' could be made.
Well currently there's 3: channel member shelf, 'for you' shelf and visit store button, also in the case #3059 gets implemented then I think 4 is more than enough
If you remove "the" it won't be a proper sentence anymore.
A heads up. YouTube changed the path for 'Visit store' button. It's now ^page_header.eml$header_store_button and leaves behind a blank space where the button was unlike the previous one.
06-11 11:28:53.736 29858 29858 D revanced: LithoFilterPatch: Searching ID: null Path: page_header.eml|29bf20f8b14236d4|ContainerType|ContainerType|ContainerType|flexible_actions.eml|daf1064fca739913|ContainerType|ContainerType|ContainerType|button.eml|ebc698722222cbfe|ContainerType| BufferStrings: Visit storeΓ¥Ösans-serifΓ¥Öeml.header_store_buttonΓ¥ÖVisit storeΓ¥ÖUCKqH_9mk1waLgBiL2vT5b9gΓ¥ÖEgVzdG9yZfIGBBICKgA%3D"Γ¥Ö/@VanossGamingΓ¥Ö