Remove Telemetr.io Blur and Update Notification

Removes blur effect and update notification on telemetr.io

目前為 2024-09-25 提交的版本,檢視 最新版本

// ==UserScript==
// @name         Remove Telemetr.io Blur and Update Notification
// @namespace    http://tampermonkey.net/
// @version      1.0
// @author       sharmanhall
// @description  Removes blur effect and update notification on telemetr.io
// @match        https://telemetr.io/en/net/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=https://telemetr.io
// @grant        none
// @license      MIT 
// ==/UserScript==

(function() {
    'use strict';

    // Function to remove elements
    function removeElements() {
        // Remove blur div
        const blurDiv = document.querySelector('body > main > div > div.relative.min-h-\\[800px\\] > div.absolute.inset-0.z-20.flex.justify-center.items-start.p-2.top-\\[212px\\]');
        if (blurDiv) {
            blurDiv.remove();
        }

        // Remove update notification
        const updateNotification = document.querySelector('.auth-plug');
        if (updateNotification) {
            updateNotification.remove();
        }
    }

    // Run the function immediately
    removeElements();

    // Set up a MutationObserver to handle dynamically loaded content
    const observer = new MutationObserver(removeElements);
    observer.observe(document.body, { childList: true, subtree: true });
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址