[Bug] YouTube subtitles do not display when UserAgent-Switcher is loaded
Hi Ray! Thanks for your work on this extension, it's a great tool for letting YouTube load faster on Firefox :P
However, I noticed that subtitles no longer display on the YouTube videos that I watch. I can enable and disable subtitles in the YouTube video player, but they simply do not display. Not even when I revert to the default Firefox user-agent or disable YouTube in my whitelist. Only after I disable the User-Agent Switcher in Firefox' extensions settings, then the subtitles display properly again. Thus, there must be some bug in the code that somehow prevents YouTube subtitles from loading / being displayed when the extension is enabled, even when the user-agent isn't being spoofed.
I'm using Firefox 144.0.2 from Flatpak on Nobara Linux (KDE). The extension is at version 0.6.6. My configuration options are practically default, besides having switched to whitelist mode with www.youtube.com as the only entry in my whitelist. I have no idea when this started happening, as I've only been using this extension for ~1 month and only just noticed that this extension is causing this issue.
If there's anything I can do to help debug this issue, please let me know and I'll report back!
Most likely YouTube uses a different hostname for subtitles. Switch to the blacklist mode without an exception to spoof all hostnames and see if the issue is fixed or not. If so you need to find the hostname for subs and add it to the whitelist mode. It might be googlevideo.com