Remove sign in banner when scroll down to up next while playing video
Description
In guest mode, youtube always appears a banner suggests sign in when playing video
Similar to #263
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; }
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
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
oh, the compiled ipk?, urr i have to recompile it with all my edits removed, this might take a bit
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.
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?
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.
@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
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 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)
When you press down the up next list will appear but there be no white border focus around first video
Thanks again for looking into it
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.
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.
Thnx man, the enshittyfication of Youtube is a sad thing.