Auto-clears chat history when visiting chatgpt.com
بۇلار بۇ قوليازمىنىڭ كود يېڭىلانغان نەشرىلىرى. بارلىق نەشرىنى كۆرسىتىش
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]
menu.register()
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]
Bumped app.latestAssetCommitHash ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
app.latestAssetCommitHash
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]
Bumped resources ↞ [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]
toggles.sidebar.ids
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
Bumped JS/CSS resources ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Inserted app.cssPrefix into static navicon.id + knobSpan.id in toggles.sidebar ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
app.cssPrefix
navicon.id
knobSpan.id
toggles.sidebar
Added/updated app.latestAssetCommitHash comments ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Abstracted app.cssPrefix for easier maintenance ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Moved sidebarToggle to toggles.sidebar for future expandability ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
sidebarToggle
Renamed sidebarToggle.update() to .updateState() for readability ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
sidebarToggle.update()
.updateState()
Restored checkForUpdates() name to updateCheck() to avoid endless recursion for sharing name w/ modals.update.available() btn callback func ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
checkForUpdates()
updateCheck()
Replaced all this.alert() w/ modals.alert() to avoid potential namespace conflicts w/ window.alert() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
this.alert()
modals.alert()
window.alert()
Moved siteAlert() into modals for simplicity, added initting for styling/listeners ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
siteAlert()
Abstracted modals.class ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
modals.class
Renamed stylesheet @resources into exactly matching acronyms for readability ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
@resource
Bumped app.latestAsseCommitHash ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
app.latestAsseCommitHash
Renamed btnLabel_updateCheck to clearer btnLabel_checkForUpdates ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
btnLabel_updateCheck
btnLabel_checkForUpdates
Added eslint-disable-line to overcome no-unused-vars bug (https://github.com/eslint/eslint/issues/19215) ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
eslint-disable-line
no-unused-vars
Renamed updateCheck() to clearer checkForUpdates() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Expanded early return in menu.fresh() to all userscript managers that don't support GM_unregisterMenuCommand ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
menu.fresh()
GM_unregisterMenuCommand
Replaced GM_info.script.header in app.chatgptJSver init w/ more widely supported GM_info.scriptMetaStr ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
GM_info.script.header
app.chatgptJSver
GM_info.scriptMetaStr
بارلىق قوليازما نەشرىلىرىنى كۆرسىتىش