Skip to content

ytcFilter doesn't appear in Studio mode #92

@iveanissue

Description

@iveanissue

Describe the bug
ytcFilter doesn't appear in Studio mode (studio.youtube.com). I see that this extension has the permissions for that domain, but I don't see it when I go to live stream for some reason. When this extension is enabled, I notice an error message in the console that reads "MutationObserver.observe: Argument 1 is not an object." The error is thrown in line 46878 of content.js which looks like this:

  observer.observe(document.getElementById('show-more'), {

It's likely caused by getElementById returning null for some reason.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Go live while signed in as a channel that can stream
  2. See error

Expected behavior
I expect to see ytcFilter in the chat.

Screenshots
image
image

Storage
{"global":{"version": "2.2.0","darkMode": false,"fullPopout":{"height": 800,"width": 1200},"compactPopout":{"height": 600,"width": 400},"profiles":{},"defaultPerChannel":{},"globalDefault": null,"limitMsgPerVideo": 100,"storageLifetime": 7},"helpAlert":{"filterHelp": true,"profileHelp": true,"profileDefaultHelp": true,"welcome": false}}

Desktop (please complete the following information):

  • Windows 10
  • Firefox 103.0.2
  • ytcFilter 2.2.0

Additional context
It works fine in normal YouTube though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions