White filter on top of youtube videos.
-
scaredfizz last edited by
@tetika-0 the problem is using youtube dark theme in youtube settings instead of Opera GX dark theme, try to turn it off
-
cafo98 last edited by
@an0nymous I checked all this page...and the only thing it worked is this link: https://www.reddit.com/r/operabrowser/wiki/opera/dark_mode_settings/
more specific: Opera GX also allows you to force pages into dark mode by applying its own dark theme to pages. To control this, there's a global "Force Dark Pages" option at the URL opera://settings/opera-gx. But, you can also override the global on a per-site basis by right-clicking a page and choosing "Force Dark Page" or "Disable force dark page". And, to get a view of all sites that are overriding the global, you can goto the URL opera://settings/content/forceDarkMode. Note though that forcing a page to be dark when a page is already displaying as dark because of its own theme and or an extension you have installed can cause page colors to look weird. So, if you have problems with colors, always check your dark mode extensions, the page's theme, and Opera's dark mode settings to make sure you're only using one method of darkness.
-
luna231 last edited by
@regsto Just go to the top right corner of your screen and select fast configurations then scroll down untill you find force dark pages and turn it off it might still make one site have that config like how it happened to me but just click on configuration right below it and disable the site
-
burnout426 Volunteer last edited by
There are 2 things that cause this:
-
Forcing Opera's dark mode for Youtube. Right-click a Youtube page and choose "Disable force dark page". It it says "Force dark page" instead, then you're not forcing Opera's dark mode on the page and this is not the problem.
-
Youtube's Ambient Mode feature. Click the gear on the video toolbar and turn it off.
-
-
JackWeasley last edited by
@tetika-0 Please go to opera://settings/content/forceDarkMode (force dark mode settings) and add www.youtube.com to the disable part ... Hope it helps!
-
Gogoseit2020 last edited by
@hagfird that was the issue for me. I just added youtube to the blacklist, that way I can still use force dark pages
-
avrRATINGs last edited by
@cjgray24 Hello i'm new at coding and I noticed that there was also a white filter at the top of youtube videos when on fullscreen so why this script isn't working look ?
$('.ytp-gradient-bottom').remove(); $('.ytp-gradient-top').remove();
Excuse my english I am italian
-
SolarFlowv last edited by
Finally found the no.1 issue for me, in opera gx, there is an RGX option, click on it to disable it, and ur done.
-
Rabios last edited by
@avrratings A bit late so no idea if you still are looking for a fix but I'm gonna reply anyway in case someone in the future is looking for it. Its not working because the scripts is running before those elements have been initialized. An easy fix is not not remove the elements but just add a css style to make the white glow not be displayed. This should work :
// ==UserScript==
// @name Remove white hue from dark mode player
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.youtube.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant none
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js
// ==/UserScript==(function () {
'use strict';
var sheet = document.createElement('style');
var sheet2 = document.createElement('style');sheet.innerHTML = ".ytp-gradient-top {display: none !important};"; sheet2.innerHTML = ".ytp-gradient-bottom {display: none !important};"; document.body.appendChild(sheet); document.body.appendChild(sheet2);
})();
-
ADSadachbia last edited by
@cafo98 Thanks for the link although the "disable" doesn't seem to work the "enable" does.
So i suppose i will conform with having to add sites manually -
AntonaquaOGX last edited by
After looking for 5 days I fixed it on my end. I had changed a bunch of stuff trying to get rid of the white glow, but these steps finally fixed it for me.
Go to opera://flags/#enable-force-dark and put it on Default. Go to opera settings, at the bottom-ish, there's a setting called Force Dark Pages. Turn that off. Then go to youtube and turn on dark mode on youtube itself. Restart the browser and that fixed it for me