Skip to content

Instantly share code, notes, and snippets.

@unitycoder
Created December 8, 2023 11:37
Show Gist options
  • Select an option

  • Save unitycoder/22dbc1d411cf6fce1a2de72dac028e03 to your computer and use it in GitHub Desktop.

Select an option

Save unitycoder/22dbc1d411cf6fce1a2de72dac028e03 to your computer and use it in GitHub Desktop.

Revisions

  1. unitycoder created this gist Dec 8, 2023.
    19 changes: 19 additions & 0 deletions chatGPTCssFix.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    // ==UserScript==
    // @name chatGPT bigger text area for last reply (08.12.2023)
    // @namespace https://unitycoder.com
    // @include https://chat.openai.com/c/*
    // @grant none
    // @run-at document-start
    // ==/UserScript==

    // https://stackoverflow.com/a/19392142/5452781
    function AppendStyle(cssStr) {
    var D = document;
    var newNode = D.createElement ('style');
    newNode.textContent = cssStr;
    var targ = D.getElementsByTagName ('head')[0] || D.body || D.documentElement;
    targ.appendChild (newNode);
    }


    AppendStyle(".final-completion {max-width: none !important;");