ChatGPT conversation full width

Override default ChatGPT styles to have a wider conversation screen

  1. // ==UserScript==
  2. // @name ChatGPT conversation full width
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description Override default ChatGPT styles to have a wider conversation screen
  6. // @author Louis Lacoste
  7. // @match *://chat.openai.com
  8. // @match *://chat.openai.com/*
  9. // @icon https://cdn.oaistatic.com/_next/static/media/favicon-32x32.be48395e.png
  10. // @grant none
  11. // @license MIT
  12. // ==/UserScript==
  13.  
  14. (function() {
  15.  
  16. const style = document.createElement('style');
  17.  
  18. style.type = 'text/css';
  19.  
  20. style.innerText = `
  21.  
  22. .text-token-text-primary > div > div {
  23. max-width: 95% !important;
  24. }
  25.  
  26. div[role="presentation"] > div:nth-child(2) > form {
  27. max-width: 75% !important;
  28. }
  29.  
  30. `;
  31.  
  32. document.head.appendChild(style);
  33. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址