FFZ Emote Picker Resize 1.1.8

Расширение и перемещение панели эмодзи FFZ

Verze ze dne 05. 03. 2025. Zobrazit nejnovější verzi.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         FFZ   Emote Picker Resize 1.1.8  
// @namespace    http://tampermonkey.net/
// @version      1.1.8
// @description  Расширение и перемещение панели эмодзи FFZ
// @author       gullampis810
// @match        *://*.twitch.tv/*
// @icon         https://png.pngtree.com/png-vector/20220703/ourmid/pngtree-send-dark-mode-glyph-icon-png-image_5561369.png
// @grant        GM_addStyle
// @license      MIT
// ==/UserScript==



(function() {
    'use strict';
     //  кнопка Chat Paused Due to Scroll   //

        const observer = new MutationObserver(() => {
    const buttonContainer = document.querySelector('.tw-absolute.tw-border-radius-medium.tw-bottom-0.tw-c-background-overlay.tw-c-text-overlay.tw-mg-b-1');
    if (buttonContainer) {
        buttonContainer.style.height = '34px';
        buttonContainer.style.minHeight = '34px';
        buttonContainer.style.maxHeight = '34px';
        console.log('Высота контейнера кнопки установлена на 34px');
    }
});

observer.observe(document.body, { childList: true, subtree: true });



        // Добавляем стили для изменения размеров контейнера эмодзи 1.1.4 old stable
    GM_addStyle(`
 
     .emote-picker__controls-container.tw-relative {
         bottom: 3px;
     }


        .emote-picker {
               width: 107rem !important; /* Увеличенная ширина */
              height: 100rem !important; /* Увеличенная высота */
              left: 24px;                /* Сдвиг влево */
              position: relative;
        }

         .ffz--emote-picker {
         height: 785px !important;
         position: relative !important;
         width: 1097px !important;
         left: -243px !important;
        }

 
         .ffz--emote-picker.ffz--emote-picker__tall .emote-picker__nav-content-overflow, .ffz--emote-picker.ffz--emote-picker__tall .emote-picker__tab-content {
         height: unset !important;
         max-height: 73rem !important;
}
 
         .tw-absolute.ffz-attached.ffz-attached--right.ffz-attached--up {
        width: 857px !important;
        right: 368px !important;
    }

       .ffz-attached--up {
           bottom: 112%;
       }

 
       .tw-border-b.tw-border-l.tw-border-r.tw-border-t.tw-border-radius-medium.tw-c-background-base.tw-elevation-1 {
           width: 63px;
           height: 216px;
       }

        .tw-absolute {
            position: absolute !important;
            height: 715px !important;
        }


    `);

    console.log("[FFZ Emote Panel] Контейнер .emote-picker изменен: шире, выше, сдвинут влево.");

})();