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.21.13 2023-11-22

    Added // @compatible waterfox ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.21.12 2023-11-22

    Darkened related query icons ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.21.11 2023-11-22

    Added related query icons ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.21.10 2023-11-22

    Added // @compatible kiwi ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.21.9 2023-11-21

    Added whitespace to math rendering delimiters

    ... for readability ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.21.8 2023-11-21

    Updated mobile insertion + appearance

    ± Replaced sidebarContainer w/ hostContainer for reliable targeted injection ± Added delay to thwart class auto-override ± Reduced bottom margin for uniformity ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.21.7 2023-11-21

    Replaced isDarkMode() in notify() w/ flag ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.21.6 2023-11-21

    Moved UI flag inits up, added isMobile ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.21.5 2023-11-21

    Moved footer div creation/classification

    ... from MAIN routine to braveGPTshow(answer) for consolidation ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.21.4 2023-11-21

    Globalized wsbSpan + wsbSVG, moved listener attachment

    ... to routine w/ other attachments but added optional chaining ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.21.3 2023-11-21

    Moved WSB listener attachment inside block routine ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.21.2 2023-11-21

    Hid Wider Sidebar menu cmd + button from mobile view ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.21.1 2023-11-21

    Eliminated def of single-called fillBraveGPTfooter()

    • Eliminated unnecessary height init ± Replaced potentially unsafe .innerHTML w/ DOM method to clear ↞ [auto-sync from kudoai/bravegpt]
  • v2023.11.21 2023-11-21

    Updated footer reset routine

    ± Eliminated potentially unsafe reliance on .innerHTML

    • Removed unnecessary height reset ± Moved before show loading routine for organization ↞ [auto-sync from kudoai/bravegpt]
  • v2023.11.20.7 2023-11-21

    Moved style tweaks section down for organization ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.20.6 2023-11-20

    Moved error catching to completion of speakAudio.play() ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.20.5 2023-11-20

    Added web API to audio playback of answers ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.20.4 2023-11-20

    Updated comment for accuracy ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.20.3 2023-11-20

    Replaced conditions in parse routines w/ responseType() values ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.20.2 2023-11-20

    Added api arg to responseType() in getShowReply() ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.20.1 2023-11-20

    Added api/msgs args to createPayload() ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.20 2023-11-20

    Added createHeaders(api) ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.19.3 2023-11-20

    Removed whitespace in braveGPTstyle ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.19.2 2023-11-20

    Added/removed whitespace in braveGPTstyle ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.19.1 2023-11-20

    Increased gaps between corner buttons ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.19 2023-11-19

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

  • v2023.11.17.10 2023-11-18

    Updated hash in chatgpt.js import URL ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.17.9 2023-11-18

    Added missing comma ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.17.8 2023-11-18

    Bumped chatgpt.js to 2.5.0, replaced isChromium()

    ... w/ chatgpt.browser.isChromium() ± Used flag for fewer .includes() calls ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.17.7 2023-11-18

    Removed () around unmodded err in arrow function ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.17.6 2023-11-18

    Shortened error arg name ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.17.5 2023-11-18

    Removed localization from title-check in isBlockedByCloudflare() ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.17.4 2023-11-18

    Tightened/loosened equality comparisons ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.17.3 2023-11-18

    Restored order of function defs before main routine

    ...for conformity w/ other search GPT apps that require it ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.17.2 2023-11-18

    Re-ordered function defs after main routne ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.17.1 2023-11-18

    Removed console feedback functions from obj ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.17 2023-11-17

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

  • v2023.11.15.5 2023-11-16

    Changed light-mode color scheme for related query hovers ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.15.4 2023-11-16

    Added whitespace + leading zeroes to CSS functions

    ...for conformity ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.15.3 2023-11-16

    Replaced .className ='s w/ more performant .classList.add()'s

    ...when amount of classes to add is small ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.15.2 2023-11-16

    Added .no-user-select to braveGPTstyle + .app-name ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.15.1 2023-11-16

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

  • v2023.11.15 2023-11-15

    Removed unset config.notifHidden ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.14.1 2023-11-14

    Lightened dark-mode footer content color ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.14 2023-11-14

    Shortened .bravegpt-container to .bravegpt ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.13.11 2023-11-14

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

  • v2023.11.13.10 2023-11-14

    Eliminated singe-called loadBraveGPT() + whitespace ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.13.9 2023-11-14

    Renamed wsbSVGelems to wsbSVGpaths ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.13.8 2023-11-14

    Removed airplane cursor from related query hover ↞ [auto-sync from kudoai/bravegpt]

  • v2023.11.13.7 2023-11-14

    Replaced send button icon w/ up-arrow ↞ [auto-sync from kudoai/bravegpt]

Show all script versions