Aldonas AI-respondojn al Google Search (ebligita de Google Gemma + GPT-4o!)
Ili estas versioj de tiu ĉi skripto, kie la kodo estas ĝisdatigita. Montri ĉiujn versiojn
Added quote-stripping to related queries ↞ [auto-sync from adamlui/chatgpt-apps]
adamlui/chatgpt-apps
Disabled hover zoom fx on mobile ↞ [auto-sync from adamlui/chatgpt-apps]
Fixed visibleBtnCnt didn't detect Minimize/Expand btns as hidden in un-anchored Standby mode ↞ [auto-sync from adamlui/chatgpt-apps]
visibleBtnCnt
Removed no-longer used resolve arg from dataProcess.text() return ↞ [auto-sync from adamlui/chatgpt-apps]
resolve
dataProcess.text()
Abstracted icons.arrowDownRight ↞ [auto-sync from adamlui/chatgpt-apps]
icons.arrowDownRight
Enlarged Close button in Settings modal, abstracted icons.x ↞ [auto-sync from adamlui/chatgpt-apps]
icons.x
Eliminated lingering tip on Font Size slider dismissal ↞ [auto-sync from adamlui/chatgpt-apps]
Disabled auto-dismiss of Font Size slider on interactive elem clicks ↞ [auto-sync from adamlui/chatgpt-apps]
Tweaked rqPrompt to bypass new Free Chat API detection ↞ [auto-sync from adamlui/chatgpt-apps]
rqPrompt
Fixed related query balloons exceed app div bounds if suggestion too long ↞ [auto-sync from adamlui/chatgpt-apps]
Removed auto-hide Font Size slider from show.reply() to support adjusting while streaming ↞ [auto-sync from adamlui/chatgpt-apps]
show.reply()
Added reply balloon tip checks in fontSizeSlider.toggle() to accommodate unused in dark mode ↞ [auto-sync from adamlui/chatgpt-apps]
fontSizeSlider.toggle()
Added label arg to log.info() ↞ [auto-sync from adamlui/chatgpt-apps]
label
log.info()
Changed log.err()s of responses to log.info()s, removed no-longer needed JSON.stringify() ↞ [auto-sync from adamlui/chatgpt-apps]
log.err()
JSON.stringify()
Added response log to Proxy Mode 200 response failures ↞ [auto-sync from adamlui/chatgpt-apps]
Added directive to suppress ESLint no-unused-vars warning for readability ↞ [auto-sync from adamlui/chatgpt-apps]
Expanded auto-type conversion to all args in log.err() ↞ [auto-sync from adamlui/chatgpt-apps]
Corrected typeof comparison in log.info ↞ [auto-sync from adamlui/chatgpt-apps]
typeof
log.info
Added type conversion to log.info() to prevent uncaught exceptions in TM (Tampermonkey/tampermonkey#2158) ↞ [auto-sync from 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
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
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
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]
Replaced passing of logPrefix in log function calls w/ log.prefix ↞ [auto-sync from adamlui/chatgpt-apps]
logPrefix
Show all script versions