Fix broken YouTube video embeds in Feedly for Firefox by adding referrerpolicy before iframe creation.
Fixes broken YouTube video embeds in Feedly when using Firefox Desktop.
YouTube iframes inside Feedly’s articles fail to load because they lack the requiredreferrerpolicy="origin-when-cross-origin" attribute.
This userscript intercepts iframe creation and automatically adds the correct referrer policy before Feedly attaches the iframe to the DOM — making embedded YouTube videos playable again.
✅ Works automatically after installation
✅ Lightweight — no polling or heavy DOM watching
✅ Safe — only modifies YouTube iframes on feedly.com
Tested on:
Feedly web (https://feedly.com