Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

White filter on top of youtube videos.

  • The same issue just started to appear with Chrome's dark mode (for some strange reason) and this was the only thread that I could find on the issue. The Tampermonkey script works but its intermittent and sometimes it doesn't remove the white filter.

    Here's an improved script for Tampermoney:

    // ==UserScript==
    // @name        Chrome Force Dark Mode Fix/White Overlay Fix
    // @namespace   namespace
    // @include     *://www.youtube*
    // @description Fixes Chrome Force Dark Mode on YouTube
    // @grant       GM_addStyle
    // @require  http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
    // @require  https://gist.github.com/raw/2625891/waitForKeyElements.js
    // ==/UserScript==
    waitForKeyElements (".ytp-gradient-bottom", removeDSclass);
    
    function removeDSclass (jNode) {
        jNode.removeClass ("ytp-gradient-bottom");
    }
    
  • Here's the final improved version:

    // ==UserScript==
    // @name        Chrome Force Dark Mode Fix/White Overlay Fix
    // @namespace   namespace
    // @include     *://www.youtube*
    // @description Fixes Chrome Force Dark Mode on YouTube
    // @grant       GM_addStyle
    // @grant       GM.getValue
    // @require  http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
    // @require  https://gist.github.com/raw/2625891/waitForKeyElements.js
    // ==/UserScript==
    waitForKeyElements ("div.ytp-gradient-bottom, div.ytp-gradient-top", removeNode);
    
    function removeNode (jNode) {
        jNode.remove ();
    }
  • The problem is the force dark , but you can go and remove from settings for the specific page "youtube" and then use youtube page setting so it is still on dark theme . hope it made sense what i told ya (sorry for my poor english). if need more help pm me 🦌

  • @koyfontinas how do you remove it from youtube only? i can't figure out how :'[

  • @sodapoppy First, click on the three lines in the top right of the browser (this is directly under the "X" button to close the window). Then find the option for "Force Dark Pages" and click on "Configuration". Then under the "Disable" section, click on "Add". Then just add www.youtube.com and save and close it.

  • @dedmachine force dark mode isnt in the 3 lines, its on the opera://flags page. there's no option for configuring

  • @sodapoppy Click on the "O" in the top left and go to "Update & Recovery" and check for updates. It definitely is an option, but it has a beta label on it. So maybe only recent versions or certain users have access to it.

  • @dedmachine are u using a different version of opera? like the beta or developer one?

  • @sodapoppy Probably using Opera GX, since this area is about Opera GX.

  • @leocg i,, feel very stupid. thanks so much!!