Adds Widescreen + Fullscreen modes to ChatGPT for enhanced viewing + reduced scrolling
These are versions of this script where the code was updated. Show all versions.
Corrected symbol in config.userLanguage init ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
config.userLanguage
adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey
Replaced unreliable chatgpt.sidebar.isLoaded() method for checking extension flag w/ Promise.race()
chatgpt.sidebar.isLoaded()
Promise.race()
Added timeouts to awaits of isLoaded promises for unhindered program flow ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
await
isLoaded
Removed unneeded double negation from isGPT4oUI assignment ↞ [auto-sync from adamlui/chatgpt-apps/greasemonkey]
isGPT4oUI
adamlui/chatgpt-apps/greasemonkey
Moved isGPT4oUI init after chatgpt.sidebar.isLoaded() to support Violentmonkey ↞ [auto-sync from adamlui/chatgpt-apps]
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
Show all script versions