Just show the full date and time on the list instead of only short date. Useful if you need to create a report and you base on your activity and it's timing. Or when you look at mails and want to find one visually by looking on times.
目前為
// ==UserScript==
// @name Gmail - show full date and time in mail list
// @description Just show the full date and time on the list instead of only short date. Useful if you need to create a report and you base on your activity and it's timing. Or when you look at mails and want to find one visually by looking on times.
// @namespace https://www.facebook.com/zbyszek.matuszewski
// @include https://mail.google.com/mail/*
// @version 0.2
// @grant none
// ==/UserScript==
(function() {
window.setInterval(function() {
Array.from(document.getElementsByClassName("xW xY")).forEach(function(element, index, array) {
var elements = element.childNodes;
var title = elements.length > 0 ? elements[0].title : false;
if (title) { elements[0].innerHTML = title; }
});
Array.from(document.getElementsByClassName("xX")).forEach(function(element, index, array) {
element.style.width = '20ex';
});
}, 2000);
})();