// ==UserScript== // @name Update ProtonMail Addy Email Label // @namespace http://tampermonkey.net/ // @version 2024-03-25 // @description Updates Addy email sender labels to use `@` instead of ` at ` for easier viewing // @author You // @match https://mail.proton.me/* // @icon https://www.google.com/s2/favicons?sz=64&domain=proton.me // @license MIT // @downloadURL none // ==/UserScript== (function() { // run every 10 seconds setInterval(() => { // update all email labels to use `@` instead of ` at ` [...document.getElementsByClassName('message-recipient-item-label')].filter(el => el.innerText.match(/.+ at .+/g)).forEach(el => el.textContent = el.textContent.replace(' at ', '@')) }, 10 * 1000); // Your code here... })();