code-charity / code-charity/youtube

Hiding YouTube Shorts no longer works

Open
#2,001 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug good first issue help wanted up-for-grabs
Dominant language
JavaScript
Stars
4.6k
Forks
996
Avg merge
2d 15h
Merged PRs (30d)
7

Description

Bug Report:

BUG: The toggles to remove Shorts from the home page and subscription pages is not working. Youtube recently made a change as userscripts to hide shorts no longer work either :(
HOW: Toggling the Hide Shorts options has no effect
⚬ If a YouTube change started the bug, please copy the DOM you get (especially if the bug doesn't happen when you log out or on another computer) Occurs on all devices/accounts
⚬ Or did our last update start the bug?
⚬ ImprovedTube Version: 4.615

1. Thanks for coming & caring! Before submitting, please check if the issue has already been reported ever. With GitHub's issue search (use this link) (else removing "is:issue is:open" from the standard search) ( - If it was posted before, you can answer/react there to give it your voice and move it up in the lists) ( - If the status is "closed" (=fixed) recently, then Web Stores can be updated soon - if it was closed month or years ago, then it might reappeared & must be fixed again.)

2. To give us a chance to solve the bug: Can you ...?:
- ..deactivate other extensions running on YouTube? (or use an incognito window after activating this extension to run there / chrome://extensions details chrome://extensions/?id=bnomihfieiccainjcjblhegjgglakjdd )
- ..open the Browser-console, with the F12-Key, before/when the error occures? (then hopefully you'll see an error message in the console).
- ...copy the YouTube-DOM shown above the console (F12) in case YouTube is giving you a new verson. You can copying the root element <html> in the top after the bug happened:
(FireFox:)
- There are 2-3 different versions depending if you open a new window or clicked a link on youtube


More / optionally:

Screenshots:
/ ⚬ Context:
/ ⚬ Expected /preferred behavior:
⚬ Browser:
⚬ Settings:

⚬ OS:
⚬ Device:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named in the report. First reproduce the issue with the Hide Shorts toggles enabled on YouTube's home and subscription pages, then inspect the extension's handling of the changed YouTube DOM. Done means Shorts are removed from both pages again, with regression coverage added if the relevant test location is found.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.