Skip to content

Instantly share code, notes, and snippets.

@acosonic
Created September 12, 2019 13:26
Show Gist options
  • Save acosonic/f3901f3f90eeaa8bd3fb5f995f64d06d to your computer and use it in GitHub Desktop.
Save acosonic/f3901f3f90eeaa8bd3fb5f995f64d06d to your computer and use it in GitHub Desktop.
Tampermonkey script for Office web access to improve unread message
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://mail.yourserver/owa/
// @grant none
// @require http://code.jquery.com/jquery-latest.js
// ==/UserScript==
$(document).ready(function() {
setTimeout(function(){
$("div._lvv_w._lvv_z._lvv_x.listItemDefaultBackground").css("background-color","yellow");
$("div._lvv_w._lvv_y._lvv_z._lvv_x.listItemDefaultBackground").css("background-color","white");
},1000);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment