สร้างคำตอบไม่สิ้นสุดจาก ChatGPT ที่รู้ทุกสิ่ง (ในภาษาใดก็ได้!)
นี่คือเวอร์ชันของสคริปต์นี้ที่โค้ดมีการอัปเดต แสดงเวอร์ชันทั้งหมด
Replaced string matching of regex w/ faster methods
Added noopener rel to prevent backdoor attacks
noopener
Bumped chatgpt.js to 2.0.0, added chatgpt.getUserLanguage()
chatgpt.getUserLanguage()
Bumped chatgpt.js to 1.12.0
Moved configPrefix into config
configPrefix
config
Moved config.prefix out of config, condensed settings functions
config.prefix
Bumped chatgpt.js to 1.11.0
Bumped chatgpt.js to 1.10.6
Bumped chatgpt.js to 1.10.5
Bumped chatgpt.js to 1.10.4
Added restartInNewChat() + resetInSameChat()
restartInNewChat()
resetInSameChat()
Bumped chatgpt.js to 1.10.3
Changed update check frequency to weekly
Updated menu label to show reply instead of user language
Localized update messages
Bumped chatgpt.js, shortened regex in Update Available alert
Refactored config URLs, improved Update button, condensed code
config.ghRepoURL
config.ghHostDir
config.assetHostURL
config.ghRepoURL to update alert ± Replaced
in Update button function w/
for
Added line breaks to insertToggle() for readability
insertToggle()
Adjusted code spacing for readability
Added // @description:pt-BR
// @description:pt-BR
Inserted config.ghHostDir into navicon.src
navicon.src
Removed whitespace, added const msgHostDir
const msgHostDir
Updated meta
± Moved // @version down ± Updated homepage/support URLs
// @version
Optimized config, improved update checker, refactored code
± Moved configPrefix into config obj ± Added config.ghHostDir ± Replaced var's with const & let
var
const
let
checkForUpdates()
config.updateURL
Improved update checker
± Converted var's to const's ± Improved comparison loop to break early if up-to-date
Added prefix to state obj
state
Sentence-cased continuation prompt
Moved stateSeparator into state.separator, capitalized 'Q&A'
stateSeparator
state.separator
Improved reply menu label/prompt/logic, refactored method
± Localized reply-related messages ± Expanded detection/saving of intent to read all topics ± Replaced document.querySelector() with chatgpt.startNewChat() in infinityMode.activate()
document.querySelector()
chatgpt.startNewChat()
infinityMode.activate()
Added reply topic setting, re-ordered function defs...
config.infinityMode = true
Re-added reply language init to user language if unset
...so if browser UI language is different than user language, reply language is still used
Updated reply language init/prompt/label
config.replylanguage
Moved appSymbol into config
appSymbol
Converted menu callbacks to arrow functions...
± Shortened checkForUpdates() ± Changed menu language cmd to use sidebar toggle for synced switch state
Replaced menu prompt confirmation alert titles...
...with localized ones
Replaced blur listener to accommodate menu clicks
blur
Added listener to auto-disable when focus lost...
chatgpt.stop()
Updated infinityMode methods
infinityMode
± Converted timer function in activate() to arrow
activate()
infinityMode.sent
± Converted to arrow functions ± Shortened toggle() ± Added chatgpt.stop() to deactivate()
toggle()
deactivate()
Shortened/renamed observer
Updated menu prompt confirmations
± Moved confirmations to bodies + added titles
Added auto-reload on auto-update ↞ [auto-sync from adamlui/userscripts]
adamlui/userscripts
Re-formatted Update Availlable alert
Added disabling if extension installed...
± Combined stateSymbol + stateWord arrays into single obj, updated refs
stateSymbol
stateWord
Upddated sidebar toggle, refactored code
± Eliminated double-toggle in Chromium on switch clicks ± Re-ordered toggle creation routine
,
;
infinityMode.deactivate()
Removed px unit from navicon.width
px
navicon.width
Added nullification of timer ID...
...in live session reboot on reply interval update
Shortened settings init
Removed unused config.notifHidden
config.notifHidden
แสดงเวอร์ชันสคริปต์ทั้งหมด