Closed chk1 closed 2 years ago
Ah, I think this is caused by requesting a youtube.com API from a non-youtube domain. CORS issue.
getVideoInfo() should use the current domain, not just YouTube.com.
youtube-nocooke.com/get_video_info does work.
Will have to test if this breaks on invidious as well
Should be fixed
Does not seem to be fixed (added this addon to firefox today and enabled this option), version 2.0.11.2 (last update January 23, 2021). I have uMatrix, uBlock Origin and Privacy Budger installed, but I disabled them and the error is still there. However, can live with disabling the option.
I've been getting many reports about this recently for non cookie stuff too, so maybe YouTube changed something
@sivizius Can you check the console on the YouTube page for the following error?
[SB] Failed at getting video info from YouTube.
If you find that, can you try it again with the latest beta (https://github.com/ajayyy/SponsorBlock/releases/tag/2.0.12.1), I made it log the data it got from YouTube if it is unable to parse it. If you see that, send the log here.
Nope, only unrelated errors (like Content Security Policy and Cross Origin Request Block)
This warning doesn't exist anymore
Sponsorblock 2.0.5.1 Firefox 80.0 - some addons including uBlock Origin Firefox 81.0b8 (Developer Edition) - all default settings, no other addons
Steps to reproduce
Problem
The following message always appears as a Javascript
alert
a short time after page load:None of the URLs in the Wiki are being blocked from what I can tell, in the uBO logs, Firefox devtools and browser console. I tried adding the recommended settings to my uBO filter list but there was no difference. Playing with Firefox' tracking, privacy and autoplay controls made no difference either.
I do not have any other network or DNS-type blockers installed.
Examples
This particular video does not have SponsorBlock data (very short video), the alert is shown https://jsfiddle.net/ryo5wsak/
This video has endcards in the SB database, the alert is shown, and the SB data is still being loaded successfully (setting Endcards - Show in seek bar) https://jsfiddle.net/nsqk5p3f/