Thêm chế độ Widescreen + Fullscreen vào ChatGPT để cải thiện hiển thị + giảm cuộn trang
Đây là phiên bản của script này, nơi mã nguồn đã được cập nhật. Hiện tất cả các phiên bản.
Moved isGPT4oUI init after chatgpt.sidebar.isLoaded() to support Violentmonkey ↞ [auto-sync from adamlui/chatgpt-apps]
isGPT4oUI
chatgpt.sidebar.isLoaded()
adamlui/chatgpt-apps
Removed unnecessary await chatgpt.isLoaded() ↞ [auto-sync from adamlui/chatgpt-apps]
await chatgpt.isLoaded()
Replaced sidebarIsLoaded() w/ chatgpt.sidebar.isLoaded() ↞ [auto-sync from adamlui/chatgpt-apps]
sidebarIsLoaded()
Fixed live update of button colors on scheme/temp chat toggles
Removed unused mutations arg from main observer
mutations
Updated main observer to monitor <main>
<main>
Updated chatbar child selector for post-GPT4o UI
Appended commit hashes to icon meta URLs to preserve assets
Bumped chatgpt.js to 2.9.2
Added sidebarIsLoaded() to let Chromium extension flag inject first
Updated latest asset commit hash in config.asssetHostURL
config.asssetHostURL
Updated homepage/support URLs
Shrank full-window button
Restricted Wider Chatbox mode to Poe
Added GPT-4o UI support (adamlui/chatgpt-widescreen#55)
Bumped chatgpt.js to 2.8.0
Removed auto-reload ChatGPT/Poe on update to preserve prev sessions
Bumped chatgpt.js to 2.7.1
Inserted latest locale commit hash to config.assetHostURL to preserve potentially deleted message keys
config.assetHostURL
Removed outdated paginator shift in updateTweaksStyle() to fix model selector icon shifts
updateTweaksStyle()
Shortened updateBtnSVG cmd in schemeObserver
updateBtnSVG
schemeObserver
Loosened comparison operators for smaller filesize
Shortened buttonColor to btnColor
buttonColor
btnColor
Added chatbar scheme observer to update btn colors on temp chat toggle
Bumped chatgpt.js to 2.7.0
Added doc URL as header comment
Updated selector/style for Poe in wcbStyle
wcbStyle
Updated Poe styles in wideScreenStyle
wideScreenStyle
Added explicit (site == 'poe') in deactivateMode() for readability
(site == 'poe')
deactivateMode()
Made ternarys in UI elem selection routine more readable
Shortened isFullWindow()
isFullWindow()
Moved document.head.append(fullWindowStyle) up in activateMode()
document.head.append(fullWindowStyle)
activateMode()
... for proper syncMode() state detection on non-ChatGPT sites
syncMode()
Bumped chatgpt.js to 2.6.10
Re-added chat.openai.com support in case they get funny and change mind again
Updated @match to use chat.openai.com, updated site to 'chatgpt'
@match
site
'chatgpt'
Bumped chatgpt.js to 2.6.9
Replaced raw.githubusercontent.com URLs w/ cdn.jsdelivr.net ones
Removed outdated chatgpt.history.isOff() condition from setBtnColor()
chatgpt.history.isOff()
setBtnColor()
Updated messages obj name in updateTooltip() + syncMode()
updateTooltip()
Refactored msg fetcher for readability + if en/messages.json ever goes missing
const messages
msgs
Merge key listeners
Bumped version to 2024.4.4.1
Added ESC-listener to stop text generation (adamlui/chatgpt-widescreen#46)
Bumped chatgpt.js to 2.6.8
Bumped chatgpt.js to 2.6.7
Replaced regex in const site init w/ URL API method
const site
URL
... to eliminate potential for event loop blockage
Added hyphens to script name regex in config.updateURL
config.updateURL
Further reduced potential for backtracking in config.updateURL regex
Improved regex
± Eliminated potential for exponential/polynomial backracking in msgHref.replace regex by increasing specificity in capturing groups
msgHref.replace
Increased specificity in regex group to eliminate potential for polynomial backtracking
Hiển thị mọi phiên bản của script