Додає відповіді штучного інтелекту в Google Search (на базі Google Gemma + GPT-4o!)
Це версії цього скрипту, де код був змінений. Показати всі версії.
Added English fallbacks to localized messages
Defined/widened updateAlertWidth, applied to no update found
updateAlertWidth
Narrowed reply language confirmation dialog
Bumped chatgpt.js to 2.4.0, added // @name:zh-TW
// @name:zh-TW
... for localized GF readme
Updated Chinese descriptions
Added // @name:zh-CN to support localized GF readme
// @name:zh-CN
Widened chatbar in narrow mode, re-positioned Send button
Updated fatter sidebar style + sidebar-less margin
Refactored handleEnter(event)
handleEnter(event)
cursorPos
caretPos
Adjujsted 'View changes' size/pos in About modal
Removed line break from source code info in About modal
Allowed ctrl+enter to add newlines in replies
Reduced bottom padding of loading statuses
Bumped chatgpt.js to 2.3.18
Versionless change to fix GitHub sync lag
Removed unused const fillColor
const fillColor
Updated corner button colors/classes
± Merged .about-btn + .speak-btn into .corner-btn ± Refactored speakkSVGpaths routine to rely on CSS for stroke/fill color
.about-btn
.speak-btn
.corner-btn
speakkSVGpaths
Refactored googleGPTshow(answer)
googleGPTshow(answer)
± Renamed elem var names for readability ± Replaced googleGPTdiv.querySelector('pre') from renderMathInElement() w/ answerPre
googleGPTdiv.querySelector('pre')
renderMathInElement()
answerPre
googleGPTdiv.querySelector('section')
Localized 'Fatter Sidebar' menu label
Bumped chatgpt.js to 2.3.17
Updated googleGPTshow(answer)
± Added const fillColor
.speak
Added tooltip to play button
Removed unused sendSVG classes
sendSVG
Added speak functionality, refactored code
± Eliminated potentially unsafe .innerHTML dependency in googleGPTshow(answer) ± Replaced form + chatbar inits/refs w/ vars from new DOM routine
.innerHTML
form
chatbar
Renamed .prefix to .app-name, shortened CSS selectors
.prefix
.app-name
Added Fatter Sidebar mode
Adjusted related query bubble padding
Added send icon to related query hovers
Changed light-mode color of chatbar stroke + send btn hover
Widened related queries div
Corrected selector for keydown listener removal
Replaced isDarkMode() calls in googleGPTstyle.innerText w/ scheme
isDarkMode()
googleGPTstyle.innerText
scheme
+- Reduced .loading's bottom padding
.loading
Defined launchAboutModal(), added nav back on no update found
launchAboutModal()
± Re-ordered script/menu function defs
Updated size/position of alerts + buttons
Updated hostContainer selector, bottom-padded .googlegpt-container
hostContainer
.googlegpt-container
Updated related queries' styles
Bumped chatgpt.js to 2.3.16
Removed prefix from related queries menu cmd
Added keydown listener removal to handleSubmit()
handleSubmit()
Made related queries tabbable
Removed {} from unmodded err, added rqClickHandler() comment
{}
err
rqClickHandler()
Added compatibility meta
Added stroke/shadows to related query bubbles
Globalized RQ click handler, added RQ removal to handleSubmit()
± Shrank bottom-margin of related queries parent
Added padding/margin to loading + related queries divs
Renamed autosizeBox to autosizeChatbar
autosizeBox
autosizeChatbar
Renamed replyBox to chatbar + googlegpt-reply-box to googlegpt-chatbar
replyBox
googlegpt-reply-box
googlegpt-chatbar
Updated padding, re-positioned Send button
Applied fixed height to chatbar auto-sizer if 1-liner
Widened update modal
Показати всі версії сценарію