Автоматично очищає історію чату при відвідуванні chatgpt.com
Це версії цього скрипту, де код був змінений. Показати всі версії.
Added config.mediaHostURL ↞ [auto-sync from adamlui/chatgpt-apps]
config.mediaHostURL
adamlui/chatgpt-apps
Abstracted config.latestAssetCommitHash ↞ [auto-sync from adamlui/chatgpt-apps]
config.latestAssetCommitHash
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]
insertToggle()
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
Eliminated toCamelCase() for smaller filesize
toCamelCase()
Restricted global msg fetching to non-English sys lang env for faster load ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
adamlui/autoclear-chatgpt-history
Bumped chatgpt.js to 2.6.10 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Re-added chat.openai.com @match in case OpenAI changes mind again in futur ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
@match
Replaced chat..openai.com in description/match meta w/ new chatgpt.com ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Показати всі версії сценарію