No Overdues!

Being Submitted...

当前为 2025-01-20 提交的版本,查看 最新版本

// ==UserScript==
// @name        No Overdues!
// @namespace   Violentmonkey Scripts
// @match       https://www.myedio.com/*
// @exclude     https://www.myedio.com/login/
// @exclude     https://www.myedio.com/
// @license     CC BY-NC
// @grant       none
// @version     1.0
// @author      Mineverse Tutorials
// @description Being Submitted...
// ==/UserScript==

/*
  _   _          ___                    _                   _ 
 | \ | | ___    / _ \__   _____ _ __ __| |_   _  ___  ___  | |
 |  \| |/ _ \  | | | \ \ / / _ \ '__/ _` | | | |/ _ \/ __| | |
 | |\  | (_) | | |_| |\ V /  __/ | | (_| | |_| |  __/\__ \ |_|
 |_| \_|\___/   \___/  \_/ \___|_|  \__,_|\__,_|\___||___/ (_)
                                                              

*/

(function() {
    'use strict';

  function logScriptEnabled() {
    const logStyle = [
        'color: white',
        'background: linear-gradient(90deg, #ff5722, #ff9800)',
        'padding: 10px',
        'border-radius: 5px',
        'font-size: 16px',
        'font-weight: bold'
    ].join(';');

    console.log('%cScript Enabled: There are no set keys to disable.', logStyle);
}

function removeElementsAndChangeText() {
    const calendarElements = document.querySelectorAll('.c-calendar-list-accordion');
    calendarElements.forEach(element => element.remove());

    const mediumSmallElements = document.querySelectorAll('.-mediumsmall.-neutral-darkest');
    mediumSmallElements.forEach(element => element.remove());

    const overdueElements = document.querySelectorAll('.-overdue');
    overdueElements.forEach(element => element.remove());
// Hay if your reading this and you have an opinion on this script, "mind.log('I Do not care!');"
    const tagElements = document.querySelectorAll('.c-tag.-neutral-lightest');
    tagElements.forEach(tag => {
        tag.textContent = '0 OVERDUE';
    });
}

logScriptEnabled();
setInterval(removeElementsAndChangeText, 10);

  })();