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

feat(YouTube): Hide the 'Visit store' button on channel pages #3058

Closed
3 tasks done
ILoveOpenSourceApplications opened this issue Apr 21, 2024 · 8 comments · Fixed by #3077
Closed
3 tasks done

feat(YouTube): Hide the 'Visit store' button on channel pages #3058

ILoveOpenSourceApplications opened this issue Apr 21, 2024 · 8 comments · Fixed by #3077
Labels
Feature request Requesting a new feature that's not implemented yet

Comments

@ILoveOpenSourceApplications
Copy link
Contributor

Feature description

Hide the 'Visit store' button in the channel page.
Screenshot_20240421_175421_YouTube

Motivation

Well, clicking it leads the user to a page full of products from the channels, so basically ad blocking.

Acknowledgements

  • This issue is not a duplicate of an existing feature request.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
@ILoveOpenSourceApplications ILoveOpenSourceApplications added the Feature request Requesting a new feature that's not implemented yet label Apr 21, 2024
@ILoveOpenSourceApplications ILoveOpenSourceApplications changed the title feat(YouTube/Hide Visit store button: Hide the 'Visit store' button in channel feat(YouTube/Hide 'Visit store' button: Hide the 'Visit store' button in channel Apr 21, 2024
@ILoveOpenSourceApplications ILoveOpenSourceApplications changed the title feat(YouTube/Hide 'Visit store' button: Hide the 'Visit store' button in channel feat(YouTube/Hide 'Visit store' button: Hides the 'Visit store' button in channel Apr 21, 2024
@ILoveOpenSourceApplications
Copy link
Contributor Author

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Γ¥Ö

@LisoUseInAIKyrios LisoUseInAIKyrios changed the title feat(YouTube/Hide 'Visit store' button: Hides the 'Visit store' button in channel feat(YouTube): Hide the 'Visit store' button on channel pages Apr 21, 2024
@oSumAtrIX oSumAtrIX added the Prioritized Prioritization over other issues label Apr 21, 2024
@oSumAtrIX
Copy link
Member

Is header_store_button not a path builder string?

@ILoveOpenSourceApplications
Copy link
Contributor Author

Is header_store_button not a path builder string?

No, it's in the bufferstrings.

@n1cKz1
Copy link

n1cKz1 commented Apr 23, 2024

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?

@LisoUseInAIKyrios
Copy link
Contributor

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.

@n1cKz1
Copy link

n1cKz1 commented Apr 24, 2024

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

@oSumAtrIX
Copy link
Member

If you remove "the" it won't be a proper sentence anymore.

@LisoUseInAIKyrios LisoUseInAIKyrios removed the Prioritized Prioritization over other issues label May 31, 2024
@ILoveOpenSourceApplications ILoveOpenSourceApplications changed the title feat(YouTube): Hide the 'Visit store' button on channel pages feat(YouTube): Hide the 'Visit store' button on channel profiles Jun 7, 2024
@ILoveOpenSourceApplications
Copy link
Contributor Author

ILoveOpenSourceApplications commented Jun 11, 2024

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.

Screenshot_20240611_114736_YouTube

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Γ¥Ö

@ILoveOpenSourceApplications ILoveOpenSourceApplications changed the title feat(YouTube): Hide the 'Visit store' button on channel profiles feat(YouTube): Hide the 'Visit store' button on channel pages Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Requesting a new feature that's not implemented yet
Projects
None yet
4 participants