*SAFELY* eliminate 10-minute chat resets + constant network errors + Cloudflare checks from ChatGPT
These are versions of this script where the code was updated. Show all versions.
Added doc URL as header comment ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
adamlui/chatgpt-auto-refresh
Added Greasy Fork install/help button SVGs ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Restricted global msg fetching to non-English sys lang env for faster load ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Bumped chatgpt.js to 2.6.10 ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Re-added // @match *://chat.openai.com/* in case OpenAI changes mind again in future ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
// @match *://chat.openai.com/*
Updated @match domain from chat.openai.com to chatgpt.com ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
@match
Removed unnecessary branch names from icon meta URLs ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Replaced raw.githubusercontent.com URLs w/ cdn.jsdelivr.net ones ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Bumped chatgpt.js to 2.6.9 ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Removed outdated chatgpt.history.isOff() conditions/logic ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
chatgpt.history.isOff()
Removed unicode from meta ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
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/chatgpt-auto-refresh]
Bumped chatgpt.js to 2.6.7 ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Added hyphens to script name regex in config.updateURL ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
config.updateURL
Further reduced potential for backtracking in config.updateURL regex ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
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/chatgpt-auto-refresh]
Bumped chatgpt.js to 2.6.6 ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Added truncation to toggle label (adamlui/chatgpt-apps#30) ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Bumped chatgpt.js to 2.6.5 ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Added SRI hash to chatgpt.js ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Eliminated toCamelCase(str) ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
toCamelCase(str)
Shrank toggle glow radius ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Added hiding of sidebar gradient div in private mode ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Corrected navicon src path ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Update chatgpt-auto-refresh.user.js ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Added background to toggle parent to hide chat log ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Added light mode navicon ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Converted unnecessary template literal to string literal ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Replaced chatgpt.js import URL w/ npm one ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Bumped chatgpt.js to 2.6.4 ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
// @version bump to trigger failed GF auto-sync ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
// @version
Bumped chatgpt.js to 2.6.3 ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Replaced all .appendChild()'s w/ .append()'s to shorten codebase ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
.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/chatgpt-auto-refresh]
Bumped chatgpt.js to 2.6.1 ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Made FF scrollbar skinny to not crop toggle
± Renamed chatgptAlertStyle to tweaksStyle ± Renamed alertStyleUpdated to tweaksStyleUpdated ± Renamed #chatgpt-alert-override-style to #tweaks-style ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
chatgptAlertStyle
tweaksStyle
alertStyleUpdated
tweaksStyleUpdated
#chatgpt-alert-override-style
#tweaks-style
Bumped chatgpt.js to 2.6.0, removed isGizmoUI ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
isGizmoUI
Bumped chatgpt.js to 2.5.2 ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Replaced callStack.match() w/ .exec(callStack)
callStack.match()
.exec(callStack)
... for impoved performance ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Renamed camelCase(input) to toCamelCase(str) ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
camelCase(input)
Added config.appName + camelCase(input) ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
config.appName
Renamed notifHidden to notifDisabled ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
notifHidden
notifDisabled
Bumped chatgpt.js to 2.5.1 ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Re-positioned mobile toggle switch ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Added condition before removing forced cloaking on toggle ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Added optional chaining to 1st toggle icon selection for class assignment ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Show all script versions