Extension for www.myvidster.com

A new extension

Size

888 B

Version

1.0.1

Created

Feb 12, 2026

Updated

25 days ago

1// ==UserScript==
2// @name		Extension for www.myvidster.com
3// @description		A new extension
4// @version		1.0.1
5// @match		https://*.myvidster.com/*
6// @icon		https://www.myvidster.com/favicon.ico
7// ==/UserScript==
8(function() {
9    'use strict';
10
11    function init() {
12        console.log('Checking for content element...');
13        
14        // Check if element with id "content" exists
15        const contentElement = document.getElementById('content');
16        
17        if (contentElement) {
18            console.log('Content element found, adding class to body');
19            document.body.classList.add('content-found');
20        } else {
21            console.log('Content element not found');
22        }
23    }
24
25    // Run when DOM is ready
26    if (document.readyState === 'loading') {
27        document.addEventListener('DOMContentLoaded', init);
28    } else {
29        init();
30    }
31})();