Greasy Fork is available in English.
Аутоматски брише историју чата при посети chatgpt.com
These are versions of this script where the code was updated. Show all versions.
Bumped chatgpt.js to 2.3.2 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
adamlui/autoclear-chatgpt-history
Bumped chatgpt.js to 2.3.1 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Bumped chatgpt.js to 2.3.0 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Bumped chatgpt.js to 2.2.0 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Bumped chatgpt.js to 2.1.1 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Added base to parseInt()'s ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
parseInt()
Removed protocol from // @match ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
// @match
Changed switchStyle.innerText to string concatenation ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
switchStyle.innerText
Replaced source code emoji in about dialog ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Re-positioned about dialog's GitHub link ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Added missing comma ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Combined const inits, updated about dialog style ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
const
Removed unnecessary escape character ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Bumped chatgpt.js to 2.1.0 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Converted tabs to spaces ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Removed update auto-alert, changed config.updateURL
config.updateURL
± Replaced messages.link_viewChanges w/ string ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
messages.link_viewChanges
Bumped chatgpt.js to 2.0.6 to avoid menu open on empty chat history ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Bumped chatgpt.js to 2.0.5 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Removed locale from config.greasyForkURL ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
config.greasyForkURL
Added config.greasyForkURL, renamed config.ghRepoURL ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
config.ghRepoURL
Added About modal, moved update check into it...
± Renamed checkForUpdates() to updateCheck() to not conflict w/ named function for modal button ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
checkForUpdates()
updateCheck()
Bumped chatgpt.js to 2.0.3 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Bumped chatgpt.js to 2.0.2 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Replaced ternary w/ OR operation ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
OR
Replaced string matching of regex w/ faster method ↞ [auto-sync from adamlui/chatgpt-apps]
adamlui/chatgpt-apps
Added noopener rel to prevent backdoor attacks ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
noopener
Bumped chatgpt.js to 2.0.0, added chatgpt.getUserLanguage() ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
chatgpt.getUserLanguage()
Bumped chatgpt.js to 1.12.0 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Changed config.prefix, condensed settings functions ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
config.prefix
Bumped chatgpt.js to 1.11.0 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Bumped chatgpt.js to 1.10.6 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Bumped chatgpt.js to 1.10.5 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Bumped chatgpt.js to 1.10.4 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Bumped chatgpt.js to 1.10.3 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Changed update check frequency to weekly ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Re-ordered function defs ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Bumped chatgpt.js to 1.10.2, shortened regex in Update Available alert ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Refactored code, improved reload on update
± Re-ordered config init for readability
window.open()
GM_openInTab()
onClose
Improved readability of obj's, further abstracted update alert ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Added/updated meta, replaced config.ghHostDir
config.ghHostDir
± Updated name/description meta
config.assetHostURL
Inserted config.ghHostDir into navicon.src ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
navicon.src
Removed depracated config.isActive, added config.updateURL ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
config.isActive
Added msgHostDir to let msgHref in message getter ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
msgHostDir
let msgHref
Fixed message getter
const msgHostDir
config
ghHostDir
Updated meta + config/state obj's, refactored code
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
var
let
stateSeparator
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
Show all script versions