您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Attempt to more reliably highlight unread emails in Outlook Web App.
// ==UserScript== // @name Enhanced O365 Unread Email Highlighter - Adjusted // @version 1.1 // @description Attempt to more reliably highlight unread emails in Outlook Web App. // @match https://outlook.office365.com/* // @match https://outlook.office.com/* // @grant none // @author chaoscreater // @require https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js // @namespace https://greasyfork.org/users/1056895 // ==/UserScript== 'use strict'; var style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = ` /* Attempts to change the background color of unread email items */ .jGG6V[aria-label*="Unread"] .xc0ZS.JtO0E { background-color: #ffc2b3 !important; /* Light red color for unread emails */ } /* Ensure text within unread emails remains legible */ .jGG6V[aria-label*="Unread"] .gy2aJ.U2XB8, .jGG6V[aria-label*="Unread"] .FqgPc.gy2aJ.U2XB8 { color: #000 !important; /* Black color for contrast */ } /* Changes the background color to gray when hovering over email items */ .jGG6V[aria-label*="Unread"] .xc0ZS.JtO0E:hover { background-color: #808080 !important; /* gray color */ } `; document.getElementsByTagName('head')[0].appendChild(style);