Prerequisites
I tried to reproduce the issue when...
Description
When using the click2load redirect, eg.
||*/*embed*$3p,frame,redirect=click2load.html,domain=godlikeproductions.com
testing page
after clicking to load the embed, the request is made without the original Referrer present in the Header. Certain sites like Youtube can enforce a policy (1) to not load unless it has this value (eg. resulting in the "video player configuration error").
Therefore, the embedded content will fail to load if initiated from click2load but successfully loads otherwise.
Note that this is NOT a Youtube-specific issue, it's just an oversight in the click2load feature that can clash with server-side policy.
- yt docs:
API Clients need only ensure they are not setting the Referrer-Policy in a way that suppresses the Referer value.
[...] API Clients must not use the noreferrer feature, which suppresses the Referer value.
A specific URL where the issue occurs.
https://www.godlikeproductions.com/forum1/message6100646/pg1
Steps to Reproduce
With uBo enabled at all times...
-
As I understand, not every system is affected by this policy. Manually paste this URL in your browser: https://www.youtube.com/embed/2za2IK8FQoM (which avoids Github being set as the Referrer). You should see the video fail to load and "video player configuration error". Otherwise, you will not be able to fully test this.
-
Open the provided URL from godlikeproductions. Note that the youtube embeds are fully functional.
-
Confirm in dev tools that Referrer is set for the youtube doc in the Request Header
-
Add the click2load static filter to uBO and refresh the page.
||*/*embed*$3p,frame,redirect=click2load.html,domain=godlikeproductions.com
-
When attempting to load a frame, you will again receive the "video player configuration error"
-
Confirm in dev tools that Referrer is absent from the youtube doc Request Header
Expected behavior
Click2load initiated frames make the same Request Header as they do during a normal page load, ensuring compatibility.
Actual behavior
Click2load initiated frame makes a request without the appropriate header params (Referrer), resulting in the embed failing to load.
uBO version
1.67.0
Browser name and version
Chromium 138
Operating System and version
Windows 7
Prerequisites
I tried to reproduce the issue when...
Description
When using the click2load redirect, eg.
||*/*embed*$3p,frame,redirect=click2load.html,domain=godlikeproductions.comtesting page
after clicking to load the embed, the request is made without the original
Referrerpresent in the Header. Certain sites like Youtube can enforce a policy (1) to not load unless it has this value (eg. resulting in the "video player configuration error").Therefore, the embedded content will fail to load if initiated from click2load but successfully loads otherwise.
Note that this is NOT a Youtube-specific issue, it's just an oversight in the click2load feature that can clash with server-side policy.
A specific URL where the issue occurs.
https://www.godlikeproductions.com/forum1/message6100646/pg1Steps to Reproduce
With uBo enabled at all times...
As I understand, not every system is affected by this policy. Manually paste this URL in your browser:
https://www.youtube.com/embed/2za2IK8FQoM(which avoids Github being set as the Referrer). You should see the video fail to load and "video player configuration error". Otherwise, you will not be able to fully test this.Open the provided URL from godlikeproductions. Note that the youtube embeds are fully functional.
Confirm in dev tools that
Referreris set for the youtube doc in the Request HeaderAdd the click2load static filter to uBO and refresh the page.
||*/*embed*$3p,frame,redirect=click2load.html,domain=godlikeproductions.comWhen attempting to load a frame, you will again receive the "video player configuration error"
Confirm in dev tools that
Referreris absent from the youtube doc Request HeaderExpected behavior
Click2load initiated frames make the same Request Header as they do during a normal page load, ensuring compatibility.
Actual behavior
Click2load initiated frame makes a request without the appropriate header params (Referrer), resulting in the embed failing to load.
uBO version
1.67.0
Browser name and version
Chromium 138
Operating System and version
Windows 7