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/Comments): Hide timestamp button and quick emoji panel #3064

Closed
3 tasks done
ILoveOpenSourceApplications opened this issue Apr 21, 2024 · 5 comments · Fixed by #3076 or #3053
Closed
3 tasks done
Labels
Feature request Requesting a new feature that's not implemented yet

Comments

@ILoveOpenSourceApplications
Copy link

Feature description

When commenting, YouTube provides a button to comment with the timestamp and a row of emoji to use. A patch to turn these off.
Timestamp button:
Screenshot_20240421_224041_YouTube
Emoji panel:
Screenshot_20240421_223622_YouTube

Motivation

Well emoji picker is definitely a waste of space considering most, if not every keyboard has an emoji button built into it. And the timestamp button, for those who don't want to comment the timestamp or may accidentally click it by mistake.

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/Comments): Hide Timestamp and Quick Emoji Buttons feat(YouTube/Comments): Hide timestamp and quick emoji buttons Apr 21, 2024
@ILoveOpenSourceApplications
Copy link
Author

Adding composer_timestamp_button.eml to custom filter hides the timestamp button, but I couldn't find a way to hide the emoji panel.

04-21 19:01:06.339 14070 14070 D revanced: LithoFilterPatch: Searching ID: comment_composer.eml-js-b|26a82fe3bb57f9 Path: comment_composer.eml-js-b|26a82fe3bb57f9|CellType| BufferStrings: id.comment.quick_emoji.buttonΓ¥ÖEgAggAIoAQ%3D%3DΓ¥ÖEgAggAIoAQ%3D%3DΓ¥Öid.comment.quick_emoji.buttonΓ¥ÖEgAggAIoAQ%3D%3DΓ¥ÖEgAggAIoAQ%3D%3DΓ¥Öid.comment.quick_emoji.buttonΓ¥ÖEgAggAIoAQ%3D%3DΓ¥ÖEgAggAIoAQ%3D%3DΓ¥Öid.comment.quick_emoji.buttonΓ¥ÖEgAggAIoAQ%3D%3DΓ¥ÖEgAggAIoAQ%3D%3DΓ¥Öid.comment.quick_emoji.buttonΓ¥ÖEgAggAIoAQ%3D%3DΓ¥ÖEgAggAIoAQ%3D%3DΓ¥Öid.comment.quick_emoji.buttonΓ¥ÖEgAggAIoAQ%3D%3DΓ¥ÖEgAggAIoAQ%3D%3DΓ¥Öid.comment.quick_emoji.buttonΓ¥ÖEgAggAIoAQ%3D%3DΓ¥ÖEgAggAIoAQ%3D%3DΓ¥ÖPm7WsΓ¥Ödivider.eml|1962a10e5c84fc18Γ¥Ö8f7WsΓ¥Öcomposer_main_action_button.eml-js-b|3cd08dec3c59206dΓ¥Ö`7WsΓ¥Öcomposer_timestamp_button.eml|fa25abdd48a62657Γ¥Öcomposer_input.eml-js-b|4a77a21bf60c85faΓ¥Öavatar.eml|3aec0ad3894c830bΓ¥ÖYLNZΓ¥Ödivider.eml|1962a10e5c84fc18Γ¥Öid.elements.components.comment_composerΓ¥Ö1713706239167965461Γ¥Öcomment_composer.eml-js-b|26a82fe3bb57f9Γ¥Ö

@ILoveOpenSourceApplications ILoveOpenSourceApplications changed the title feat(YouTube/Comments): Hide timestamp and quick emoji buttons feat(YouTube/Comments): Hide timestamp button and quick emoji panel Apr 21, 2024
@ILoveOpenSourceApplications
Copy link
Author

@LisoUseInAIKyrios, are you seeing any particular way to hide the emoji panel here?

@LisoUseInAIKyrios
Copy link
Contributor

If it is not a litho component then it might be found by including Enable Android debugging, then using Android Studio layout inspector (open it from the Integrations project) and looking thru the layout to find class names or layout resource names for the emoji UI components.

If any layout names or custom classes is found, then dig thru the apk using jadx and find where that resource is loaded.

Then maybe it can be patched out.

I haven't tried doing this.

@ILoveOpenSourceApplications
Copy link
Author

Bufferstring has this element id.comment.quick_emoji.button but I can't seem to combine it with anything.

@LisoUseInAIKyrios
Copy link
Contributor

Both can be filtered using the right path and buffer strings,

But the buffer shows up exactly the same for both the timestamp button and the emoji buttons, making it only possible to hide both together.

#3076

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
2 participants