為 DuckDuckGo 添加 AI 答案(由 GPT-4o 提供支援!)
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
Eliminated lingering tip on Font Size slider dismissal ↞ [auto-sync from adamlui/chatgpt-apps]
adamlui/chatgpt-apps
Disabled auto-dismiss of Font Size slider on interactive elem clicks ↞ [auto-sync from adamlui/chatgpt-apps]
Corrected currentReply selector in show.related(queries) ↞ [auto-sync from adamlui/chatgpt-apps]
currentReply
show.related(queries)
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]
Simplified recursion routine in show.related(queries) ↞ [auto-sync from adamlui/chatgpt-apps]
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]
Fixed light mode reply bg empty ↞ [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]
Disabled DDG's new unattractive pre light border style ↞ [auto-sync from adamlui/chatgpt-apps]
pre
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
Moved log functions into obj for improved readability ↞ [auto-sync from adamlui/chatgpt-apps]
Limited footer offset to desktop ↞ [auto-sync from adamlui/chatgpt-apps]
Fixed footer offset when loading 2nd+ replies ↞ [auto-sync from adamlui/chatgpt-apps]
Added stripping of dark scheme '>> ' from replies when clicking Copy button ↞ [auto-sync from adamlui/chatgpt-apps]
顯示所有腳本版本