Fix YouTube embeds in Feedly (Firefox preemptive patch)

Fix broken YouTube video embeds in Feedly for Firefox by adding referrerpolicy before iframe creation.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
Lucian NEAG
Daily installs
0
Total installs
23
Ratings
0 0 0
Version
2.0
Created
2025-11-05
Updated
2025-11-05
Size
2.2 KB
License
MIT
Applies to

Fixes broken YouTube video embeds in Feedly when using Firefox Desktop.
YouTube iframes inside Feedly’s articles fail to load because they lack the required
referrerpolicy="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