Greasy Fork is available in English.

Stop slack from darkening on blur

06/02/2025, 23:27:38

// ==UserScript==
// @name        Stop slack from darkening on blur
// @namespace   Violentmonkey Scripts
// @match       *://app.slack.com/client/*
// @grant       none
// @version     1.0
// @author      CyrilSLi
// @description 06/02/2025, 23:27:38
// @license     MIT
// ==/UserScript==
const observer = new MutationObserver((muts) => {
    setTimeout(() => {document.body.classList.remove("p-window--blurred")}, 0);
})
observer.observe(document.body, {
    attributes: true,
    attributeFilter: ["class"]
})