⚙️ display enable

Enabled Hided oe disabled functionals!

Від 09.03.2024. Дивіться остання версія.

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 or Violentmonkey 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.

(У мене вже є менеджер скриптів, дайте мені встановити його!)

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            ⚙️ display enable
// @namespace       Wizzergod
// @version         1.0.1
// @description     Enabled Hided oe disabled functionals!
// @description:ru  Включает отключёный или скрытй функционал!
// @icon            https://www.google.com/s2/favicons?sz=64&domain=hotpot.ai
// @license         MIT
// @author          Wizzergod
// @match           *://hotpot.ai/art-generator*
// @match           *://hotpot.ai/remove-background*
// @match           *://hotpot.ai/anime-generator*
// @match           *://hotpot.ai/logo-generator*
// @match           *://hotpot.ai/headshot/train*
// @match           *://hotpot.ai/colorize-picture*
// @match           *://hotpot.ai/restore-picture*
// @match           *://hotpot.ai/enhance-face*
// @match           *://hotpot.ai/drive*
// @match           *://hotpot.ai/s/*
// @match           *://hotpot.ai/upscale-photo*
// @match           *://hotpot.ai/sparkwriter*
// @match           *://hotpot.ai/background-generator*
// @match           *://hotpot.ai/lunar-new-year-headshot*
// @match           *://hotpot.ai/ai-avatar*
// @match           *://hotpot.ai/ai-editor*
// @match           *://hotpot.ai/ai-stock-photo*
// @grant           none
// ==/UserScript==

(function() {
    'use strict';

    function showHiddenElements() {
        var elementsToCheck = document.querySelectorAll('#controlBox, #sidebarBox');
        elementsToCheck.forEach(function(element) {
            var hiddenElements = element.querySelectorAll('[style*="display:none"]');
            hiddenElements.forEach(function(hiddenElement) {
                hiddenElement.style.display = 'block';
            });
        });
    }

    // Показывать скрытые элементы при загрузке страницы
    showHiddenElements();

    // Отслеживание изменений каждые 2 секунды
    setInterval(function() {
        showHiddenElements();
    }, 2000);
})();