შექმენით უსასრულო პასუხები ყველგანაწილებული ChatGPT-დან (ნელა ენაზე!)
These are versions of this script where the code was updated. Show all versions.
Removed unneeded double negation from isGPT4oUI assignment ↞ [auto-sync from adamlui/chatgpt-apps/chrome]
isGPT4oUI
adamlui/chatgpt-apps/chrome
Appended commit hashes to icon meta URLs to preserve assets
Replaced sidebarIsLoaded() w/ chatgpt.sidebar.isLoaded()
sidebarIsLoaded()
chatgpt.sidebar.isLoaded()
Bumped chatgpt.js to 2.9.2
Added sidebar toggle update on PV changes ↞ [auto-sync from adamlui/chatgpt-apps]
adamlui/chatgpt-apps
Moved sidebarIsLoaded() call up to properly detect Chromium extension ↞ [auto-sync from adamlui/chatgpt-apps]
Replaced .no-click-transform assignment w/ direct selector to reduce complexity ↞ [auto-sync from adamlui/chatgpt-apps]
.no-click-transform
Disabled distracting click zoom effect of sidebar button container ↞ [auto-sync from adamlui/chatgpt-apps]
Updated insertToggle() to insert below 'New Chat' in post-GPT-4o UI ↞ [auto-sync from adamlui/chatgpt-apps]
insertToggle()
Aligned sidebar navicon w/ ChatGPT icon in post-GPT-4o UI ↞ [auto-sync from adamlui/chatgpt-apps]
Added post-GPT-4o UI support
Bumped chatgpt.js to 2.8.0
Updated version to 2024.5.15
version
2024.5.15
Updated latest asset commit hash in config.assetHostURL
config.assetHostURL
Removed no longer needed first button padding tweak from insertToggle()
Updated selectors in insertToggle() to account for sporadic invisible elem
Eliminated reliance in selectors to support on-English UIs
Updated homepage/support URLs
Removed auto-reload ChatGPT on update to preserve prev sessions
Bumped chatgpt.js to 2.7.1
Inserted latest locale commit hash to config.assetHostURL to preserve potentially deleted msg keys
Bumped chatgpt.js to 2.7.0
Added doc URL as header comment
Restricted global msg fetching to non-English sys lang env for faster load
Bumped chatgpt.js to 2.6.10
Added // @match *://chatgpt.com/* to support new redirect
// @match *://chatgpt.com/*
Replaced raw.githubusercontent.com URLs w/ cdn.jsdelivr.net ones
Bumped chatgpt.js to 2.6.9
Removed outdated chatgpt.history.isOff() conditions/logic
chatgpt.history.isOff()
Refactored msg fetcher for readability + if en/messages.json ever goes missing
const messages
msgs
Bumped chatgpt.js to 2.6.8
Bumped chatgpt.js to 2.6.7
Added hyphens to script name regex in config.updateURL
config.updateURL
Further reduced potential for backtracking in config.updateURL regex
Improved regex
± Eliminated potential for exponential/polynomial backracking in msgHref.replace regex by increasing specificity in capturing groups
msgHref.replace
Eliminated potential for polynomial backtracking in regex
... by increasing specificity of capturing group
Added Whale as compatible browser
Bumped chatgpt.js to 2.6.6
Added truncation to toggle label (adamlui/chatgpt-apps#30)
Removed unicode from meta
Bumped chatgpt.js to 2.6.5
Added SRI hash to chatgpt.js
Shrank toggle glow radius
Added hiding of sidebar gradient div in private mode
Moved navicon.src assignment to insertToggle()
navicon.src
... from updateToggle() to accomodate live scheme changes
updateToggle()
Added background to toggle parent to hide chat log
Updated navicon src
± Added light mode icon
± Replaced dark mode src w/ 32x32 icon
Replaced chatgpt.js import URL w/ npm one
Bumped chatgpt.js to 2.6.4
Updated copyright years ↞ [auto-sync from adamlui/chatgpt-apps]
Added auto-casing to replyLanguage init for improved menu/alert aesthetics
replyLanguage
Shortened icon meta URLs
Added newline to notify() for readability
notify()
Added // @compatible kiwi
// @compatible kiwi
Bumped chatgpt.js to 2.6.3
Removed extraneous config.keyPrefix assignment
config.keyPrefix
Eliminated toCamelCase(str) to shorten codebase
toCamelCase(str)
Replaced all .appendChild()'s w/ .append()'s to shorten codebase
.appendChild()
.append()
Shortened button var names
Merged re_firstLinkText + re_firstButton, moved init up
re_firstLinkText
re_firstButton
Removed fallback returns from firstLink + firstButton
firstLink
firstButton
Fixed sidebar btn selector for free users (adamlui/chatgpt-infinity#17)
Bumped chatgpt.js to 2.6.2
Updated firstButton selector (adamlui/chatgpt-infinity#17)
Bumped chatgpt.js to 2.6.1
Made FF scrollbar skinny to not crop toggle
± Renamed chatgptAlertStyle to tweaksStyle ± Renamed alertStyleUpdated to tweaksStyleUpdated ± Renamed #chatgpt-alert-override-style to #tweaks-style
chatgptAlertStyle
tweaksStyle
alertStyleUpdated
tweaksStyleUpdated
#chatgpt-alert-override-style
#tweaks-style
Added base to parseInt()'s
parseInt()
Bumped chatgpt.js to 2.5.2
Renamed camelCase(input) to toCamelCase(str)
camelCase(input)
Added config.appName + camelCase(input)
config.appName
Converted un-interpolated template literal to string
Added conditions to hiding sidebar in infinityMode.activate()
infinityMode.activate()
...
Bumped chatgpt.js to 2.5.1, added sidebar hiding...
... to infinityMode.activate() for mobile usability ± Re-positioned mobile toggle switch
Removed delay from Chrome extension check
... since latest Chromium doesn't need it
Added condition before removing forced cloaking on toggle
Added optional chaining to 1st toggle icon selection for class assignment
Updated hash in chatgpt.js import URL
Bumped chatgpt.js to 2.5.0, replaced isMobiileDevice()
isMobiileDevice()
... w/ chatgpt.browser.isMobile() ± Updated mobile toggle switch position
chatgpt.browser.isMobile()
Shortened error args
Tightened/loosened equality comparisons
Removed unused isFireFox()
isFireFox()
Moved toggle styling inline, renamed elem var names
Adjusted Firefox toggle pos, replaced .slider w/ .switch
.slider
.switch
± Re-ordered toggle label before switch
Positioned mobile toggle
Bumped chatgpt.js to 2.4.3 to update regenerate btn selector
Replaced .className ='s w/ more performant .classList.add()'s
.className =
.classList.add()
...when number of classes to add is low
Bumped chatgpt.js to 2.4.2
Bumped chatgpt.js to 2.4.1
Removed old while condition from reply topic prompt routine
while
Prepended const to str_replyTopic
const
str_replyTopic
Removed no-num validation from reply topic prompt
Re-added await chatgpt.history.isLoaded() to insertToggle()
await chatgpt.history.isLoaded()
...when isGizmoUI since 1st call for styles is async
isGizmoUI
Updated download/update URLs ↞ [auto-sync from adamlui/userscripts]
adamlui/userscripts
Replaced .match() w/ faster method
.match()
Updated download/update URLs
Removed await chatgpt.history.isLoaded() from insertToggle()
Replaced chatHistoryIsLoaded() w/ chatgpt.history.isLoaded()
chatHistoryIsLoaded()
chatgpt.history.isLoaded()
Narrowed update alerts
Added English fallbacks to localized messages
Bumped chatgpt.js to 2.4.0
Removed semicolons
Refactored code to work w/ new UI + replace outdated styles
± Bumped chatgpt.js to 2.3.19
()
toggleLabel
Bumped chatgpt.js to 2.3.18
Bumped chatgpt.js to 2.3.17
Defined launchAboutModal(), added nav back on no update found
launchAboutModal()
± Re-ordered script/menu function defs
Bumped chatgpt.js to 2.3.16
Bumped chatgpt.js to 2.3.15
Bumped chatgpt.js to 2.3.14
Bumped chatgpt.js to 2.3.13
Added delay to menu load for Chrome extension load to beat VM
Bumped chatgpt.js to 2.3.12
Bumped chatgpt.js to 2.3.11, removed alert button hover styles
Added array fallback to chatgptJSver, moved index extraction out
chatgptJSver
Lightened toggle-on bg
Added glow to toggle-on
Re-colored toggle-on bg purple
Bumped chatgpt.js to 2.3.10
Bumped chatgpt.js to 2.3.9
Bumped chatgpt.js to 2.3.8
Narrowed About dialog
Bumped chatgpt.js to 2.3.7
Added new About dialog buttons + alert styles
config.supportURL
Localized About + Review dialog messagse
Added messages.appName to confirmation alerts
messages.appName
Bumped chatgpt.js to 2.3.5
Removed deprecated GitHub button localization
Bumped chatgpt.js to 2.3.4
Changed menuLabel_updateCheck to buttonLabel_updateCheck
menuLabel_updateCheck
buttonLabel_updateCheck
Added const updateButtons to reduce .querySelectorAll() calls
const updateButtons
.querySelectorAll()
Localizeed About menu label
Bumped chatgpt.js to 2.3.3
Added AlternativeTo as review destination
Updated chatgpt.js ver detection to utillize GM_info
GM_info
± Bumped chatgpt.js to 2.3.2
Revised chatgpt.send() request
chatgpt.send()
Bumped chatgpt.js to 2.3.1
Bumped chatgpt.js to 2.3.0
Bumped chatgpt.js to 2.2.0
Bumped chatgpt.js to 2.1.1
Removed protocol from // @match
// @match
Replaced switchStyle.innerText w/ string concatenation
switchStyle.innerText
Replaced source code emoji in about dialog
Combined const inits, updated about dialog style
Replaced tab w/ spaces
Localized button labels
Removed unnecessary escape character
Bumped chatgpt.js to 2.1.0
Removed update auto-alert, changed config.updateURL
Bumped chatgpt.js to 2.0.6
Bumped chatgpt.js to 2.0.5
Bumped chatgpt.js to 2.0.4 to fix UI update breaking
....scroll-to-bottom
Added About modal, added/renamed vars/functions
safeWindowOpen()
config.greasyForkURL
config.ghRepoURL
config.githubURL
checkForUpdates()
updateCheck()
Bumped chatgpt.js to 2.0.3
Bumped chatgpt.js to 2.0.2
Replaced ternarys w/ OR operations
OR
Replaced ternary w/ OR operation in notify()
Added braces to menu refreshes for readability
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.ghHostDir
config.ghRepoURL to update alert ± Replaced
in Update button function w/
for
Added line breaks to insertToggle() for readability
Adjusted code spacing for readability
Added // @description:pt-BR
// @description:pt-BR
Inserted config.ghHostDir into 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
let
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()
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]
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
Moved reset of skipNextUpdate to before auto-alert
skipNextUpdate
Shortened config init + toggleLabel.addEventListener()
toggleLabel.addEventListener()