Автоматически очищает историю чата при посещении chatgpt.com
Ниже показаны все версии этого скрипта. Показать только версии, в которых изменялся код.
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 (adamlui/ai-web-extensions#99)
Co-Authored-By: 人民的勤务员 china.qinwuyuan@gmail.com ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Added Clear Chats Now menu action (ai-web-extensions#99)
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
settings.load()
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>
Moved syncConfigToUI() to UI functions section for readability ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Abstracted clearChatsAndGoHome() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Removed whitespace ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Removed no-longer needed delay from clear chats on 1st load + sidebar toggle ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Added 1s delay to hideHistory() for consistent hiding on 1st load ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Reverted syncStorageToUI() name to syncConfigToUI() since actions based on memory ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
syncStorageToUI()
Improved syncStorageToUI() comments ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Eliminated reliance on sidebar toggle in toolbar one to work if hidden ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Condensed sidebar toggle click listener ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Condensed style init/assignments ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Moved assetHostURL into app for improved structure ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
assetHostURL
app
Moved sidebar toggle creation/div into obj for easier maintenance ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Показать все версии скрипта