Adds ChatGPT answers to Google Search sidebar (powered by GPT-4o!)
These are versions of this script where the code was updated. Show all versions.
Added hyphens to script name regex in config.updateURL
config.updateURL
Further reduced potential for backtracking in config.updateURL regex
Improved regex
± Eliminated potential for exponential/polynomial backracking in msgHref.replace regex by increasing specificity in capturing groups
msgHref.replace
Eliminated potential for polynomial backtracking in regex
... by increasing specificity of capturing group
Removed title attr's from Sticky/Wider Sidebar buttons
... to disable browser-native tooltips
Integrated Web Audio API + GM.xmlHttpRequest() in TTS routine
GM.xmlHttpRequest()
... to bypass potential future CSP restrictions
Added string conversion to replyDialect.rate to support Sogou API update
replyDialect.rate
Bumped chatgpt.js to 2.6.6
Bumped chatgpt.js to 2.6.5
Alphabetized args in loadSetting() call for readability
loadSetting()
Removed unicode from description meta
Replaced OpenAI API endpoint (KudoAI/duckduckgpt#44), disabled streaming (KudoAI/duckduckgpt#42)
Added SRI hashes to external resources
Replaced chatgpt.js import URL w/ npm one
Bumped chatgpt.js to 2.6.4
Updated copyright years ↞ [auto-sync from adamlui/chatgpt-apps]
adamlui/chatgpt-apps
Replaced appFooter elem w/ more semantic type
appFooter
Added ISO 639-1 support to Japanese regex in dialectMap
dialectMap
Added casing to replyLanguage init for menu aesthetics
replyLanguage
Added Japanese/Vietnamese support to TTS
Added more European dialects to TTS
Added Arabic/Danish/Polish/Russian support to TTS
Added ISO 639-2 support to dialectMap.entry.regex
dialectMap.entry.regex
Improved dialectMap.entry.regex's
Updated logo img src URLs
Refined related queries prompt
Added German/Spanish/French support to TTS (KudoAI/googlegpt#9)
Added config.appURL, updated gitHubURL casing
config.appURL
gitHubURL
± Re-ordered config key inits for readability
Generalized function/var names
... for improved synergy w/ codebase of other KudoAI GPT scripts
Added target browser check to updateFooterContent()
updateFooterContent()
Removed final .innerHTML reliance + whitespace
.innerHTML
Shortened googleGPTalert()
googleGPTalert()
Refactored googleGPTalert() + googleGPTinfo()
googleGPTinfo()
± Removed potentially unsafe reliance on .innerHTML ± Re-ordered commands
Bumped chatgpt.js to 2.6.3
Added googleGPTimg.loaded to dictate position
googleGPTimg.loaded
Added error-catching to getAIGCFkey()
getAIGCFkey()
Made 2nd logo pos assignment not replace triggered alt pos
Re-organized logo alt styles for readability
Updated beta logo src's
Added logo alt/styles
Increased border radius on standby button hover
Replaced standby button hover glow w/ color/zoom fx
Increased mobile header content sizes
Refined related queries prompt, renamed const to rqPrompt
rqPrompt
notify()
Added // @compatible whale
// @compatible whale
Moved Send button tooltip leftward
Improved updateTooltip(buttonType)
updateTooltip(buttonType)
± Made Send button tooltip x-pos dynamic to accommodate msg localization ± Renamed xOffset back to iniRoffset for accuracy ± Defined [cornerBtnTypes] to shorten iniRoffset init
xOffset
iniRoffset
[cornerBtnTypes]
Shortened createAnchor()
createAnchor()
Updated logo link
Tweaked Send button position
Show all script versions