BraveGPT 🤖

Adds ChatGPT answers to Brave Search sidebar (powered by GPT-4o!)

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

  • v2024.4.28.3 2024-04-28

    Loosened comparison operators for smaller filesize ↞ [auto-sync from KudoAI/bravegpt]

  • 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 ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.4.28.1 2024-04-28

    Shortened .kudo-ai class name to .kudoai

  • v2024.4.28 2024-04-28

    Eliminated isChromium for simplicity ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.4.27 2024-04-28

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

    • Shortened const messages to msgs ↞ [auto-sync from KudoAI/bravegpt]
  • v2024.4.26.6 2024-04-26

    Extended overflow fixing to all ancestors to fight recent/future UI changes ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.4.26.5 2024-04-26

    Removed Sticky Sidebar mode for incompatibility w/ new layout ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.4.26.4 2024-04-26

    Separated 1st line of code from updateAppStyle() signature for readability ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.4.26.3 2024-04-26

    Condensed updateAppStyle() for brevity ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.4.26.2 2024-04-26

    Bumped generate-ip to 2.2.10 ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.4.26.1 2024-04-26

    Added logo/style scheme auto-update on Brave Search scheme changes

    ... since Brave Search fails to consistently auto-reload pages on changes ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.4.26 2024-04-26

    Replaced deprecated var(--search-text-06) light-mode .feedback text color w/ #aaa ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.4.12.3 2024-04-12

    Updated logo to match new Brave one ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.4.12.2 2024-04-12

    Shrank logo ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.4.12.1 2024-04-12

    Added border ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.4.12 2024-04-12

    Bumped generate-ip to 2.2.4 ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.4.10 2024-04-10

    Bumped generate-ip to 2.2.3 ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.4.7 2024-04-07

    Bumped generate-ip to 2.2.1 ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.4.4 2024-04-05

    Bumped chatgpt.js to 2.6.8 ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.3.29 2024-03-29

    Added 'ipv4' to globals ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.3.25.1 2024-03-26

    Updated KaTeX SRI hash ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.3.25 2024-03-26

    Bumped KaTeX to 0.16.10 ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.3.5.4 2024-03-10

    Replaced '(c)' w/ '©' ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.3.5.4 2024-03-06

    Bumped chatgpt.js to 2.6.7 ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.3.5.3 2024-03-05

    Added hyphens to script name regex in config.updateURL ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.3.5.2 2024-03-05

    Further reduced potential for backtracking in config.updateURL regex ↞ [auto-sync from KudoAI/bravegpt]

  • 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 ↞ [auto-sync from KudoAI/bravegpt]
  • v2024.3.5 2024-03-05

    Increased specificity in regex group to eliminate potential for polynomial backtracking ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.3.3 2024-03-03

    Removed title attr's from Sticky/Wider Sidebar button spans

    ... to disable browser-native tooltips

    • Added line breaks to updateSSBsvg() def for readability ↞ [auto-sync from KudoAI/bravegpt]
  • v2024.3.1.1 2024-03-02

    Updated text-to-speech routine

    • Added string conversion to replyDialect.rate to support Sogou API update ± Integrated Web Audio API + GM.xmlHttpRequest() to bypass new Brave CSP restrictions ↞ [auto-sync from KudoAI/bravegpt]
  • v2024.3.1 2024-03-01

    Bumped chatgpt.js to 2.6.6 ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.2.23 2024-02-23

    Bumped chatgpt.js to 2.6.5 ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.2.21 2024-02-21

    Alphabetized args in loadSetting() call for readability ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.2.19 2024-02-20

    Fixed Sticky Sidebar mode stopped working

    • Removed unicode from meta ↞ [auto-sync from KudoAI/bravegpt]
  • v2024.2.17.1 2024-02-18

    Replaced OpenAI API endpoint (KudoAI/duckduckgpt#44), disabled streaming (KudoAI/duckduckgpt#42) ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.2.17 2024-02-17

    Added SRI hashes to external resources ↞ [auto-sync from KudoAI/bravegpt]

  • v2024.2.5 2024-02-06

    Aligned meta values

  • v2023.1.28.1 2024-01-28

    Replaced chatgpt.js import URL w/ npm one ↞ [auto-sync from KudoAI/bravegpt]

  • v2023.1.28 2024-01-28

    Bumped chatgpt.js to 2.6.4 ↞ [auto-sync from KudoAI/bravegpt]

  • v2023.1.9 2024-01-09

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

  • v2023.1.8.5 2024-01-08

    Replaced appFooter elem w/ more semantic type

    • Removed class assignment ↞ [auto-sync from KudoAI/bravegpt]
  • v2023.1.8.4 2024-01-08

    Added ISO 639-1 support to Japanese regex in dialectMap ↞ [auto-sync from KudoAI/bravegpt]

  • v2023.1.8.3 2024-01-08

    Added casing to replyLanguage init for menu/alert aesthetics ↞ [auto-sync from KudoAI/bravegpt]

  • v2023.1.8.2 2024-01-08

    Added more languages to TTS

    • Added logography to Chinese regex
    • Removed whitespace ↞ [auto-sync from KudoAI/bravegpt]
  • v2023.1.8.1 2024-01-08

    Added Arabic/Danish/Polish/Russian support to TTS

    • Removed end anchor from Chinese regex ↞ [auto-sync from KudoAI/bravegpt]
  • v2023.1.8 2024-01-08

    Improved dialectMap.entry.regex

    • Added ISO 639-2 support ± Shortened ISO 639-1 region code detection ± Moved anchors out for readability ↞ [auto-sync from KudoAI/bravegpt]
  • v2023.12.31 2024-01-01

    Refined related queries prompt ↞ [auto-sync from KudoAI/bravegpt]

  • v2023.12.25 2023-12-26

    Added German/Spanish/French support to TTS (KudoAI/googlegpt#9)

    ± Replaced appLogoImg.alt assignment w/ config.appName ↞ [auto-sync from KudoAI/bravegpt]

  • v2023.12.23.11 2023-12-24

    Updated config.gitHubURL casing ↞ [auto-sync from KudoAI/bravegpt]

  • v2023.12.23.10 2023-12-24

    Added config.appURL, re-ordered config key inits for readability ↞ [auto-sync from KudoAI/bravegpt]

Show all script versions