White filter on top of youtube videos.
-
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