Automatycznie czyści historię czatu podczas odwiedzania chatgpt.com
To są wersje tego skryptu, gdzie kod został zaktualizowany. Pokaż wszystkie wersje.
Updated meta + config/state obj's, refactored code
config
state
± Updated/moved version/author/namespace meta ± Moved configPrefix + appSymbol into config obj ± Added config.ghHostDir + config.updateURL ± Replaced var's with const & let ± Moved stateSeparator into state obj
configPrefix
appSymbol
config.ghHostDir
config.updateURL
var
const
let
stateSeparator
checkForUpdates()
adamlui/autoclear-chatgpt-history
Updated checkForUpdates()
± Shortened by eliminating var data ± Converted var's to const's ± Improved comparison loop to break early if up-to-date ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
var data
Added auto-reload on auto-update
Re-formatted Update Available alert
Updated sidebar toggle + on-load notification
± Prevented double-toggle on switch clicks ± Removed reliance on innerHTML to mitigate XSS vulnerability
Moved reset of skipNextUpdate to before auto-alert ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
skipNextUpdate
Pokaż wszystkie wersje skryptu