YouTube comments won't display (when logged in). Topic is solved

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
BenFenner
Keeps coming back
Keeps coming back
Posts: 814
Joined: 2015-06-01, 12:52
Location: US Southeast

YouTube comments won't display (when logged in).

Unread post by BenFenner » 2025-02-27, 23:43

Example URL: https://www.youtube.com/watch?v=QEJpZjg8GuA
(But any video will do for testing.)

I can't get the comments section of a YouTube video to load for me. This began some time maybe yesterday.
I disabled uBO to make sure it wasn't the problem (I have a good bit of custom YT filters to remove Shorts in addition to the normal filters).

The JS console is reporting "too much recursion" for dozens of lines. I imagine you'll see what I see when you test.
I'm on PM 33.6.0.1 (latest) and just thinking out loud I wonder if it has to do with the recent Cloudflare anti-crash update(s)...

Can anyone else reproduce?
Last edited by BenFenner on 2025-02-28, 01:48, edited 1 time in total.

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 5397
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: YouTube comments won't display.

Unread post by Night Wing » 2025-02-27, 23:53

I can get the comments to display. But I do not have a YouTube account. I also switched over to uBlock Origin (1.16.6b1).

At this time I am using 64 bit linux Pale Moon 33.6.0.1 running in 64 bit linux Mint 22.1 (Xia) Xfce.
Linux Mint 22.1 (Xia) Xfce w/Pale Moon, Waterfox, Firefox
MX Linux 23.6 (Libretto) Xfce w/Pale Moon, Waterfox, Firefox
Linux Debian 12.10 (Bookworm) Xfce w/Pale Moon, Waterfox, Firefox

BenFenner
Keeps coming back
Keeps coming back
Posts: 814
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: YouTube comments won't display.

Unread post by BenFenner » 2025-02-28, 01:44

I guess I'll log out and see it that changes things.

Edit 1: Trying while logged out does show comments. I've edited the thread title to reflect this.
Edit 4: Logged back in, and the comments are gone again. So far for me this is highly reproducible.

Can someone signed into their account check to see if comments display for you?

(Trying to log back in causes YouTube to return a 400 error. We'll see if I can ever get signed in again...)

Edit 2: Disabling Pure URL 3.4 solved my issue logging in. I'll go report this in the appropriate thread.
Edit 3: Done: viewtopic.php?f=71&t=22828&p=260162#p260162

BenFenner
Keeps coming back
Keeps coming back
Posts: 814
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: YouTube comments won't display.

Unread post by BenFenner » 2025-02-28, 15:50

BenFenner wrote:
2025-02-28, 01:44
Can someone signed into their account check to see if comments display for you?
Bump.
Anyone with a YouTube account confirm or deny comments show up when logged in?

Edit: Never mind. I have determined the issue was caused by a couple of custom (apparently over-aggressive) uBO filters I added recently to hide some completely unrelated sections of content.

After removing the filters below, comments display properly again. Sorry for the trouble!

Code: Select all

! 2025-02-25 https://www.youtube.com
www.youtube.com###contents > .ytd-item-section-renderer.style-scope:nth-of-type(1)
www.youtube.com###contents > .ytd-item-section-renderer.style-scope:nth-of-type(2)