Greasy Fork is available in English.
Ajoute des réponses IA à Google Search (propulsé par Google Gemma + GPT-4o!)
Voici les versions de ce script où le code a été modifié. Voir toutes les versions.
Added type conversion to log.info() to prevent uncaught exceptions in TM (Tampermonkey/tampermonkey#2158) ↞ [auto-sync from adamlui/chatgpt-apps]
log.info()
adamlui/chatgpt-apps
Added suggested answers to AI questions ↞ [auto-sync from adamlui/chatgpt-apps]
Removed no-longer used show.related.greenlit flag ↞ [auto-sync from adamlui/chatgpt-apps]
show.related.greenlit
Simplified recursion routine in show.related(queries) ↞ [auto-sync from adamlui/chatgpt-apps]
show.related(queries)
Condensed get.related() promise chains, eliminated lastQuery init ↞ [auto-sync from adamlui/chatgpt-apps]
get.related()
lastQuery
Fixed related query balloons exceed app div bounds if suggestion too long ↞ [auto-sync from adamlui/chatgpt-apps]
Improved app div Font Size slider dismiss listener
while
event.target.closest()
Disabled non-left-click dragging in drag handlers ↞ [auto-sync from adamlui/chatgpt-apps]
Removed unused sliderTip from rects in fontSizeSlider.toggle() ↞ [auto-sync from adamlui/chatgpt-apps]
sliderTip
rects
fontSizeSlider.toggle()
Removed test log ↞ [auto-sync from adamlui/chatgpt-apps]
Added tip to Font Size slider to point to button ↞ [auto-sync from adamlui/chatgpt-apps]
Improved randQAprompt
randQAprompt
Condensed toggle.tooltip()
toggle.tooltip()
± Refactored position routine using objs/loop
currentBtnType
btnType
Added space after 🚀 in update alert ↞ [auto-sync from adamlui/chatgpt-apps]
Removed config.appSymbol from siteAlert(title) ↞ [auto-sync from adamlui/chatgpt-apps]
config.appSymbol
siteAlert(title)
Removed no-longer needed invisible .filter() from cornerBtnTypes in update.tooltip() ↞ [auto-sync from adamlui/chatgpt-apps]
.filter()
cornerBtnTypes
update.tooltip()
Expanded real-time x-positioning of tooltips to all buutton types ↞ [auto-sync from adamlui/chatgpt-apps]
Replaced .target.closest() in event handlers w/ more performant .currentTarget ↞ [auto-sync from adamlui/chatgpt-apps]
.target.closest()
.currentTarget
Removed no-longer needed tooltip stripping from copy function ↞ [auto-sync from adamlui/chatgpt-apps]
Limited Copy button tooltips to desktop ↞ [auto-sync from adamlui/chatgpt-apps]
Replaced Copy button's browser tooltips w/ beautiful custom ones ↞ [auto-sync from adamlui/chatgpt-apps]
Eliminated handleCopyClick() def from show.copyBtns() for simplicity ↞ [auto-sync from adamlui/chatgpt-apps]
handleCopyClick()
show.copyBtns()
Added stripping of leading/trailing whitespace to copy function ↞ [auto-sync from adamlui/chatgpt-apps]
Eliminated parentElem arg from handleCopyClick() to reduce cognitive overload ↞ [auto-sync from adamlui/chatgpt-apps]
parentElem
Merged update.tooltip() into toggle.tooltip() for easier maintenance ↞ [auto-sync from adamlui/chatgpt-apps]
Moved y-pos calc from update.tooltip() to toggle.tooltip() ↞ [auto-sync from adamlui/chatgpt-apps]
Renamed reCopyCTA to clearer reCopyTooltip in handleCopyClick() ↞ [auto-sync from adamlui/chatgpt-apps]
reCopyCTA
reCopyTooltip
Moved log.prefix before label in log.err() ↞ [auto-sync from adamlui/chatgpt-apps]
log.prefix
label
log.err()
Added Render service suspended fail flag to Free Chat API props ↞ [auto-sync from adamlui/chatgpt-apps]
Condensed log.err() ↞ [auto-sync from adamlui/chatgpt-apps]
Added optional chaining in show.reply() to accommodate empty 1st chunks when streaming ↞ [auto-sync from adamlui/chatgpt-apps]
show.reply()
Replaced passing of logPrefix in log function calls w/ log.prefix ↞ [auto-sync from adamlui/chatgpt-apps]
logPrefix
Moved log functions into obj for improved readability ↞ [auto-sync from adamlui/chatgpt-apps]
Added stripping of dark scheme '>> ' from replies when clicking Copy button ↞ [auto-sync from adamlui/chatgpt-apps]
Added failFlagsAndURLs init to dataProcess.stream(), changed .test() target to more precise textToShow ↞ [auto-sync from adamlui/chatgpt-apps]
failFlagsAndURLs
dataProcess.stream()
.test()
textToShow
Eliminated reliance on deprecated global event ↞ [auto-sync from adamlui/chatgpt-apps]
event
Moved reply Copy button up/right, renamed .copy-icon to .copy-btn ↞ [auto-sync from adamlui/chatgpt-apps]
.copy-icon
.copy-btn
Fixed copy icon sometimes didn't update to checkmarks ↞ [auto-sync from adamlui/chatgpt-apps]
Moved styles from show.copyBtns() to appStyles to support live update w/ scheme changes
appStyles
± Replaced deprecated SVG className w/ classList.add()
className
classList.add()
Abstracted dataProcess.initFailFlags(api) ↞ [auto-sync from adamlui/chatgpt-apps]
dataProcess.initFailFlags(api)
Renamed str to url in escapedAPIurls for improved readability ↞ [auto-sync from adamlui/chatgpt-apps]
str
url
escapedAPIurls
Fixed Copy buttons didn't show when Streaming disabled ↞ [auto-sync from adamlui/chatgpt-apps]
Added caller/function log prefix to dataProcess.stream() ↞ [auto-sync from adamlui/chatgpt-apps]
Re-added erroneously deleted accumulatedChunks assignment to dataProcess.stream() ↞ [auto-sync from adamlui/chatgpt-apps]
accumulatedChunks
Improved dataProcess methods
dataProcess
± Added endpoint + expected origin URL detection in response for all APIs to try diff API ± Condensed dataProcess.text()
dataProcess.text()
Added type conversion to consoleErr() to prevent uncaught exceptions in TM (Tampermonkey/tampermonkey#2158) ↞ [auto-sync from adamlui/chatgpt-apps]
consoleErr()
Changed err.message unsupported by GM XHR onerror to err ↞ [auto-sync from adamlui/chatgpt-apps]
err.message
onerror
err
Refactored show.reply() to use forEach loop for dynamic button creation ↞ [auto-sync from adamlui/chatgpt-apps]
forEach
Improved update.tooltip() for easier maintenance
± Added chatbarBtnTypes ± Replaced regex in update pos routine w/ cornerBtnTypes check
chatbarBtnTypes
Shortened buttonType to btnType in update.tooltip() ↞ [auto-sync from adamlui/chatgpt-apps]
buttonType
Afficher toutes les versions de script