Legger til AI-svar på Brave Search (drevet av GPT-4o!)
Dette er versjoner av dette scriptet hvor koden ble oppdatert. Vis alle versjoner.
Changed modals to CSS grids for auto-centered header icon
± Tweaked styles accordingly ↞ [auto-sync from adamlui/chatgpt-apps]
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]
rqPrompt
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
Limited XHR request for msgs init to non-English user languages ↞ [auto-sync from adamlui/chatgpt-apps]
Expanded queryisQuestion instructions in rqPrompt to Free Chat API
queryisQuestion
Improved prompt for fetching suggested answers to AI questions ↞ [auto-sync from adamlui/chatgpt-apps]
Tweaked rqPrompt to bypass new Free Chat API detection ↞ [auto-sync from adamlui/chatgpt-apps]
Eliminated iconParent from show.copyBtns() for brevity ↞ [auto-sync from adamlui/chatgpt-apps]
iconParent
show.copyBtns()
Re-structured Copy btn elems to align w/ other btns, added status to tooltip on clicks ↞ [auto-sync from adamlui/chatgpt-apps]
Added error catching to markdown rendering ↞ [auto-sync from adamlui/chatgpt-apps]
Disabled notification on Copy button clicks ↞ [auto-sync from adamlui/chatgpt-apps]
Resized related query bubbles to fit content ↞ [auto-sync from adamlui/chatgpt-apps]
Removed outdated CSS style ↞ [auto-sync from adamlui/chatgpt-apps]
Disabled suggesting answers to questions if Shuffle button used ↞ [auto-sync from adamlui/chatgpt-apps]
Fixed get.related() retries generate related questions vs. answers to questions ↞ [auto-sync from adamlui/chatgpt-apps]
get.related()
Improved arrayify() in dataProcess.text()
arrayify()
dataProcess.text()
± Reverted to parsing lines by numbers to avoid prefaces
strList
± Strip double-asterisks anywhere in string ± Strip numbering even if quotes precede it ↞ [auto-sync from adamlui/chatgpt-apps]
Removed background style from .no-mobile-tap-outline to accommodate co-existing styles ↞ [auto-sync from adamlui/chatgpt-apps]
background
Expanded symbol-stripping of related queries to handle any qty of symbols
Abstracted .no-mobile-tap-outline class, expanded browser support ↞ [auto-sync from adamlui/chatgpt-apps]
Disabled blue rectangles around buttons/logo on mobile taps ↞ [auto-sync from adamlui/chatgpt-apps]
Show all script versions