Remove Telemetr.io Blur and Notifications

Removes blur effect and notifications on telemetr.io

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

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

(function() {
    'use strict';

    function removeElements() {
        // Remove blur div for /en/net/* pages
        const blurDivNet = 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 (blurDivNet) {
            blurDivNet.remove();
        }

        // Remove blur div for /en/channels/* pages
        const blurDivChannels = document.querySelector('body > main > div.container.relative.my-16.min-h-\\[500px\\] > div.absolute.inset-0.z-20.flex.justify-center');
        if (blurDivChannels) {
            blurDivChannels.remove();
        }

        // Remove update notification and "Choose a Different Plan" overlay
        const notifications = document.querySelectorAll('.auth-plug');
        notifications.forEach(notification => notification.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 });
})();