Voegt AI-antwoorden toe aan Google Search (mogelijk gemaakt door Google Gemma + GPT-4o!)
Dit zijn alle versies van het script. Alleen de versies tonen waarvan de code gewijzigd is.
Disabled button animations when FG Animations setting disabled ↞ [auto-sync from adamlui/chatgpt-apps]
adamlui/chatgpt-apps
Refactored exposed timing vals of show.copyBtns() to local consts for clarity ↞ [auto-sync from adamlui/chatgpt-apps]
show.copyBtns()
Condensed browser flags init ↞ [auto-sync from adamlui/chatgpt-apps]
Corrected alertP.id init ↞ [auto-sync from adamlui/chatgpt-apps]
alertP.id
Added mouse down/up styles to corner buttons
± Re-ordered/named CSS props for readability ↞ [auto-sync from adamlui/chatgpt-apps]
Enlarged log app name prefix font size in FF ↞ [auto-sync from adamlui/chatgpt-apps]
Bumped chatgpt.js to 3.2.1 ↞ [auto-sync from adamlui/chatgpt-apps]
Abstracted URLs into app.urls for improved maintainability ↞ [auto-sync from adamlui/chatgpt-apps]
app.urls
Corrected failMatch init syntax ↞ [auto-sync from adamlui/chatgpt-apps]
failMatch
Removed/corrected buttons in Feedback modal from erroneously created DDGPT ones ↞ [auto-sync from adamlui/chatgpt-apps]
Added logging of exact fail flag if matched to dataProcess methods
dataProcess
± Changed log.info() to log.debug() for cleaner console when Debug Mode off ± Changed log labels 'Response' to more specific 'Response text' ↞ [auto-sync from adamlui/chatgpt-apps]
log.info()
log.debug()
Moved get.userscriptManager() def back out to hoist for early config init ↞ [auto-sync from adamlui/chatgpt-apps]
get.userscriptManager()
config
Wrapped session functions in session for readability, shortened names ↞ [auto-sync from adamlui/chatgpt-apps]
session
Moved getUserscriptManager() into get + alphabetized methods for readability ↞ [auto-sync from adamlui/chatgpt-apps]
getUserscriptManager()
get
Added Debug Mode, improved logging
± Limited logging to errors when Debug Mode off ± Expanded log methods to accept unlimited args ± Added coloring to log methods
Disabled ESLint for no-unused-vars in func sig for readability ↞ [auto-sync from adamlui/chatgpt-apps]
Condensed log method defs using loop ↞ [auto-sync from adamlui/chatgpt-apps]
Added log.caller resets to log methods for unprefixed logs ↞ [auto-sync from adamlui/chatgpt-apps]
log.caller
Moved log caller prefix separator inits from callers to log methods for readability ↞ [auto-sync from adamlui/chatgpt-apps]
Added background/colors to log prefixes ↞ [auto-sync from adamlui/chatgpt-apps]
Renamed log.prefix to log.caller since app name/symbol is prefix too ↞ [auto-sync from adamlui/chatgpt-apps]
log.prefix
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]
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()
Improved handleProcessCompletion() in dataProcess.text()
handleProcessCompletion()
dataProcess.text()
± Moved failFlagsAndURLs test inside to cover all APIs
failFlagsAndURLs
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')
Lowered green opacity in RGB shift of app icon ↞ [auto-sync from adamlui/chatgpt-apps]
Added modal elem styles ↞ [auto-sync from adamlui/chatgpt-apps]
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]
Condensed Google tracking-stripper ↞ [auto-sync from adamlui/chatgpt-apps]
Renamed hostContainer to appDivContainer for improved clarity ↞ [auto-sync from adamlui/chatgpt-apps]
hostContainer
appDivContainer
Moved (!isMobile) condition out of setTimeout() in toggle.minimized() to avoid unnecessary execution ↞ [auto-sync from adamlui/chatgpt-apps]
(!isMobile)
setTimeout()
toggle.minimized()
Fixed lingering tooltip on Minimize/Restore button clicks ↞ [auto-sync from adamlui/chatgpt-apps]
Replaced handleRQevent() w/ anonymous function for simplicity ↞ [auto-sync from adamlui/chatgpt-apps]
handleRQevent()
Refactored listenerize.replySection() for clarity
listenerize.replySection()
± Replaced function defs w/ obj prop assignments ± Re-ordered routines ↞ [auto-sync from adamlui/chatgpt-apps]
Abstracted listenerize.appDiv() ↞ [auto-sync from adamlui/chatgpt-apps]
listenerize.appDiv()
Abstracted listenerize methods ↞ [auto-sync from adamlui/chatgpt-apps]
listenerize
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]
Alle scriptversies tonen