Google Meet Vortex - Ultimate Edition

מערכת ניהול מתקדמת ל-Meet: לייקים מהירים (0.5s), מענה אוטומטי חכם ודיווח קריסה מזויפת.

Чтобы установить этот скрипт, вы сначала должны установить расширение браузера, например Tampermonkey, Greasemonkey или Violentmonkey.

Для установки этого скрипта вам необходимо установить расширение, такое как Tampermonkey.

Чтобы установить этот скрипт, вы сначала должны установить расширение браузера, например Tampermonkey или Violentmonkey.

Чтобы установить этот скрипт, вы сначала должны установить расширение браузера, например Tampermonkey или Userscripts.

Чтобы установить этот скрипт, сначала вы должны установить расширение браузера, например Tampermonkey.

Чтобы установить этот скрипт, вы должны установить расширение — менеджер скриптов.

(у меня уже есть менеджер скриптов, дайте мне установить скрипт!)

Чтобы установить этот стиль, сначала вы должны установить расширение браузера, например Stylus.

Чтобы установить этот стиль, сначала вы должны установить расширение браузера, например Stylus.

Чтобы установить этот стиль, сначала вы должны установить расширение браузера, например Stylus.

Чтобы установить этот стиль, сначала вы должны установить расширение — менеджер стилей.

Чтобы установить этот стиль, сначала вы должны установить расширение — менеджер стилей.

Чтобы установить этот стиль, сначала вы должны установить расширение — менеджер стилей.

(у меня уже есть менеджер стилей, дайте мне установить скрипт!)

// ==UserScript==
// @name         Google Meet Vortex - Ultimate Edition
// @namespace    http://tampermonkey.net/
// @version      13.5
// @description  מערכת ניהול מתקדמת ל-Meet: לייקים מהירים (0.5s), מענה אוטומטי חכם ודיווח קריסה מזויפת.
// @author       Yosef Yitzhak
// @match        https://meet.google.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=google.com
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    // --- הגדרות מערכת ---
    const CONFIG = {
        name: "יוסף יצחק", // שנה לשם שלך לזיהוי בצ'אט
        errorMsg: "⚠️ [NETWORK_FATAL_ERROR]: Packet loss detected. Connection unstable.",
        excuses: ["סליחה, המחשב קצת קפא", "יש לי בעיות באינטרנט, שומעים?", "רגע, אני מחליף רמקול"],
    };

    // --- מנוע הזרקת צ'אט (עקיפת React) ---
    async function sendChatForcefully(msg) {
        let chatToggleBtn = document.querySelector('button[aria-label*="צ\'אט"], button[aria-label*="chat" i]');
        let input = document.querySelector('textarea[id="chatTextInput"]') || document.querySelector('textarea');
        
        if (!input && chatToggleBtn) {
            chatToggleBtn.click();
            await new Promise(r => setTimeout(r, 800));
            input = document.querySelector('textarea[id="chatTextInput"]') || document.querySelector('textarea');
        }

        if (input) {
            let nativeInputValueSetter = Object.getOwnPropertyDescriptor(window.HTMLTextAreaElement.prototype, "value").set;
            nativeInputValueSetter.call(input, msg);
            input.dispatchEvent(new Event('input', { bubbles: true }));

            setTimeout(() => {
                let sendBtn = document.querySelector('button[aria-label*="שלח"], button[aria-label*="Send"]');
                if (sendBtn && !sendBtn.disabled) {
                    sendBtn.click();
                } else {
                    input.dispatchEvent(new KeyboardEvent('keydown', { key: 'Enter', keyCode: 13, bubbles: true }));
                }
            }, 300);
        }
    }

    // --- מנוע לייקים מהיר (0.5 שניות) ---
    function fireLike() {
        let likeBtn = Array.from(document.querySelectorAll('button')).find(b => b.innerText.includes('👍') || (b.getAttribute('aria-label') && b.getAttribute('aria-label').includes('👍')));
        if (likeBtn) {
            likeBtn.click();
        } else {
            let reactMenu = document.querySelector('button[aria-label*="תגובה"], button[aria-label*="Reaction"]');
            if (reactMenu) {
                reactMenu.click();
                setTimeout(() => {
                    let innerLike = Array.from(document.querySelectorAll('button')).find(b => b.innerText.includes('👍'));
                    if (innerLike) innerLike.click();
                }, 50);
            }
        }
    }

    // --- בניית הממשק הצף ---
    function buildUI() {
        if (document.getElementById('vortex-ui-root')) return;

        const container = document.createElement('div');
        container.id = 'vortex-ui-root';
        Object.assign(container.style, {
            position: 'fixed', top: '15px', right: '15px', zIndex: '2147483647',
            display: 'flex', flexDirection: 'column', alignItems: 'flex-end'
        });
        document.body.appendChild(container);

        const fab = document.createElement('div');
        Object.assign(fab.style, {
            width: '45px', height: '45px', backgroundColor: '#00ff41', borderRadius: '50%',
            cursor: 'pointer', display: 'flex', justifyContent: 'center', alignItems: 'center',
            fontSize: '20px', boxShadow: '0 0 10px #00ff41', border: '2px solid black', fontWeight: 'bold'
        });
        fab.innerText = '⚡';
        container.appendChild(fab);

        const menu = document.createElement('div');
        Object.assign(menu.style, {
            backgroundColor: '#111', padding: '15px', borderRadius: '10px', marginTop: '10px',
            display: 'none', flexDirection: 'column', gap: '8px', width: '200px',
            border: '1px solid #00ff41', fontFamily: 'monospace', color: '#fff'
        });
        menu.innerHTML = `<div style="text-align:center;color:#00ff41;margin-bottom:5px">VORTEX V13.5</div>`;
        container.appendChild(menu);

        fab.onclick = () => menu.style.display = menu.style.display === 'none' ? 'flex' : 'none';

        const addBtn = (txt, action, color = '#222') => {
            const b = document.createElement('button');
            b.innerText = txt;
            Object.assign(b.style, { background: color, color: '#fff', border: '1px solid #444', padding: '8px', cursor: 'pointer', borderRadius: '4px', fontSize: '12px' });
            b.onclick = action;
            menu.appendChild(b);
        };

        // כפתורים
        addBtn('🚨 קריסה מזויפת', async () => {
            await sendChatForcefully(CONFIG.errorMsg);
            const mic = document.querySelector('button[aria-label*="Mute"], button[aria-label*="השתק"]');
            const cam = document.querySelector('button[aria-label*="camera"], button[aria-label*="מצלמה"]');
            if (mic && !mic.getAttribute('data-is-muted')) mic.click();
            if (cam && !cam.getAttribute('data-is-muted')) cam.click();
        }, '#8b0000');

        let likeInt = null;
        addBtn('👍 אוטו-לייק (0.5s)', function() {
            if (likeInt) {
                clearInterval(likeInt); likeInt = null;
                this.style.background = '#222';
            } else {
                likeInt = setInterval(fireLike, 500);
                this.style.background = '#006400';
            }
        });
    }

    // הרצה
    setInterval(buildUI, 2000);

    // מענה אוטומטי
    setInterval(async () => {
        const msgs = Array.from(document.querySelectorAll('div[data-message-text]'));
        if (!msgs.length) return;
        const lastMsg = msgs[msgs.length - 1];
        if ((lastMsg.innerText.includes(CONFIG.name) || lastMsg.innerText.includes("אתה פה")) && !lastMsg.dataset.replied) {
            lastMsg.dataset.replied = "true";
            await sendChatForcefully(CONFIG.excuses[Math.floor(Math.random() * CONFIG.excuses.length)]);
        }
    }, 4000);

})();