Adds ChatGPT answers to Google Search sidebar (powered by GPT-4o!)
These are all versions of this script. Show only the versions where the code changed.
Reverted localizing msgs only for non-English sys lang
... to support dynamic ref in toggleSidebar() ↞ [auto-sync from adamlui/chatgpt-apps]
toggleSidebar()
adamlui/chatgpt-apps
Moved balloon tip pos from appStyle to appShow()
appStyle
appShow()
... to accomodate Chromium delay ↞ [auto-sync from adamlui/chatgpt-apps]
Renamed getGPTplusKey() to generateGPTplusKey() ↞ [auto-sync from adamlui/chatgpt-apps]
getGPTplusKey()
generateGPTplusKey()
Updated GPT search app descriptions ↞ [auto-sync from adamlui/chatgpt-apps]
Bumped GPT in api.gptforlove.com payload to 4o ↞ [auto-sync from adamlui/chatgpt-apps]
Shortened var names ↞ [auto-sync from adamlui/chatgpt-apps]
Added api.binjie.fun endpoint/routines ↞ [auto-sync from adamlui/chatgpt-apps]
Replaced AIGCF proxy endpoint w/ GPTforLove ↞ [auto-sync from adamlui/chatgpt-apps]
Bumped chatgpt.js to 2.9.3 ↞ [auto-sync from adamlui/chatgpt-apps]
Limited localized msg load to non-English sys langs ↞ [auto-sync from adamlui/chatgpt-apps]
Partially uppercased top-level comments for readability ↞ [auto-sync from adamlui/chatgpt-apps]
Moved config.userLanguage init out of config init to support VM ↞ [auto-sync from adamlui/chatgpt-apps]
config.userLanguage
config
Appended commit hashes to icon meta URLs to preserve assets
Bumped chatgpt.js to 2.9.2
Updated latest asset commit hash in config.assetHostURL
config.assetHostURL
Updated // @support URL
// @support URL
Bumped chatgpt.js to 2.8.0
Bumped chatgpt.js to 2.7.1
Inserted latest locale commit hash to config.assetHostURL to preserve potentially deleted msg keys
Bumped chatpgt.js to 2.7.0 + generate-ip to 2.4.1
Updated chat.openai.com URLs to chatgpt.com ↞ [auto-sync from adamlui/chatgpt-apps]
Bumped chatgpt.js to 2.6.10
Added 'Send reply' tooltip removal on click-sends ↞ [auto-sync from adamlui/userscripts]
adamlui/userscripts
Renamed rqEventHandler() to more parallel handleRQevent() ↞ [auto-sync from adamlui/userscripts]
rqEventHandler()
handleRQevent()
Reverted erroneous find/replace edit ↞ [auto-sync from adamlui/userscripts]
Excluded related query submissions from triggering chatbar auto-focus ↞ [auto-sync from adamlui/userscripts]
Added auto-focus chatbar on 2nd+ loads ↞ [auto-sync from adamlui/userscripts]
Updated ChatGPT session endpoint URL ↞ [auto-sync from adamlui/userscripts]
Replaced raw.githubusercontent.com URLs w/ cdn.jsdelivr.net ones
Updated raw.githubusercontent.com config.assetHostURL to cdn.jsdelivr.net one
Bumped chatgpt.js to 2.6.9 + generate-ip to 2.2.12
Replaced config.assetHostURL w/ media.googlegpt.io in appLogoImg.src
media.googlegpt.io
appLogoImg.src
Loosened comparison operators for smaller filesize
Replaced using alt as fallback for header logo src w/ appLogoImg.onerror
appLogoImg.onerror
... to hide ugly broken image icon in Chromium browsers
Shortened .kudo-ai class name to .kudoai ↞ [auto-sync from adamlui/userscripts]
.kudo-ai
.kudoai
Eliminated isChromium for simplicity
isChromium
Removed whitespace for readability
Refactored msg fetcher for readability + if en/messages.json ever goes missing
const messages
msgs
Abstracted updateAppLogoSrc() + updateAppStyle() to align w/ BraveGPT + DDGPT codebases
updateAppLogoSrc()
updateAppStyle()
... and in case Google Search ever auto-updates UI on scheme changes in future
Updated isDarkMode() to rely on new DOM status elem
isDarkMode()
Updated isDarkMode() to work w/ new UI, bumped generate-ip to 2.2.7
Bumped generate-ip to 2.2.4
Bumped generate-ip to 2.2.3
Bumped generate-ip to 2.2.1
Bumped chatgpt.js to 2.6.8
Show all script versions