Greasy Fork is available in English.

MORS CLIENT

HERES A EDUCATION PERFECT HACK WORKING 2024

// ==UserScript==
// @name         MORS CLIENT
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  HERES A EDUCATION PERFECT HACK WORKING 2024
// @author       Your Name
// @match        https://*/*
// @grant        GM_setValue
// @grant        GM_getValue
// ==/UserScript==

(function() {
    'use strict';



    // Create the overlay div
    const overlayDiv = document.createElement('div');
    overlayDiv.style.position = 'fixed';
    overlayDiv.style.top = '0';
    overlayDiv.style.left = '0';
    overlayDiv.style.width = '100%';
    overlayDiv.style.height = '100%';
    overlayDiv.style.backgroundColor = 'rgba(0, 0, 0, 0.7)';
    overlayDiv.style.display = 'none';
    overlayDiv.style.zIndex = '9999999';
    document.body.appendChild(overlayDiv);

    // Create the side panel div
    const sidePanelDiv = document.createElement('div');
    sidePanelDiv.style.width = '200px';
    sidePanelDiv.style.height = '100%';
    sidePanelDiv.style.backgroundColor = '#333';
    sidePanelDiv.style.color = '#fff';
    sidePanelDiv.style.float = 'left';
    sidePanelDiv.style.display = 'flex'; // Center-align the buttons
    sidePanelDiv.style.flexDirection = 'column'; // Stack buttons vertically
    sidePanelDiv.style.alignItems = 'center'; // Center horizontally
    sidePanelDiv.style.justifyContent = 'flex-start'; // Push buttons up
    overlayDiv.appendChild(sidePanelDiv);

    // Create the content area div
    const contentDiv = document.createElement('div');
    contentDiv.style.width = 'calc(100% - 200px)';
    contentDiv.style.height = '100%';
    contentDiv.style.float = 'right';
    contentDiv.style.padding = '20px';
    contentDiv.style.overflowY = 'auto';
    contentDiv.style.color = '#333';
    contentDiv.style.backgroundColor = '#fff';
    contentDiv.style.borderLeft = '1px solid #333';
    contentDiv.style.borderRadius = '0 10px 10px 0'; // Rounded corners on the right
    contentDiv.innerHTML = 'Select a button to show content.';
    overlayDiv.appendChild(contentDiv);

    // Create buttons in the side panel
    const buttonLabels = ["Google", "NotePad", "Chat", "Quillbot", "Bard"];
    for (let i = 0; i < buttonLabels.length; i++) {
        const button = document.createElement('button');
        button.textContent = buttonLabels[i];
        button.style.display = 'block';
        button.style.marginTop = '10px'; // Push buttons up
        button.style.padding = '15px'; // Increase button padding
        button.style.width = '150px'; // Increase button width
        button.style.backgroundColor = '#555';
        button.style.color = '#fff';
        button.style.border = 'none';
        button.style.borderRadius = '10px'; // Rounded corners
        button.style.cursor = 'pointer';
        button.addEventListener('click', () => {
            if (buttonLabels[i] === "Google") {
                contentDiv.innerHTML = `<iframe src="https://a.rare1k.space/" style="width: 100%; height: 100%; border: none;"></iframe>`;
            } else if (buttonLabels[i] === "Chat") {
                contentDiv.innerHTML = `<iframe src="https://chatify.jwz6.repl.co/" style="width: 100%; height: 100%; border: none;"></iframe>`;
            } else if (buttonLabels[i] === "NotePad") {
                contentDiv.innerHTML = `<iframe src="https://notepad.js.org/" style="width: 100%; height: 100%; border: none;"></iframe>`;
            } else if (buttonLabels[i] === "Quillbot") {
                contentDiv.innerHTML = `<iframe src="https://quillbot.com/" style="width: 100%; height: 100%; border: none;"></iframe>`;
            } else if (buttonLabels[i] === "Bard") {
                contentDiv.innerHTML = `<iframe src="https://bard.google.com/chat" style="width: 100%; height: 100%; border: none;"></iframe>`;
            }
        });
        sidePanelDiv.appendChild(button);
    }

    // Create a button for GAMES
    const GAMESButton = document.createElement('button');
    GAMESButton.textContent = 'Games';
    GAMESButton.style.display = 'block';
    GAMESButton.style.marginTop = '10px'; // Push button up
    GAMESButton.style.padding = '15px'; // Increase button padding
    GAMESButton.style.width = '150px'; // Increase button width
    GAMESButton.style.backgroundColor = '#555';
    GAMESButton.style.color = '#fff';
    GAMESButton.style.border = 'none';
    GAMESButton.style.borderRadius = '10px'; // Rounded corners
    GAMESButton.style.cursor = 'pointer';
    GAMESButton.addEventListener('click', () => {
        contentDiv.innerHTML = `<iframe src="https://sites.google.com/view/classroom66" style="width: 100%; height: 100%; border: none;"></iframe>`;
    });
    sidePanelDiv.appendChild(GAMESButton);

    // Create a button for extra content
    const ExtraButton = document.createElement('button');
    ExtraButton.textContent = 'Extra';
    ExtraButton.style.display = 'block';
    ExtraButton.style.marginTop = '10px'; // Push button up
    ExtraButton.style.padding = '15px'; // Increase button padding
    ExtraButton.style.width = '150px'; // Increase button width
    ExtraButton.style.backgroundColor = '#555';
    ExtraButton.style.color = '#fff';
    ExtraButton.style.border = 'none';
    ExtraButton.style.borderRadius = '10px'; // Rounded corners
    ExtraButton.style.cursor = 'pointer';
    ExtraButton.addEventListener('click', () => {
        contentDiv.innerHTML = `<iframe src="https://app.saousername.repl.co/" style="width: 100%; height: 100%; border: none;"></iframe>`;
    });
    sidePanelDiv.appendChild(ExtraButton);

// Create an "Info" button
const infoButton = document.createElement('button');
infoButton.textContent = 'Info';
infoButton.style.display = 'block';
infoButton.style.marginTop = '10px'; // Push button up
infoButton.style.padding = '15px'; // Increase button padding
infoButton.style.width = '150px'; // Increase button width
infoButton.style.backgroundColor = '#555';
infoButton.style.color = '#fff';
infoButton.style.border = 'none';
infoButton.style.borderRadius = '10px'; // Rounded corners
infoButton.style.cursor = 'pointer';

// Add custom content for the "Info" button
infoButton.addEventListener('click', () => {
    contentDiv.innerHTML = `
        <h2>Info</h2>
        <p>Known bugs</p>
        <p>When u cant toggle to overlay press this info button then try again</p>
        <h2>Controls</h2>
        <p>Press ] to toggle the overlay And press [ to toggle the side bar menu and remmeber if it does not toggle press the info button and try again</p>

    `;
});

// Insert the "Info" button above the "Google" button
sidePanelDiv.insertBefore(infoButton, sidePanelDiv.firstChild);

    // Create a button to toggle between side panels
    const toggleButton = document.createElement('button');
    toggleButton.textContent = '↓';
    toggleButton.style.display = 'block';
    toggleButton.style.marginTop = '10px'; // Push button up
    toggleButton.style.padding = '7.5px'; // Decrease button padding
    toggleButton.style.width = '75px'; // Decrease button width
    toggleButton.style.backgroundColor = '#555';
    toggleButton.style.color = '#fff';
    toggleButton.style.border = 'none';
    toggleButton.style.borderRadius = '10px'; // Rounded corners
    toggleButton.style.cursor = 'pointer';

    // Create a flag to keep track of the current side panel
    let currentSidePanel = 'buttons'; // Initially, display the buttons side panel

    toggleButton.addEventListener('click', () => {
        if (currentSidePanel === 'buttons') {
            // Create a new side panel that looks like the old side panel
            const newSidePanelDiv = document.createElement('div');
            newSidePanelDiv.style.width = '200px';
            newSidePanelDiv.style.height = '100%';
            newSidePanelDiv.style.backgroundColor = '#333';
            newSidePanelDiv.style.color = '#fff';
            newSidePanelDiv.style.float = 'left';
            newSidePanelDiv.style.display = 'flex'; // Center-align the buttons
            newSidePanelDiv.style.flexDirection = 'column'; // Stack buttons vertically
            newSidePanelDiv.style.alignItems = 'center'; // Center horizontally
            newSidePanelDiv.style.justifyContent = 'flex-start'; // Push buttons up
            overlayDiv.insertBefore(newSidePanelDiv, sidePanelDiv);

            // Create an "Up" button on the new side panel
            const upButton = document.createElement('button');
            upButton.textContent = '↑';
            upButton.style.display = 'block';
            upButton.style.marginTop = '10px'; // Push button up
            upButton.style.padding = '7.5px'; // Decrease button padding
            upButton.style.width = '75px'; // Decrease button width
            upButton.style.backgroundColor = '#555';
            upButton.style.color = '#fff';
            upButton.style.border = 'none';
            upButton.style.borderRadius = '10px'; // Rounded corners
            upButton.style.cursor = 'pointer';

            upButton.addEventListener('click', () => {
                // Remove the new side panel and restore the original side panel
                overlayDiv.removeChild(newSidePanelDiv);
                sidePanelDiv.style.display = 'block';
                contentDiv.style.width = 'calc(100% - 200px)';
                currentSidePanel = 'buttons';
            });

            // Add the "Up" button to the new side panel
            newSidePanelDiv.appendChild(upButton);

            // Create a new button on the new side panel
            const newButton = document.createElement('button');
            newButton.textContent = 'New Button';
            newButton.style.display = 'block';
            newButton.style.marginTop = '10px'; // Push button up
            newButton.style.padding = '15px'; // Increase button padding
            newButton.style.width = '150px'; // Increase button width
            newButton.style.backgroundColor = '#555';
            newButton.style.color = '#fff';
            newButton.style.border = 'none';
            newButton.style.borderRadius = '10px'; // Rounded corners
            newButton.style.cursor = 'pointer';

            newButton.addEventListener('click', () => {
                // Add functionality for the new button here
                // For example, you can change the content in contentDiv
                contentDiv.innerHTML = 'New Button Clicked!';
            });

            // Add the new button to the new side panel
            newSidePanelDiv.appendChild(newButton);

            // Hide the original side panel
            sidePanelDiv.style.display = 'none';
            contentDiv.style.width = '100%';
            currentSidePanel = 'blank';
        } else if (currentSidePanel === 'blank') {
            // Remove the new side panel and restore the original side panel
            overlayDiv.removeChild(overlayDiv.querySelector('div'));
            sidePanelDiv.style.display = 'block';
            contentDiv.style.width = 'calc(100% - 200px)';
            currentSidePanel = 'buttons';
        }
    });

    // Add the toggleButton to the side panel
    sidePanelDiv.appendChild(toggleButton);



// Toggle the overlay with the "]" key, but only if not inside the iframe
    document.addEventListener('keydown', (event) => {
        if (event.key === ']' && window.self === window.top) {
            if (overlayDiv.style.display === 'none') {
                overlayDiv.style.display = 'block';
                contentDiv.style.width = 'calc(100% - 200px)';
            } else {
                overlayDiv.style.display = 'none';
                contentDiv.style.width = '100%';


           }
        }
    });

    // Toggle the side panel with the "[" key
    document.addEventListener('keydown', (event) => {
        if (event.key === '[') {
            if (sidePanelDiv.style.display === 'none') {
                sidePanelDiv.style.display = 'block';
                contentDiv.style.width = 'calc(100% - 200px)';
            } else {
                sidePanelDiv.style.display = 'none';
                contentDiv.style.width = '100%';
           }
        }
    });
})();


(function() {
    'use strict';

    // Check if the user has already been asked to install the extension
    const askedBefore = GM_getValue('askedBefore', false);

    // Function to prompt user to install extension and set value if they agree
    function askInstallExtension() {
        const overlay = document.createElement('div');
        overlay.style.position = 'fixed';
        overlay.style.top = '0';
        overlay.style.left = '0';
        overlay.style.width = '100%';
        overlay.style.height = '100%';
        overlay.style.background = 'rgba(0, 0, 0, 0.5)';
        overlay.style.display = 'flex';
        overlay.style.justifyContent = 'center';
        overlay.style.alignItems = 'center';
        overlay.style.zIndex = '9999';

        const messageBox = document.createElement('div');
        messageBox.style.background = '#fff';
        messageBox.style.padding = '20px';
        messageBox.style.borderRadius = '8px';
        messageBox.style.boxShadow = '0 0 10px rgba(0, 0, 0, 0.3)';

        messageBox.innerHTML = `
            <p>To use AI and QuillBot and other features, you need to install this Chrome extension: Ignore X-Frame Headers.</p>
            <strong>(btw when you done with the extension press ] on your keybored to see the cheat:D)</strong>
            <p>Would you like to install it now?</p>
            <button id="yesButton">Yes</button>
            <button id="noButton">No</button>
        `;

        overlay.appendChild(messageBox);
        document.body.appendChild(overlay);

        document.getElementById('yesButton').addEventListener('click', function() {
            window.location.href = 'https://chrome.google.com/webstore/detail/ignore-x-frame-headers/gleekbfjekiniecknbkamfmkohkpodhe';
            GM_setValue('askedBefore', true);
            document.body.removeChild(overlay);
        });

        document.getElementById('noButton').addEventListener('click', function() {
            document.body.removeChild(overlay);
        });
    }

    // If the user hasn't been asked before, prompt them to install the extension
    if (!askedBefore) {
        askInstallExtension();
    }
})();