Adds Widescreen + Fullscreen modes to chatgpt.com + perplexity.ai + poe.com for enhanced viewing + reduced scrolling
A continuación se muestran las versiones de este script en las que se actualizó el código. Ver todas las versiones.
Replaced unused mutations arg w/ _ for readability ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/chrome]
mutations
_
adamlui/chatgpt-apps/chatgpt-widescreen/chrome
ESCAPED_MSG ↞ [auto-sync from adamlui/userscripts]
adamlui/userscripts
Trimmed 0px to 0 in CSS ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
0px
0
adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey
Moved create menu before auto-focus chatbar in case extension installed ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Bumped chatgpt.js to 3.1.0 ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/chrome]
Added sendBtnIsLoaded() to directly handle styling in main routine
sendBtnIsLoaded()
Removed no-longer needed sendSVGclasses, initted sendBtnClasses as array for clarity
sendSVGclasses
sendBtnClasses
Improved class collection/assignment to handle dynamic button load
Consolidated chatbar init in insertBtns to correctly cover Poe
insertBtns
Added missing brace
Removed error return log from insertBtns() for cleaner console since observer re-triggers when chatbar finally shows
insertBtns()
Fixed chatbar init in insertBtns() to select outer container for chatgpt.com
Updated inputSelector for chatgpt.com
inputSelector
Refactored chatbar init in insertBtns() to utilize inputSelector + return if not found
Changed sendBtn init to rely on chatgpt.getSendBtn()
sendBtn
chatgpt.getSendBtn()
Bumped chatgpt.js to 3.0.3
Fixes adamlui/chatgpt-apps#75 ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/opera]
adamlui/chatgpt-apps/chatgpt-widescreen/opera
Added space after 🚀 in update alert ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Removed config.appSymbol from siteAlert(title) ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
config.appSymbol
siteAlert(title)
Shortened Review button label in About modal ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Updated button label msg key names ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Eliminated unnecessary reliance on GM_openInTab ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
GM_openInTab
Added glow to state word in notifs ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Added hover-zoom to modal buttons ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Removed defunct Futurepedia link from Review modal ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Updated chatbar padding ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/edge]
adamlui/chatgpt-apps/chatgpt-widescreen/edge
Bumped chatgpt.js to 3.0.1 ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Bumped chatgpt.js to 3.0.0 ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/opera]
Reduced tooltip spreadFactor -0.5px
spreadFactor
Updated button/tooltip pos since isGPT4oUI stopped working
isGPT4oUI
Bumped config.latestAssetCommitHash
config.latestAssetCommitHash
Styled state words in notifications ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/opera]
Added white border to dark scheme chatgpt.alert()s ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
chatgpt.alert()
Shortened 0px vals in CSS length props ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Added OrangeMonkey + OrangeMonkey Pro support ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Abstracted config.latestAssetCommitHash ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Replaced .addEventListener()s w/ .on<event>s against best practices since it shortens codebase + widens browser compatibility ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
.addEventListener()
.on<event>
Added // @contributionURL ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
// @contributionURL
Renamed state to menuState for readability ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
state
menuState
Changed all document.querySelector()s of IDs to use .getElementById for improved efficiency ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
document.querySelector()
.getElementById
Corrected region-stripping regex in msgs getter ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Escaped backslashes in CSS class list conversion to prevent injection attacks
Bumped commit hash in config.assetHostURL
config.assetHostURL
Removed test log
Enclosed footerSelector init in try/catch to avoid chatgpt.js uncaught err
footerSelector
Inserted missing comma
Added Auto-Focus Chatbar option (adamlui/chatgpt-widescreen#61)
Limited scheme/temp chat trigger in nodeObserver to chatgpt.com
nodeObserver
Re-aligned chatbar buttons/tooltips pre-GPT4-o UI
Reduced gap preceding 'View changes' link in Update Available alert ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Renamed alert() to siteAlert() to avoid potential namespace conflicts ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/opera]
alert()
siteAlert()
Ver todas las versiones del script.