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.

  • v2023.11.12.2 2023-11-12

    Replaced Fatter Sidebar w/ Wider Sidebar

    ...in config key names + menu labels + notifications + var names

    • Removed whitespace ↞ [auto-sync from kudoai/bravegpt]
  • v2023.11.12.1 2023-11-12

    Replaced .match() w/ faster method ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.12 2023-11-12

    Updated download/update URLs ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.11.6 2023-11-11

    Added/removed whitespace for readability ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.11.5 2023-11-11

    Widened/defined updateAlertWidth, applied to no update found ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.11.4 2023-11-11

    Adjusted 'View changes' size/pos in About modal ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.11.3 2023-11-11

    Moved source code link in About modal leftward ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.11.2 2023-11-11

    Added English fallbacks to localized messages ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.11.1 2023-11-11

    Bumped chatgpt.js to 2.4.0 ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.11 2023-11-11

    Changed related queries hover cursor color to blue ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.9.4 2023-11-10

    Refactored handleEnter(event)

    • Removed whitespace ± Renamed cursorPos to caretPos ↞ [auto-sync from kudoai/bravegpt]
  • v2023.11.9.3 2023-11-09

    Allowed ctrl+enter to send reply ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.9.2 2023-11-09

    Bumped chatgpt.js to 2.3.18 ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.9.1 2023-11-09

    Updated border-radius/padding to match latest UI ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.9 2023-11-09

    Updated corner button colors/classes/position

    ± Merged .about-btn + .speak-btn into .corner-btn ± Refactored speakSVGpaths routine to rely on CSS for stroke/fill color

    • Added new stroke/fill color styles + on-hover ± Lowered play button ↞ [auto-sync from kudoai/bravegpt]
  • v2023.11.8.10 2023-11-09

    Renamed elem var names in braveGPTshow(answer) for readability

    • Removed braveGPTdiv.querySelector('section') in show loading routine ↞ [auto-sync from kudoai/bravegpt]
  • v2023.11.8.9 2023-11-09

    Updated Chromium speech balloon tip pos ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.8.8 2023-11-09

    Added Fatter Sidebar mode, moved feedback link up, udpated styles

    • Removed replySection.style.marginBottom = '-31px' due to new element order
    • Added bottom-padding to .bravegpt-container {} to accomodate new feedback link pos
    • Added reduction of bottom margin to .bravegpt-container .loading {} to offset prev new padding
    • Removed unused font-size + justify-content prop/vals from .bravegpt-container .footer {} +- Added float to send button + feedback link, adjusted positions to accomodate
    • Added 100% width to .related-queries {} +- Adjust margin-bottom + position in .related-queries {} to accomodate new width + feedback link pos ↞ [auto-sync from kudoai/bravegpt]
  • v2023.11.8.7 2023-11-09

    Bumped chatgpt.js to 2.3.17 ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.8.6 2023-11-08

    Updated braveGPTshow(answer)

    ± Added const fillColor

    • Added about button ± Re-positioned speak button
    • Renamed .speak to .speak-btn
    • Merged lines ↞ [auto-sync from kudoai/bravegpt]
  • v2023.11.8.5 2023-11-08

    Added tooltip to play button ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.8.4 2023-11-08

    Removed whitesepace + unused sendSVG classes

    ± Re-ordered .speak in braveGPTstyle ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.8.3 2023-11-08

    Renamed paths to speakSVGpaths, moved speakSVG listener down ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.8.2 2023-11-08

    Added speak functionality, refactored braveGPTshow(answer)

    ± Eliminated potentially unsafe .innerHTML dependency ± Replaced form + chatbar inits/refs w/ vars from new DOM routine ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.8.1 2023-11-08

    Combined .app-name selectors ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.8 2023-11-08

    Renamed .prefix to .app-name, removed underline from hover ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.7.6 2023-11-08

    Centered speech balloon tip ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.7.5 2023-11-08

    Adjusted related query font size + bubble padding ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.7.4 2023-11-07

    Added send icon to related query hovers ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.7.3 2023-11-07

    Changed light-mode color of chatbar stroke + send btn hover ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.7.2 2023-11-07

    Corrected selector for keydown listener removal ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.7.1 2023-11-07

    Replaced isDarkMode() calls in braveGPTstyle.innerText w/ pre-init'd scheme ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.7 2023-11-07

    Defined launchAboutModal(), added nav back on no update found

    ± Re-ordered script/menu function defs ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.6.2 2023-11-07

    Updated alert widths/padding ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.6.1 2023-11-06

    Updated related queries' styles ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.6 2023-11-06

    Bumped chatgpt.js to 2.3.16 ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.5.10 2023-11-05

    Remove prefix from related queries menu cmd ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.5.9 2023-11-05

    Added keydown listener removal to handleSubmit() ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.5.8 2023-11-05

    Made related queries tabbable ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.5.7 2023-11-05

    Updated version to 2023.11.5.7 ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.5.6 2023-11-05

    Globalized RQ click handler, added RQ removal to handleSubmit ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.5.6 2023-11-05

    Renamed autosizeBox() to autosizeChatbar() ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.5.5 2023-11-05

    Renamed replyBox to chatbar + #bravegpt-reply-box to #bravegpt-chatbar ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.5.4 2023-11-05

    Shortened click handler in getRelatedQueries() call

    • Removed test logging ↞ [auto-sync from kudoai/bravegpt]
  • v2023.11.5.3 2023-11-05

    Re-ordered menu commands ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.5.2 2023-11-05

    Updated Brave dark mode test in isDarkMode() ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.5.1 2023-11-05

    Added optional chaining & ensured boolean return value in isDarkMode() ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.5 2023-11-05

    Added related queries, updated styles, improved autosizer

    ± Applied fixed height to chatbar auto-sizer if 1-liner ± Converted template literals in stylesheet to string concatenations ± Shrank/repositioned feedback icon/link ± Right-padded chatbar vs. send button ± Rounded chatbar more ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.4.5 2023-11-05

    Added border to chatbar ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.4.4 2023-11-05

    Changed KudoAI link in braveGPTshow(answer) to 'www.kudoai.com' ↞ [auto-sync from kudoai/bravegpt]

Show all script versions