Auto-clears chat history when visiting chatgpt.com
These are versions of this script where the code was updated. Show all versions.
Disabled transition on sidebar toggle hover ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Bumped resources ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Expanded transition style support to older browsers ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Updatd copyright years ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Condensed CSS color declarations ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Centralized sidebar toggle knob span styles into stylesheet ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Added increase glow on sidebar toggle hover ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Moved toggles.sidebar update methods up a level to use shorter this for elem refs ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
toggles.sidebar
this
Refactored sidebar toggle elem inits as obj props for easier access ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Refactored sidebar toggle in-line stylization to use stylesheet to support future pseudo-selectors ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Replaced toggles.sidebar.ids w/ single .class for simplicity ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
toggles.sidebar.ids
.class
Bumped chatgpt.js to 3.5.0 ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Bumped app.latestAssetCommitHash ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
app.latestAssetCommitHash
Fixed state msg key ref butchered by automation ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Replaced alert_author msg in modals.donate() w/ new about_author ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
alert_author
modals.donate()
about_author
Added author info to About modal, moved chatgpt.js info down ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Moved tooltipsSupported from menu.register() to env.scriptManager.supportsTooltips for readability ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
tooltipsSupported
menu.register()
env.scriptManager.supportsTooltips
Removed modals.dragHandlers now handled by chatgpt.js 3.4.0 ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
modals.dragHandlers
Consolidated entry creation routines in menu.register() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Renamed event args of forEach loops in modals.handlers.drag type methods to eventType for better clarity ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
event
forEach
modals.handlers.drag
eventType
Shortened knobSpan.style.transform update in toggles.sidebar.update.state() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
knobSpan.style.transform
toggles.sidebar.update.state()
Moved env.scheme into env.ui for improved structure ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
env.scheme
env.ui
Improved scheme pref monitoring comments ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Replaced msgs.about_sourceCode w/ about_openSourceCode ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
msgs.about_sourceCode
about_openSourceCode
Replaced prefers-color-scheme's onchange assignment w/ .addEventListener() to support multiple listeners ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
prefers-color-scheme
onchange
.addEventListener()
Improved handleSchemePrefChange() to update colors only if actually displayed scheme changes ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
handleSchemePrefChange()
Renamed handleSchemeChange() to more accurate handleSchemePrefChange() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
handleSchemeChange()
Added system/browser scheme change detection to trigger update colors ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Moved env.scheme init inside env for simplicity ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
env
Updated comments ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Stripped unneeded quotes from CSS selectors ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Replaced chatgpt.isDarkMode() calls w/ env.scheme init + update in observer for improved performance
chatgpt.isDarkMode()
Hard-coded modal color style to support live scheme updates ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Bumped chatgpt.js to 3.3.5 ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Moved sidebar toggle update methods into update for improved structure ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
update
Hardcoded more modal styles for futureproofing ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Added override of pointer event disabling to modal styles ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Updated modal design to KudoAI scripts' style ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Added missing CSS prop name ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Added stars div check to fillStarryBG() to avoid duplicates from multi modals.open() of unclosed modals in future ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
fillStarryBG()
modals.open()
Removed no-longer needed skinny FF scrollbar style ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Corrected View Changes URL in modals.update.available() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
modals.update.available()
Removed unrequired semicolon (https://github.com/eslint-stylistic/eslint-stylistic/issues/622#issuecomment-2540890247) ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Added live update navicon on scheme change, moved stylization from toggles.sidebar.insert() to .create() for centralization ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
toggles.sidebar.insert()
.create()
Consolidated sidebar toggle hover listener inits for simplicity ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Restored sidebar toggle hover overlay ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Abstracted toggles.sidebar.ids ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Moved modal stylization to modals.stylize() for modularity ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
modals.stylize()
Re-ordered modals function defs for readability ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
modals
Show all script versions