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

Thumbnails disappear when shorts aren't nuked #2

Open
Roki100 opened this issue Aug 7, 2023 · 3 comments
Open

Thumbnails disappear when shorts aren't nuked #2

Roki100 opened this issue Aug 7, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@Roki100
Copy link
Owner

Roki100 commented Aug 7, 2023

There's an issue where theres blank space left in a size of ~1-2 thumbnails if shorts are not nuked by the userstyle, for now i have no idea on how to fix it without nuking shorts but I'm looking into it and any pull requests regarding this issue are appreciated

Nuking shorts from front/feed page via extensions like blocktube seem to take no effect either, but nuking it via userstyle seems to work, but it's not a solution to the issue

@Roki100 Roki100 added the bug Something isn't working label Aug 7, 2023
@Roki100 Roki100 pinned this issue Aug 7, 2023
@sapondanaisriwan
Copy link

sapondanaisriwan commented Aug 7, 2023

There are 2 ways what i figure out.

  1. Group the shorts section at the top of the page.
ytd-rich-section-renderer { order: -1; }
  1. Overwrite a function that YouTube use to calculate the elements per row before it was invoked (impossible with userstyle)

@Roki100
Copy link
Owner Author

Roki100 commented Aug 7, 2023

That's interesting, while the 1. solution is not perfect as i doubt anyone would want shorts to be on top, it is certainly better than removing them entirely

For the 2. solution - it seems to be a better idea even if it would involve making a separate userscript for this, i also thought about this one but it sounds a bit complex to find that exact function and integrate into it without issues

@Roki100
Copy link
Owner Author

Roki100 commented Aug 7, 2023

I have added an experimental userscript that sorta fixes the problem in 79f1213, feel free to take a look!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants