You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Exception: This document requires 'TrustedHTML' assignment #199
This is fixed by dda6045 and c4dfefb and will be included in the next release. The problem was that youtube.com enforces Trusted Types via the require-trusted-types-for 'script' CSP directive, which also applies to the isolated worlds created via the DevTools protocol, unlike the isolated worlds of browser extensions. The CLI now clears the CSP of the isolated world where SingleFile runs, like browser extensions do. This requires a browser based on Chromium 151 or newer. With older browsers, you can use the new --browser-bypass-CSP option to bypass the CSP of the page instead. Thank you for the detailed report!
Activity
gildas-lormeau commentedon Aug 25, 2026
This is fixed by dda6045 and c4dfefb and will be included in the next release. The problem was that youtube.com enforces Trusted Types via the
require-trusted-types-for 'script'CSP directive, which also applies to the isolated worlds created via the DevTools protocol, unlike the isolated worlds of browser extensions. The CLI now clears the CSP of the isolated world where SingleFile runs, like browser extensions do. This requires a browser based on Chromium 151 or newer. With older browsers, you can use the new--browser-bypass-CSPoption to bypass the CSP of the page instead. Thank you for the detailed report!bypass the content security policy of the page by default (fix gildas…