Greasy Fork is available in English.
Efface automatiquement l'historique des discussions lors de la visite de chatgpt.com
Ceci est la version du script où le code a été mise à jour. Présenter toutes les versions.
Changed all document.querySelector()s of IDs to use .getElementById for improved efficiency ↞ [auto-sync from adamlui/chatgpt-apps]
document.querySelector()
.getElementById
adamlui/chatgpt-apps
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]
Updated icon meta URLs to cdn.jsdelivr.net ones ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Generalized config.assetHostURL for easier re-use ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
config.assetHostURL
Replaced raw.githubusercontent.com config.assetHostURL w/ cdn.jsdelivr.net one ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Bumped chatgpt.js to 2.6.9 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Removed outdated chatgpt.history.is(On|Off)() conditions/logic ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
chatgpt.history.is(On|Off)()
Refactored msg fetcher for readability + if en/messages.json ever goes missing
const messages
msgs
Bumped chatgpt.js to 2.6.8 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Bumped chatgpt.js to 2.6.7 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Added hyphens to script name regex in config.updateURL ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
config.updateURL
Afficher toutes les versions de script