Автоматически очищает историю чата при посещении chatgpt.com
Ниже показаны версии этого скрипта, в которых изменялся код. Показать все версии.
Refined sidebar toggle elem positioning, made usable in Temporary Chat mode ↞ [auto-sync from adamlui/chatgpt-apps]
adamlui/chatgpt-apps
Updated parentToInsertInto in insertToggle() ↞ [auto-sync from adamlui/chatgpt-apps]
parentToInsertInto
insertToggle()
Bumped config.latestAssetCommitHash
config.latestAssetCommitHash
Corrected menu state symbol for Toggle Visibility ↞ [auto-sync from adamlui/chatgpt-apps]
Removed notification from 1st auto-clear ↞ [auto-sync from adamlui/chatgpt-apps]
Styled state words in notifications ↞ [auto-sync from adamlui/chatgpt-apps]
Added white border to dark scheme chatgpt.alert()s ↞ [auto-sync from adamlui/chatgpt-apps]
chatgpt.alert()
Added OrangeMonkey + OrangeMonkey Pro support ↞ [auto-sync from adamlui/chatgpt-apps]
Added config.mediaHostURL ↞ [auto-sync from adamlui/chatgpt-apps]
config.mediaHostURL
Abstracted config.latestAssetCommitHash ↞ [auto-sync from adamlui/chatgpt-apps]
Removed erroneously duplicated code from updateToggleHTML() ↞ [auto-sync from adamlui/chatgpt-apps]
updateToggleHTML()
Condensed toggle update routine ↞ [auto-sync from adamlui/chatgpt-apps]
Unabbr'd + hyphen-cased ID names for readability ↞ [auto-sync from adamlui/chatgpt-apps]
Replaced 'Favicon' w/ more semantic 'Navicon' in ID name ↞ [auto-sync from adamlui/chatgpt-apps]
Replaced .addEventListener()s w/ .on<event>s against best practices since it shortens codebase + widens browser compatibility ↞ [auto-sync from adamlui/chatgpt-apps]
.addEventListener()
.on<event>
Added // @contributionURL ↞ [auto-sync from adamlui/chatgpt-apps]
// @contributionURL
Condensed state init, renamed to menuState for readability ↞ [auto-sync from adamlui/chatgpt-apps]
state
menuState
Changed all document.querySelector()s of IDs to use .getElementById for improved efficiency ↞ [auto-sync from adamlui/chatgpt-apps]
document.querySelector()
.getElementById
Corrected region-stripping regex in msgs getter ↞ [auto-sync from adamlui/chatgpt-apps]
Updated insertToggle() to target outside links/history div post-GPT-4o UI to bypass temp chat mode disables toggle ↞ [auto-sync from adamlui/chatgpt-apps]
Reduced gap preceding 'View changes' link in Update Available alert ↞ [auto-sync from adamlui/chatgpt-apps]
Renamed alert() to siteAlert() to avoid potential namespace conflicts ↞ [auto-sync from adamlui/chatgpt-apps]
alert()
siteAlert()
Renamed modal ID var names for readability ↞ [auto-sync from adamlui/chatgpt-apps]
Abstracted refreshMenu() ↞ [auto-sync from adamlui/chatgpt-apps]
refreshMenu()
Added timeouts to `await`s of `isLoaded` promises for unhindered program flow
Показать все версии скрипта