ChatGPT Scroll Fix 2

Fix scroll issues on ChatGPT for Safari iOS 15/16

  1. // ==UserScript==
  2. // @name ChatGPT Scroll Fix 2
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.2
  5. // @description Fix scroll issues on ChatGPT for Safari iOS 15/16
  6. // @author 0xkuj
  7. // @match https://chatgpt.com/*
  8. // @match https://chat.openai.com/*
  9. // @grant none
  10. // @license MIT
  11. // ==/UserScript==
  12.  
  13. (function () {
  14. 'use strict';
  15.  
  16. // Fix overflow hidden issues on all elements
  17. document.querySelectorAll('html *').forEach(function(node) {
  18. const computedStyle = getComputedStyle(node);
  19. if (computedStyle['overflow'] === 'hidden') {
  20. node.style['overflow'] = 'visible';
  21. }
  22. });
  23. })();

QingJ © 2025

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