ChatGPT Largescreen Chat

Apply Large Chat Style in ChatGPT

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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.

(I already have a user script manager, let me install it!)

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         ChatGPT Largescreen Chat
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Apply Large Chat Style in ChatGPT
// @author       SH3LL
// @match        https://chatgpt.com/*
// @grant        GM_addStyle
// ==/UserScript==

(function() {
    'use strict';

    const style = `
.largescreen {
    .flex.text-base {
        max-width: unset;
    }
}
@media (min-width: 1024px) {
    .largescreen .flex.text-base .lg\\:w-\\[calc\\(100\\%-115px\\)\\] {
        width: calc(100% - 72px);
    }
    .largescreen form.w-full {
        max-width: 85%;
        margin: auto;
    }
}
.largescreen img {
    width: 653px;
}
`;

    GM_addStyle(style);

    document.body.classList.add('largescreen');
})();