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:
- Go to Go live while signed in as a channel that can stream
- See error
Expected behavior
I expect to see ytcFilter in the chat.
Screenshots


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.
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:
It's likely caused by
getElementByIdreturning null for some reason.To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect to see ytcFilter in the chat.
Screenshots


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):
Additional context
It works fine in normal YouTube though.