Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Static mail icon (Warlight)
// ==UserScript==
// @name Static mail icon (Warlight)
// @namespace Violentmonkey Scripts
// @match*
// @grant none
// @version
// @author l4vr0v
// @description Replaces Warlight flashing mail icon with a still lit-up one, if you have mail.
// ==/UserScript==
let normalMailIcon = document.getElementById("MailImgNormal");
if (normalMailIcon) { = "2px solid black"; = "brightness(0.85)";
let flashingMailIcon = document.getElementById("MailImgFlashing");
if (flashingMailIcon) {
flashingMailIcon.src = ""; = "2px solid orangered"; = "brightness(1.5)";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment