GoogleGPT 🤖

Adds ChatGPT answers to Google Search sidebar

These are versions of this script where the code was updated. Show all versions.

  • v2024.5.11 2024-05-11

    Bumped chatgpt.js to 2.7.1

  • v2024.5.10 2024-05-11

    Inserted latest locale commit hash to config.assetHostURL to preserve potentially deleted msg keys

  • v2024.5.9 2024-05-09

    Bumped chatpgt.js to 2.7.0 + generate-ip to 2.4.1

  • v2024.5.8 2024-05-08

    Updated chat.openai.com URLs to chatgpt.com ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.5.7 2024-05-07

    Bumped chatgpt.js to 2.6.10

  • v2024.5.5.4 2024-05-05

    Added 'Send reply' tooltip removal on click-sends ↞ [auto-sync from adamlui/userscripts]

  • v2024.5.5.3 2024-05-05

    Renamed rqEventHandler() to more parallel handleRQevent() ↞ [auto-sync from adamlui/userscripts]

  • v2024.5.5.2 2024-05-05

    Reverted erroneous find/replace edit ↞ [auto-sync from adamlui/userscripts]

  • v2024.5.5 2024-05-05

    Excluded related query submissions from triggering chatbar auto-focus ↞ [auto-sync from adamlui/userscripts]

  • v2024.5.4.1 2024-05-04

    Added auto-focus chatbar on 2nd+ loads ↞ [auto-sync from adamlui/userscripts]

  • v2024.5.4 2024-05-04

    Updated ChatGPT session endpoint URL ↞ [auto-sync from adamlui/userscripts]

  • v2024.5.2 2024-05-02

    Replaced raw.githubusercontent.com URLs w/ cdn.jsdelivr.net ones

  • v2024.5.1.1 2024-05-01

    Updated raw.githubusercontent.com config.assetHostURL to cdn.jsdelivr.net one

  • v2024.5.1 2024-05-01

    Bumped chatgpt.js to 2.6.9 + generate-ip to 2.2.12

  • v2024.4.29 2024-04-29

    Replaced config.assetHostURL w/ media.googlegpt.io in appLogoImg.src

  • v2024.4.28.4 2024-04-28

    Loosened comparison operators for smaller filesize

  • v2024.4.28.2 2024-04-28

    Replaced using alt as fallback for header logo src w/ appLogoImg.onerror

    ... to hide ugly broken image icon in Chromium browsers

  • v2024.4.28.1 2024-04-28

    Shortened .kudo-ai class name to .kudoai ↞ [auto-sync from adamlui/userscripts]

  • v2024.4.28 2024-04-28

    Eliminated isChromium for simplicity

  • v2024.4.27.1 2024-04-28

    Removed whitespace for readability

  • v2024.4.27 2024-04-28

    Refactored msg fetcher for readability + if en/messages.json ever goes missing

    • Shortened const messages to msgs
  • v2024.4.26.1 2024-04-26

    Abstracted updateAppLogoSrc() + updateAppStyle() to align w/ BraveGPT + DDGPT codebases

    ... and in case Google Search ever auto-updates UI on scheme changes in future

  • v2024.4.26 2024-04-26

    Updated isDarkMode() to rely on new DOM status elem

  • v2024.4.18 2024-04-18

    Updated isDarkMode() to work w/ new UI, bumped generate-ip to 2.2.7

  • v2024.4.12 2024-04-12

    Bumped generate-ip to 2.2.4

  • v2024.4.10 2024-04-10

    Bumped generate-ip to 2.2.3

  • v2024.4.7 2024-04-07

    Bumped generate-ip to 2.2.1

  • v2024.4.4 2024-04-05

    Bumped chatgpt.js to 2.6.8

  • v2024.3.29 2024-03-29

    Added generate-ip as runtime dependency

  • v2024.3.25 2024-03-26

    Bumped KaTeX to 0.16.10

  • v2024.3.5.4 2024-03-06

    Bumped chagpt.js to 2.6.7

  • v2024.3.5.3 2024-03-05

    Added hyphens to script name regex in config.updateURL

  • v2024.3.5.2 2024-03-05

    Further reduced potential for backtracking in config.updateURL regex

  • v2024.3.5.1 2024-03-05

    Improved regex

    ± Eliminated potential for exponential/polynomial backracking in msgHref.replace regex by increasing specificity in capturing groups

    • Removed unnecessary escape char from config.updateURL regex
  • v2024.3.5 2024-03-05

    Eliminated potential for polynomial backtracking in regex

    ... by increasing specificity of capturing group

  • v2024.3.3 2024-03-03

    Removed title attr's from Sticky/Wider Sidebar buttons

    ... to disable browser-native tooltips

  • v2024.3.1.2 2024-03-02

    Integrated Web Audio API + GM.xmlHttpRequest() in TTS routine

    ... to bypass potential future CSP restrictions

  • v2024.3.1.1 2024-03-02

    Added string conversion to replyDialect.rate to support Sogou API update

  • v2024.3.1 2024-03-01

    Bumped chatgpt.js to 2.6.6

  • v2024.2.23 2024-02-23

    Bumped chatgpt.js to 2.6.5

  • v2024.2.21.1 2024-02-21

    Alphabetized args in loadSetting() call for readability

  • v2024.2.21 2024-02-21

    Removed unicode from description meta

  • v2024.2.17.1 2024-02-18

    Replaced OpenAI API endpoint (KudoAI/duckduckgpt#44), disabled streaming (KudoAI/duckduckgpt#42)

  • v2024.2.17 2024-02-17

    Added SRI hashes to external resources

  • v2024.1.28.1 2024-01-28

    Replaced chatgpt.js import URL w/ npm one

  • v2024.1.28 2024-01-28

    Bumped chatgpt.js to 2.6.4

  • v2024.1.8.7 2024-01-09

    Updated copyright years ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.1.8.7 2024-01-08

    Replaced appFooter elem w/ more semantic type

    • Removed class assignment
  • v2024.1.8.6 2024-01-08

    Added ISO 639-1 support to Japanese regex in dialectMap

  • v2024.1.8.5 2024-01-08

    Added casing to replyLanguage init for menu aesthetics

Show all script versions