Sidebar for YouTube™
-
burnout426 Volunteer last edited by
You can create your own extension that does what that extension does.
Create a folder on your desktop named "no frame-options headers for youtube".
Then, create the following 2 files in that folder:
manifest.json:
{ "manifest_version": 3, "name": "SFY Helper", "version": "0.1", "description": "Fix the Sidebar for Youtube Opera Extension by remove frame-options headers", "permissions": [ "declarativeNetRequest", "declarativeNetRequestWithHostAccess" ], "host_permissions": [ "*://*.youtube.com/*" ], "declarative_net_request": { "rule_resources": [ { "enabled": true, "id": "headers", "path": "rules.json" } ] } }
rules.json:
[ { "id": 1, "condition": { "urlFilter": "||youtube.com^", "resourceTypes": [ "sub_frame" ] }, "action": { "type": "modifyHeaders", "responseHeaders": [ { "operation": "remove", "header": "frame-options" }, { "operation": "remove", "header": "x-frame-options" } ] } } ]
Then, goto the URL
opera://extensions
, turn on developer mode, click "load unpacked" and point it to that folder on your desktop. -
SetarcosDrol last edited by
@tricktraps: yeh but the point was I wanted to use opera browser not chrome. Will this liknk still fix the Opera Browser side bar??
-
SetarcosDrol last edited by
@notsostupid: It did work for Opera!!! Thanks so much! They should hire you as their comment reader and fixer ! haha
-
otirrub last edited by
@burnout426: I did this and I'm still getting "ERR_BLOCKED_BY_RESPONSE" any ideas?
-
burnout426 Volunteer last edited by
@otirrub Hmm, I just checked it all again by following my steps and coping the code from my post. Still works for me. Do you get any errors shown next to the extension at the URL
opera://extensions
?Any difference if you restart Opera? Any difference if disable your other extensions one by one to test if one is interfering?
Does it work fine in a test standalone installation?
Look at the host_permissions in manifest.json. If you're in a country where it's youtube.fr or something, you might have to adjust it so that it will match.
-
otirrub last edited by
@burnout426: I tried disabling my other extensions with no luck. On the extension page it says "This extension may soon no longer be supported". Could it be because I'm using Opera One? I'll see if it works on gx.
-
otirrub last edited by
@burnout426: I just installed it along with your SFY Helper on opera GX and it worked! must be something with Opera One then?
-
burnout426 Volunteer last edited by burnout426
@otirrub said in Sidebar for YouTube:
must be something with Opera One then?
I only tested in Opera One 113.0.5230.86 64-bit on Windows 11 23H2 and it's working there. Not sure. Does it work in a test standalone installation of Opera One?
-
burnout426 Volunteer last edited by
@otirrub said in Sidebar for YouTube:
On the extension page it says "This extension may soon no longer be supported".
That error/warning is fine for now. Opera is given you that error because the Sidebar for Youtube extension is a manifest 2 extension instead o a manifest 3 one. Due to changes in Chromium, manifest 2 extensions will no longer be supported in most Chromium-based browsers soon.