Greasy Fork is available in English.
访问 chatgpt.com 时自动清除聊天记录
这些是代码更新过的版本。 显示所有版本
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]
app.latestAssetCommitHash
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
Expanded XHR init to pick GM_xmlhttpRequest for all userscript managers that don't support GM.xmlHttpRequest ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
GM_xmlhttpRequest
GM.xmlHttpRequest
Moved Update alerts inside modals to support dragging + add rising stars ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Added stylesheet requirement comment to fillStarryBG() sig ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Condensed View Changes link generation in Update Available alert ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Corrected changelog URL in Update Available modal ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Replaced dismissAlert() in comments w/ natural lang to avoid confusion since def in chatgpt.js ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Bumped rising-stars.css ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Corrected btn.textContent check of GitHub Sponsors button in Donate modal ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
btn.textContent
Renamed type arg of observeRemoval() to more readable modalType ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
type
observeRemoval()
modalType
Renamed nextModalType in modals.observeRemoval() to clearer prevModalType ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
nextModalType
modals.observeRemoval()
prevModalType
Replaced btnClone.textContent w/ btn.textContent in dismissal stripper for readability ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
btnClone.textContent
Added toggle existence check to sidebarToggle.update() for cleaner console when sidebar missing ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Revamped modal stack management to not rely on deprecated mutation events (https://chromestatus.com/feature/5083947249172480)
± Expanded modal stack management to more types ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Replaced string concatenation w/ template literals in modals.about.show() for readability ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
modals.about.show()
Renamed appData to more readable remoteAppData` ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
appData
remoteAppData
Prevented link buttons from auto-dismissing modals ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Moved chatgptJSver into app + added app.version ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
chatgptJSver
app
app.version
Fixed sidebar toggle doesn't animate on load if already activated ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Extended Chats Cleared notif duration to stand out vs. Mode ones ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
Restored custom attr get/set target to seemingly more reliable document.documentElement ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
document.documentElement
Moved custom attr set/get from document.documentElement to more reliable document.head ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions]
document.head
显示脚本的所有版本