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 menu.refresh() from menu.register() to sync.storageToUI() for more logical flow ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
menu.refresh()
menu.register()
sync.storageToUI()
adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey
Condensed notify() ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/opera]
notify()
adamlui/chatgpt-apps/chatgpt-widescreen/opera
Bumped dom.js ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Replaced document.create + attr assignments w/ shorter dom.create methods ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/opera]
document.create
dom.create
Alphabetized app.urls for readability ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
app.urls
Removed unused app.settings.helptip prop population ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
app.settings.helptip
Bumped chatgpt.js to 3.3.2 ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/chrome]
adamlui/chatgpt-apps/chatgpt-widescreen/chrome
Condensed sidebarObserver init ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/chrome]
sidebarObserver
Replaced poe.com selectors w/ new sites.json props ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/chrome]
Refactored chatbar.tweak() def/call to align w/ Chromium code for easier maintenance ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
chatbar.tweak()
Fixed buttons didn't insert in new chatbar when querying from perplexity.ai homepage chatbar ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/edge]
adamlui/chatgpt-apps/chatgpt-widescreen/edge
Reduced indirection in obj key refs for improved clarity ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Replaced chatbar.isLoaded() w/ dom.elemIsLoaded(), removed unneeded 2nd call ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/chrome]
chatbar.isLoaded()
dom.elemIsLoaded()
Expanded commit hash in dom.js JSD URL to trigger GF CDN whitelisting ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Added line break for readability ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/chrome]
Added unneeded optional chaining to btns.wideScreen in btns.updateColor() to align w/ Chromium code for easier maintenance ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
btns.wideScreen
btns.updateColor()
Removed no-longer needed style to prevent chatgpt.com sidebar shrinking when zoomed ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Abstracted elemIsLoaded() to shorten chatgpt.hasSidebar init ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
elemIsLoaded()
chatgpt.hasSidebar
Abstracted btns.types for easier maintenance ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/chrome]
btns.types
Abstracted btns.create() + refactored methods to align w/ Chromium extension for easier maintenance ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
btns.create()
Replaced selectors in chatgpt.hasSidebar init w/ sites props ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/edge]
sites
Removed no-longer needed style to fight OpenAI double Temp Chat header bug ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/edge]
Added modal styles to support perplexity.ai/poe.com ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/chrome]
Limited document.exitFullscreen() in deactivateMode('fullScreen') to when config.f11 is false for clarity + cleaner console ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/opera]
document.exitFullscreen()
deactivateMode('fullScreen')
config.f11
false
Fixed chatgpt.com button colors stopped live updating w/ Temp Chat toggle ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/edge]
Removed padding around simple expressions in template literals for readability ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/chrome]
Simplified handling post-localizedMsgs init ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
localizedMsgs
Removed duplicate text from F11-key-used alert ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Renamed sync.configUI() to sync.storageToUI() for improved clarity ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/edge]
sync.configUI()
Removed destructuring from init settings.load() for simplicity ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/edge]
settings.load()
Improved settings.load() to accept arrays for flexibility ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Bumped app.latestAssetCommitHash ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/edge]
app.latestAssetCommitHash
Bumped app.latestAssetCommitHash ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Fixed chatgpt.com chatbar inner width not flush w/ buttons when toggling modes during response generation ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Made Mode Notifications toggle notifs always show ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
Renamed sync.config() + syncConfig() to sync.configUI() + syncConfigUI() to clarify synced config is applied to UI ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/chrome]
sync.config()
syncConfig()
syncConfigUI()
Moved config.notifDisabled check inside notify() to simplify calls ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/chrome]
config.notifDisabled
Increased chatgpt.com tooltip spread factor +0.05 ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/edge]
Updated localized msg handling to merge w/ instead of replace app.msgs ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/greasemonkey]
app.msgs
Refactored opacity assignments to use num vals for simplicity ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/chrome]
Fixed perplexity.ai homepage tooltip y-pos changed w/ viewport height ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/opera]
Changed chatgpt.com Full-Window toggle to not use fullWinStyle to avoid new flicker from sidebar animation vs. insta-style ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/opera]
fullWinStyle
Rid h-scrollbar appearance on chatgpt.com Full-Window toggles ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/chrome]
Fixed Full-Window didn't auto-toggle on Poe load + perplexity.ai button didn't exit it ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/opera]
Fixed chatgpt.com chatbar inner width off if toggling Full-Window to/from active Wider Chatbox ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/chrome]
Moved chatgpt.com chatbar.tweak() from update.style.chatbar() to sync.config() + sync.mode() for more logical flow ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/edge]
update.style.chatbar()
sync.mode()
Created chatbarStyle + update.style.chatbar() for improved structure ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/chrome]
chatbarStyle
Made sync.fullerWin() paramless for simplicity ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-widescreen/edge]
sync.fullerWin()
Hiển thị mọi phiên bản của script