BraveGPT 🤖

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

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

  • v2024.8.24.8 2024-08-24

    Added response log to Proxy Mode 200 response failures ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.24.7 2024-08-24

    Added directive to suppress ESLint no-unused-vars warning for readability ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.24.6 2024-08-24

    Expanded auto-type conversion to all args in log.err() ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.24.5 2024-08-24

    Corrected typeof comparison in log.info ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.24.4 2024-08-24

    Added type conversion to log.info() to prevent uncaught exceptions in TM (Tampermonkey/tampermonkey#2158) ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.24.3 2024-08-24

    Added suggested answers to AI questions ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.24.2 2024-08-24

    Removed no-longer used show.related.greenlit flag ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.24.1 2024-08-24

    Simplified recursion routine in show.related(queries) ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.24 2024-08-24

    Condensed get.related() promise chains, eliminated lastQuery init ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.23 2024-08-24

    Fixed related query balloons exceed app div bounds if suggestion too long ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.22.3 2024-08-22

    Improved app div Font Size slider dismiss listener

    • Disabled non-left-click dismissal ± Replaced while loop w/ event.target.closest() for readability ↞ [auto-sync from adamlui/chatgpt-apps]
  • v2024.8.22.2 2024-08-22

    Disabled non-left-click dragging in drag handlers ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.22.1 2024-08-22

    Removed unused sliderTip from rects in fontSizeSlider.toggle() ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.22 2024-08-22

    Removed test log ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.21.13 2024-08-22

    Added tip to Font Size slider to point to button ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.21.12 2024-08-21

    Improved randQAprompt

    • Expanded blacklist instruction to proxy APIs to cover all OpenAI models
    • Blacklisted oceans + the liver ↞ [auto-sync from adamlui/chatgpt-apps]
  • v2024.8.21.11 2024-08-21

    Condensed toggle.tooltip()

    ± Refactored position routine using objs/loop

    • Shortened currentBtnType to btnType ↞ [auto-sync from adamlui/chatgpt-apps]
  • v2024.8.21.10 2024-08-21

    Added space after 🚀 in update alert ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.21.9 2024-08-21

    Removed config.appSymbol from siteAlert(title) ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.21.8 2024-08-21

    Removed no-longer needed invisible .filter() from cornerBtnTypes in update.tooltip() ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.21.7 2024-08-21

    Expanded real-time x-positioning of tooltips to all buutton types ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.21.6 2024-08-21

    Replaced .target.closest() in event handlers w/ more performant .currentTarget ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.21.5 2024-08-21

    Removed no-longer needed tooltip stripping from copy function ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.21.4 2024-08-21

    Limited Copy button tooltips to desktop ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.21.3 2024-08-21

    Replaced Copy button's browser tooltips w/ beautiful custom ones ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.21.2 2024-08-21

    Eliminated handleCopyClick() def from show.copyBtns() for simplicity ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.21.1 2024-08-21

    Added stripping of leading/trailing whitespace to copy function ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.21 2024-08-21

    Eliminated parentElem arg from handleCopyClick() to reduce cognitive overload ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.20.4 2024-08-21

    Merged update.tooltip() into toggle.tooltip() for easier maintenance ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.20.3 2024-08-21

    Moved y-pos calc from update.tooltip() to toggle.tooltip() ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.20.2 2024-08-21

    Renamed reCopyCTA to clearer reCopyTooltip in handleCopyClick() ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.20.1 2024-08-21

    Moved log.prefix before label in log.err() ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.20 2024-08-21

    Added Render service suspended fail flag to Free Chat API props ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.19.3 2024-08-19

    Condensed log.err() ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.19.2 2024-08-19

    Added optional chaining in show.reply() to accommodate empty 1st chunks when streaming ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.19.1 2024-08-19

    Replaced passing of logPrefix in log function calls w/ log.prefix ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.19 2024-08-19

    Moved log functions into obj for improved readability ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.18.11 2024-08-19

    Added stripping of dark scheme '>> ' from replies when clicking Copy button ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.18.10 2024-08-19

    Added failFlagsAndURLs init to dataProcess.stream(), changed .test() target to more precise textToShow ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.18.9 2024-08-19

    Eliminated reliance on deprecated global event ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.18.8 2024-08-19

    Moved reply Copy button up/right, renamed .copy-icon to .copy-btn ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.18.7 2024-08-19

    Fixed copy icon sometimes didn't update to checkmarks ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.18.6 2024-08-18

    Moved styles from show.copyBtns() to appStyles to support live update w/ scheme changes

    ± Refactored update.scheme() to match routine order in other KudoAI scripts for easier maintenance ± Replaced deprecated SVG className w/ classList.add()

    • Removed unneeded braces ↞ [auto-sync from adamlui/chatgpt-apps]
  • v2024.8.18.5 2024-08-18

    Abstracted dataProcess.initFailFlags(api) ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.18.4 2024-08-18

    Renamed str to url in escapedAPIurls for improved readability ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.18.3 2024-08-18

    Fixed Copy buttons didn't show when Streaming disabled ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.18.2 2024-08-18

    Added caller/function log prefix to dataProcess.stream() ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.18.1 2024-08-18

    Re-added erroneously deleted accumulatedChunks assignment to dataProcess.stream() ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.18 2024-08-18

    Improved dataProcess methods

    ± Added endpoint + expected origin URL detection in response for all APIs to try diff API ± Condensed dataProcess.text()

    • Removed unneeded throw ↞ [auto-sync from adamlui/chatgpt-apps]
  • v2024.8.17.3 2024-08-17

    Added type conversion to consoleErr() to prevent uncaught exceptions in TM (Tampermonkey/tampermonkey#2158) ↞ [auto-sync from adamlui/chatgpt-apps]

Show all script versions