Greasy Fork is available in English.
Auto-clears chat history when visiting chatgpt.com
Dette er versjoner av dette scriptet hvor koden ble oppdatert. Vis alle versjoner.
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
Further reduced potential for backtracking in config.updateURL regex ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Improved regex
± Eliminated potential for exponential/polynomial backracking in msgHref.replace regex by increasing specificity in capturing groups
msgHref.replace
Increased specificity in regex group to eliminate potential for polynomial backtracking ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Bumped chatgpt.js to 2.6.6 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Added truncation to toggle label (adamlui/chatgpt-apps#30) ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Bumped chatgpt.js to 2.6.5 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Added SRI hash to chatgpt.js ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Added content comparison to doc sync to support sync_src ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
sync_src
Update auto-sync.yml ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Shrank toggle glow radius ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Added hiding of sidebar gradient div in private mode ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Added comment to navicon icon assignment ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Moved navicon.src assignment from updateToggleHTML() to insertToggle()
navicon.src
updateToggleHTML()
insertToggle()
... to accomodate live scheme changes ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Added background to toggle parent to hide chat log ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Added light mode navicon ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Converted unnecessary template literal to string literal ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Replaced chatgpt.js import URL w/ npm one ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Bumped chatgpt.js to 2.6.4 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Updated copyright years ↞ [auto-sync from adamlui/chatgpt-apps]
adamlui/chatgpt-apps
Bumped chatgpt.js to 2.6.3 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Replaced all .appendChild()'s w/ .append()'s to shorten codebase ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
.appendChild()
.append()
Merged re_firstLinkText + re_firstButton, moved init up
re_firstLinkText
re_firstButton
updateButtons
updateBtns
Updated sidebar btn selector for free users
± Bumped chatgpt.js to 2.6.2 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Bumped chatgpt.js to 2.6.1 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Re-added await chatgpt.isLoaded() for style-check ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
await chatgpt.isLoaded()
Made FF scrollbar skinny to not crop toggle
± Renamed chatgptAlertStyle to tweaksStyle ± Renamed alertStyleUpdated to tweaksStyleUpdated ± Renamed #chatgpt-alert-override-style to #tweaks-style
chatgptAlertStyle
tweaksStyle
alertStyleUpdated
tweaksStyleUpdated
#chatgpt-alert-override-style
#tweaks-style
Bumped chatgpt.js to 2.6.0, removed isGizmoUI ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
isGizmoUI
Bumped chatgpt.js to 2.5.2 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Renamed camelCase(input) to toCamelCase(str) ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
camelCase(input)
toCamelCase(str)
Updated config key prefix var name in (load|save)Setting() ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
(load|save)Setting()
Added hyphen-stripping to camelCase(input) ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Added config.appName + camelCase(input) ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
config.appName
Show all script versions