youtube-webos icon indicating copy to clipboard operation
youtube-webos copied to clipboard

Remove sign in banner when scroll down to up next while playing video

Open fingers986 opened this issue 2 months ago • 2 comments

Description

In guest mode, youtube always appears a banner suggests sign in when playing video

Image

fingers986 avatar Oct 05 '25 23:10 fingers986

Similar to #263

fire332 avatar Oct 06 '25 03:10 fire332

I made a dirty hack to get rid of that, and added it in the ui.css file in src dir

/* New rule for alert renderer */ .zylon-ve.ytLrSectionListRendererContents-item-0.ytLrAlertWithActionsRendererHost.ytLrAlertWithActionsRendererSingleButtonAlert.ytLrAlertWithActionsRendererPromptType { display: none !important; }

Kneit0r avatar Oct 23 '25 12:10 Kneit0r

I made a dirty hack to get rid of that, and added it in the ui.css file in src dir

/* New rule for alert renderer */ .zylon-ve.ytLrSectionListRendererContents-item-0.ytLrAlertWithActionsRendererHost.ytLrAlertWithActionsRendererSingleButtonAlert.ytLrAlertWithActionsRendererPromptType { display: none !important; }

Do you have a download link with this hack included. Would like to test. Thanks

ANewDawn avatar Nov 10 '25 19:11 ANewDawn

I made a dirty hack to get rid of that, and added it in the ui.css file in src dir /* New rule for alert renderer */ .zylon-ve.ytLrSectionListRendererContents-item-0.ytLrAlertWithActionsRendererHost.ytLrAlertWithActionsRendererSingleButtonAlert.ytLrAlertWithActionsRendererPromptType { display: none !important; }

Do you have a download link with this hack included. Would like to test. Thanks

ui.css

oh, the compiled ipk?, urr i have to recompile it with all my edits removed, this might take a bit

Kneit0r avatar Nov 10 '25 20:11 Kneit0r

I made a dirty hack to get rid of that, and added it in the ui.css file in src dir /* New rule for alert renderer */ .zylon-ve.ytLrSectionListRendererContents-item-0.ytLrAlertWithActionsRendererHost.ytLrAlertWithActionsRendererSingleButtonAlert.ytLrAlertWithActionsRendererPromptType { display: none !important; }

Do you have a download link with this hack included. Would like to test. Thanks

Here you go, clean compiled copy of the youtube-webos ipk with the line added to the ui.css. You can use webOS Dev manager to upload it to your TV.

youtube.leanback.v4_0.5.0_all.txt

Rename the file to .ipk, else i cant upload it.

Hope it works, unfortunately youtube is constantly messing with the UI.

Kneit0r avatar Nov 10 '25 20:11 Kneit0r

I made a dirty hack to get rid of that, and added it in the ui.css file in src dir /* New rule for alert renderer */ .zylon-ve.ytLrSectionListRendererContents-item-0.ytLrAlertWithActionsRendererHost.ytLrAlertWithActionsRendererSingleButtonAlert.ytLrAlertWithActionsRendererPromptType { display: none !important; }

Do you have a download link with this hack included. Would like to test. Thanks

Here you go, clean compiled copy of the youtube-webos ipk with the line added to the ui.css. You can use webOS Dev manager to upload it to your TV.

youtube.leanback.v4_0.5.0_all.txt

Rename the file to .ipk, else i cant upload it.

Hope it works, unfortunately youtube is constantly messing with the UI.

Thanks for the link. It hides the banner but when I scroll down to videos below there is no focus to scroll left right.

Does it work on your end?

ANewDawn avatar Nov 10 '25 21:11 ANewDawn

I made a dirty hack to get rid of that, and added it in the ui.css file in src dir /* New rule for alert renderer */ .zylon-ve.ytLrSectionListRendererContents-item-0.ytLrAlertWithActionsRendererHost.ytLrAlertWithActionsRendererSingleButtonAlert.ytLrAlertWithActionsRendererPromptType { display: none !important; }

Do you have a download link with this hack included. Would like to test. Thanks

Here you go, clean compiled copy of the youtube-webos ipk with the line added to the ui.css. You can use webOS Dev manager to upload it to your TV. youtube.leanback.v4_0.5.0_all.txt Rename the file to .ipk, else i cant upload it. Hope it works, unfortunately youtube is constantly messing with the UI.

Thanks for the link. It hides the banner but when I scroll down to videos below there is no focus to scroll left right.

Does it work on your end?

Like i said, it's a dirty hack 😂. Sorry, i'm not a developer, used AI to "fix" it.

Kneit0r avatar Nov 10 '25 22:11 Kneit0r

@nicholasbly

Previously you mentioned you were able to remove this banner, wondering if you can see if there way to fix focus when scrolling down.

Maybe have option in green menu to remove sign in nags.

Thanks

ANewDawn avatar Nov 13 '25 15:11 ANewDawn

@NicholasBly

Previously you mentioned you were able to remove this banner, wondering if you can see if there way to fix focus when scrolling down.

Maybe have option in green menu to remove sign in nags.

Thanks

I don't recognize that UI in the image is that YouTube TV? Or a different webOS version, not sure. If you can describe the focus issue a bit more I can do some testing with removing the button and keeping the rest of the page functioning properly. I just worked on this same type of thing with adding the Return YouTube Dislike to the description tab, you have to dynamically adjust the other elements to make it work.

NicholasBly avatar Nov 13 '25 19:11 NicholasBly

@NicholasBly Previously you mentioned you were able to remove this banner, wondering if you can see if there way to fix focus when scrolling down. Maybe have option in green menu to remove sign in nags. Thanks

I don't recognize that UI in the image is that YouTube TV? Or a different webOS version, not sure. If you can describe the focus issue a bit more I can do some testing with removing the button and keeping the rest of the page functioning properly. I just worked on this same type of thing with adding the Return YouTube Dislike to the description tab, you have to dynamically adjust the other elements to make it work.

Yeah that image is YouTube app webos. I have took screenshots of were these sign in nags appear. One on home screen and one when in search.

The other is below video like in screenshot above.

What happens is when press down arrow on video when the sign in is hidden, it displays list of up next videos but no white border focus so can't move left/right scoll videos. Only can press up again to go back to video playing. (This happens using the hiddenmethod in comments above)

Image Image Image

When you press down the up next list will appear but there be no white border focus around first video Image

Thanks again for looking into it

ANewDawn avatar Nov 13 '25 19:11 ANewDawn

Try this out, it's not finished however it will let you select videos. I'm aiming to have the config option be visible only when in guest mode. The only thing I need to fix is having the UI skip past the missing button, so you'll have to press the down arrow twice to get to the videos. Hopefully if I have time later tonight I can send out a polished version.

Open config and enable guest mode toggle. Rename the .txt to .ipk to install.

youtube.leanback.v4_0.5.1_all-guestModeBeta.txt

NicholasBly avatar Nov 13 '25 21:11 NicholasBly

Try this out, it's not finished however it will let you select videos. I'm aiming to have the config option be visible only when in guest mode. The only thing I need to fix is having the UI skip past the missing button, so you'll have to press the down arrow twice to get to the videos. Hopefully if I have time later tonight I can send out a polished version.

Open config and enable guest mode toggle. Rename the .txt to .ipk to install.

youtube.leanback.v4_0.5.1_all-guestModeBeta.txt

Thnx man, the enshittyfication of Youtube is a sad thing.

Kneit0r avatar Nov 13 '25 22:11 Kneit0r