YouTube Infinite Subscribers

A new extension

Size

1.4 KB

Version

1.0.1

Created

Apr 1, 2026

Updated

15 days ago

1// ==UserScript==
2// @name		YouTube Infinite Subscribers
3// @description		A new extension
4// @version		1.0.1
5// @match		https://*.youtube.com/*
6// @icon		https://www.youtube.com/s/desktop/b5d07f3d/img/favicon_32x32.png
7// ==/UserScript==
8(function() {
9    'use strict';
10
11    // Function to replace subscriber count with infinity symbol
12    function replaceWithInfinity() {
13        // Select the subscriber count element
14        const subCountElement = document.querySelector('ytd-video-owner-renderer #owner-sub-count');
15        
16        if (subCountElement) {
17            // Replace the text with infinity symbol
18            subCountElement.textContent = '∞ subscribers';
19            console.log('Subscriber count replaced with infinity symbol');
20        } else {
21            console.log('Subscriber count element not found');
22        }
23    }
24
25    // Run immediately when the script loads
26    replaceWithInfinity();
27
28    // Also run periodically to catch any dynamic updates
29    setInterval(replaceWithInfinity, 1000);
30
31    // Use MutationObserver to watch for changes in the DOM
32    const observer = new MutationObserver(function(mutations) {
33        mutations.forEach(function(mutation) {
34            if (mutation.type === 'childList') {
35                replaceWithInfinity();
36            }
37        });
38    });
39
40    // Start observing the document body for changes
41    observer.observe(document.body, {
42        childList: true,
43        subtree: true
44    });
45})();