Adds AI answers to Brave Search (powered by GPT-4o!)
A continuación se muestran las versiones de este script en las que se actualizó el código. Ver todas las versiones.
Renamed log.prefix to log.caller since app name/symbol is prefix too ↞ [auto-sync from adamlui/chatgpt-apps]
log.prefix
log.caller
adamlui/chatgpt-apps
Moved browser flags into obj for readability ↞ [auto-sync from adamlui/chatgpt-apps]
Separated static app data from config for readability ↞ [auto-sync from adamlui/chatgpt-apps]
config
Shortened notif init in notify() ↞ [auto-sync from adamlui/chatgpt-apps]
notif
notify()
Added caller.status check to api.tryNew() to reduce checks pre-calls ↞ [auto-sync from adamlui/chatgpt-apps]
caller.status
api.tryNew()
Removed extraneous colon from API endpoint log ↞ [auto-sync from adamlui/chatgpt-apps]
Improved handleProcessCompletion() in dataProcess.text()
handleProcessCompletion()
dataProcess.text()
± Moved failFlagsAndURLs test inside to cover all APIs
failFlagsAndURLs
Removed extraneous backtick ↞ [auto-sync from adamlui/chatgpt-apps]
Enabled placeholders in suggested answers + auto-highlight on click vs. auto-send
± Refined rqPrompt for precision in generating answers for correct role ↞ [auto-sync from adamlui/chatgpt-apps]
rqPrompt
Limited answer suggestions to reply questions only ↞ [auto-sync from adamlui/chatgpt-apps]
Tweaked rqPrompt to bypass new Free Chat API detection ↞ [auto-sync from adamlui/chatgpt-apps]
Added dismissal of active Font Size slider on Minimize/Restore button clicks ↞ [auto-sync from adamlui/chatgpt-apps]
Removed unneeded delay to fontSizeSlider.toggle('off') ↞ [auto-sync from adamlui/chatgpt-apps]
fontSizeSlider.toggle('off')
Added modal elem styles ↞ [auto-sync from adamlui/chatgpt-apps]
Replaced unused mutations arg w/ _ for readability ↞ [auto-sync from adamlui/chatgpt-apps]
mutations
_
Added compatibility flags, expanded to Streaming toggle listener ↞ [auto-sync from adamlui/chatgpt-apps]
Disabled Streaming Mode toggle from moving if browser unsupported ↞ [auto-sync from adamlui/chatgpt-apps]
Centered modal titles on mobile, added line-height, tweaked margins ↞ [auto-sync from adamlui/chatgpt-apps]
Added overflow wrapping to About modal text ↞ [auto-sync from adamlui/chatgpt-apps]
Changed modals to CSS grids for auto-centered header icon
± Tweaked styles accordingly ↞ [auto-sync from adamlui/chatgpt-apps]
Renamed hostContainer to appDivContainer for improved clarity ↞ [auto-sync from adamlui/chatgpt-apps]
hostContainer
appDivContainer
Improved hostContainer init to await promise resolution upon load ↞ [auto-sync from adamlui/chatgpt-apps]
Moved (!isMobile) condition out of setTimeout() in toggle.minimized() to avoid unnecessary execution ↞ [auto-sync from adamlui/chatgpt-apps]
(!isMobile)
setTimeout()
toggle.minimized()
Refactored restoreAppDiv() to process elems from top-to-bottom for readability ↞ [auto-sync from adamlui/chatgpt-apps]
restoreAppDiv()
Removed extraneous symbols ↞ [auto-sync from adamlui/chatgpt-apps]
Renamed saveAppDiv.content to more semantic saveAppDiv.html ↞ [auto-sync from adamlui/chatgpt-apps]
saveAppDiv.content
saveAppDiv.html
Fixed lingering tooltip on Minimize/Restore button clicks ↞ [auto-sync from adamlui/chatgpt-apps]
Removed remnants of handleRQevent() ↞ [auto-sync from adamlui/chatgpt-apps]
handleRQevent()
Replaced handleRQevent() w/ anonymous function for simplicity ↞ [auto-sync from adamlui/chatgpt-apps]
Refactored listenerize.replySection() for clarity
listenerize.replySection()
± Replaced function defs w/ obj prop assignments ± Re-ordered routines ↞ [auto-sync from adamlui/chatgpt-apps]
Added Standby button click listener re-assignment to restoreAppDiv() ↞ [auto-sync from adamlui/chatgpt-apps]
Abstracted listenerize.appDiv(), added to restoreAppDiv() ↞ [auto-sync from adamlui/chatgpt-apps]
listenerize.appDiv()
Fixed disappearing app div ↞ [auto-sync from adamlui/chatgpt-apps]
Re-ordered CSS for readability ↞ [auto-sync from adamlui/chatgpt-apps]
Disabled rendering of empty stream chunks ↞ [auto-sync from adamlui/chatgpt-apps]
Added retry diff API on no text streamed ↞ [auto-sync from adamlui/chatgpt-apps]
Tweaked/merged modal close button styles ↞ [auto-sync from adamlui/chatgpt-apps]
Deleted dot from modal.classList.add() ↞ [auto-sync from adamlui/chatgpt-apps]
modal.classList.add()
Refined rqPrompt to be less explicit for stealth ↞ [auto-sync from adamlui/chatgpt-apps]
Updated Free Chat API endpoint URL ↞ [auto-sync from adamlui/chatgpt-apps]
Trimmed 0px to 0 in CSS ↞ [auto-sync from adamlui/chatgpt-apps]
0px
0
Removed get.reply.status check from xhr.onerror in get.reply() to accommodate Streaming Mode reader considers errors done ↞ [auto-sync from adamlui/chatgpt-apps]
get.reply.status
xhr.onerror
get.reply()
Bumped chatgpt.js to 3.1.0 ↞ [auto-sync from adamlui/chatgpt-apps]
Resized mobile app div, restored border for light mode ↞ [auto-sync from adamlui/chatgpt-apps]
Removed app div border from mobile, re-pos bottom to match ↞ [auto-sync from adamlui/chatgpt-apps]
Moved .no-mobile-tap-outline from corner btn spans to container div
.no-mobile-tap-outline
settingsSpan
Wrapped corner buttons in div to align w/ other KudoAI scripts ↞ [auto-sync from adamlui/chatgpt-apps]
Bumped chatgpt.js to 3.0.2 ↞ [auto-sync from adamlui/chatgpt-apps]
Appended exclamation mark to tooltip status on Copy btn clicks ↞ [auto-sync from adamlui/chatgpt-apps]
Bumped config.latestAssetCommitHash ↞ [auto-sync from adamlui/chatgpt-apps]
config.latestAssetCommitHash
Ver todas las versiones del script.