Rewrite YouTube embeds on third-party sites to use an alternative front-end (invidious) so Google never sees the embed requests.
YouTube embeds now require a valid HTTP referrer to function properly; if the referrer policy is set to "no-referrer," it can cause errors. This userscript rewrites YouTube embeds on third-party sites to use an alternative front-end (invidious) to bypass this issue. It will rewrite all embeds regardless of whether a referrer is passed.
NOTE: You may need to enable cookie storage for the proxy site in order for this to work.