Auto-clears chat history when visiting chatgpt.com
These are versions of this script where the code was updated. Show all versions.
Renamed UI sync function's reason option to more semantic updatedKey ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
reason
updatedKey
Shortened settings.load() arg name ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
settings.load()
Added eslint-disable-line after required semicolon (https://github.com/eslint-stylistic/eslint-stylistic/issues/622) ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
eslint-disable-line
Removed no-longer used elem ID inits ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Improved sidebar toggle methods efficiency ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Prepended app.symbol to About modal title ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
app.symbol
Updated rising stars stylesheet src's to assets.aiwebextensions.com URLs ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Added starry BG + click-dragabiility to modals ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Changed app.urls.relatedApps key name to relatedExtensions ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
app.urls.relatedApps
relatedExtensions
Renamed moreChatGPTapps() to moreAIextensions() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
moreChatGPTapps()
moreAIextensions()
Centered About modal content, enlarged title, restored needed button margin on desktop ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Removed no-longer needed .modal-buttons style ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
.modal-buttons
Removed dashed border + custom glow colors from chatgpt.alert() button hovers ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
chatgpt.alert()
Limited lines to 120 chars max for readability ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Added fallbacks to make settings.controls[key].helptip optional ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
settings.controls[key].helptip
Condensed settings.controls init ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
settings.controls
Bumped app.latestAssetCommitHash for smaller messages.json fetch ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
app.latestAssetCommitHash
Eliminated helptip_autoclear msg since appDesc similar enough ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
helptip_autoclear
appDesc
Eliminated register options init from menu.register() for simplicity + disabled script title tooltips on About/Settings in TM 5.0+ ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
menu.register()
Added notification on auto-clears ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Added Clear Chats Now menu action (ai-web-extensions#99)
Co-Authored-By: 人民的勤务员 china.qinwuyuan@gmail.com ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Corrected regex in menu.register() callback notifs ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Added check for options.reason affects sidebar toggle before sidebarToggle.update() in syncConfigToUI() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
options.reason
sidebarToggle.update()
syncConfigToUI()
Made detection of key names w/ disabled/hidden in menu.register() case insensitive ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Improved settings.controls comment ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Removed no-longer required 'api' arg from chatgpt.clearChats() since front-end method deprecated ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
'api'
chatgpt.clearChats()
Removed unneeded sidebar toggle style tweak from syncConfigToUI() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Condensed sidebar toggle click listener using new options.reason param of syncConfigToUI() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Condensed menu.reigster() using new settings.controls ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
menu.reigster()
Removed no-longer used buttonHidden from settings.load() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
buttonHidden
Split config/settings inits into 2 lines for readability ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
config
settings
Moved app.msgs init/localization up for improved structure ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
app.msgs
Improved top init section comments for clarity ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Shortened response arg name in updateCheck() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
updateCheck()
Moved config.userLanguage to env.browser.language for improved structure ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
config.userLanguage
env.browser.language
Removed unused env.browser ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
env.browser
Bumped app.latestAssetCommitHash ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Lowercased autoClear in msg key names for consistency ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
autoClear
Changed sidebarToggle.create() stylization to not override sidebarToggle.update() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
sidebarToggle.create()
Removed no-longer needed label fallback from sidebarToggle.update() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Condensed sidebarToggle.div.append() elems ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
sidebarToggle.div.append()
Condensed style assignments ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Improved clearChatsAndGoHome() comments ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
clearChatsAndGoHome()
Renamed clearChatsAndGoHome.observer to clearChatsAndGoHome.historyObserver for readability ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
clearChatsAndGoHome.observer
clearChatsAndGoHome.historyObserver
Moved syncConfigToUI() def up for readability ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Merged hideHistory() into clearChatsAndGoHome() for simplicity ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
hideHistory()
Removed trailing whitespace ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Improved sidebar toggle insertion efficiency ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Improved efficiency of <html> attr checks ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
<html>
Show all script versions