Sidebar for YouTube™
-
GuyLakeman last edited by
on opera we get
www.youtube.com is blocked
www.youtube.com refused to connect.
ERR_BLOCKED_BY_RESPONSE -
tricktraps last edited by
shadow2531
•
3y ago
It appears that any site that sends the x-frame-options: SAMEORIGIN header won't load in a sidebar extension that uses an iframe to load the site because Opera is following that security directive and blocking the loading of the site.Installing https://chrome.google.com/webstore/detail/ignore-x-frame-headers/gleekbfjekiniecknbkamfmkohkpodhe/related?hl=en-US might help. Make sure to enable it for search page results too so it works for Google sites. If that works for you, you should try to set the extension to only work on the sites used by your sidebar apps.
-
kyle899 last edited by
I would recommed if you can watch stuff in the background and don't have to keep to on all the time
-
aliciahanie last edited by
Unfortunately not working 6/20/2024. Still getting the Youtube is blocked/Youtube refused to connect. Also using with Opera.
-
Notsostupid last edited by
To fix the blocked error, install this extension from the chrome webstore on top of this one: https://chromewebstore.google.com/detail/sidebar-for-youtube/ffnhapbeebfgpgkfoacmekkjnnmkgbbo
-
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.