Stop being lazy

Stops you from using AI and keeps you motivated to work yourself.

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

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

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

// ==UserScript==
// ==UserScript==
// @name        Stop being lazy
// @description Stops you from using AI and keeps you motivated to work yourself.
// @license     MIT
// @namespace   Violentmonkey Scripts
// @match       https://chatgpt.com/
// @match       https://chatgpt.com/*
// @grant       none
// @version     1.0
// @author      Alimad Corporations
// @description 6/19/2025, 9:48:21 AM
// ==/UserScript==

let submitButton;

function findSubmitButton() {
    let btn = document.getElementById("composer-submit-button");
    if (btn && btn !== submitButton) {
        submitButton = btn.cloneNode(true);
        btn.replaceWith(submitButton);

        submitButton.onclick = function() {
            document.body.innerHTML = '<div class="flex h-full w-full flex-col items-center justify-center gap-4"><h2>Go do something yourself, lazy man</h2><button onclick="" class="btn relative btn-secondary"><div class="flex items-center justify-center">Ok I\'ll try</div></button></div>';
        };

        console.log("Workin");
    }

    let textarea = document.getElementById("prompt-textarea");
    if (textarea && !textarea.dataset.enterHooked) {
        textarea.dataset.enterHooked = "true";
        textarea.addEventListener("keydown", function(e) {
            if (e.key === "Enter" && !e.shiftKey) {
                e.preventDefault();
                submitButton?.click();
            }
        });
    }
}

setInterval(findSubmitButton, 1000);