Добавляет режимы Widescreen + Fullscreen в ChatGPT для улучшенного просмотра + сокращенной прокрутки
Ниже показаны версии этого скрипта, в которых изменялся код. Показать все версии.
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
Converted regex group to non-capturing for improved performance
Bumped chatgpt.js to 2.6.6
Removed unicode from meta
Bumped chatgpt.js to 2.6.5
Alphabetized args in loadSetting() call for readability
loadSetting()
Added SRI hash to chatgpt.js
Replaced chatgpt.js import URL w/ npm one
Bumped chatgpt.js to 2.6.4
Updated copyright years ↞ [auto-sync from adamlui/chatgpt-apps]
adamlui/chatgpt-apps
Merged Send elem inits
Shortened icon meta URLs
Bumped chatgpt.js to 2.6.3
Refactored updateTooltip() for readability
± Renamed overlayWidth to spreadFactor
overlayWidth
spreadFactor
Shortened toggleTooltip()
toggleTooltip()
Replaced all .appendChild()'s w/ .append()'s to shorten codebase
.appendChild()
.append()
Declared global vars for ESLint
Shortened button var names
Refactored insertBtns()
insertBtns()
± Re-ordered const inits
else
Shortened insertBtns()
Added chatbarSelector
chatbarSelector
Replaced isDarkMode() w/ chatgpt.isDarkMode()
isDarkMode()
chatgpt.isDarkMode()
Removed chat.aivvm.com support
Bumped chatgpt.js to 2.6.1
Показать все версии скрипта