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.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]

  • v2024.8.17.2 2024-08-17

    Changed err.message unsupported by GM XHR onerror to err ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.17.1 2024-08-17

    Refactored show.reply() to use forEach loop for dynamic button creation ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.17 2024-08-17

    Improved update.tooltip() for easier maintenance

    ± Added chatbarBtnTypes ± Replaced regex in update pos routine w/ cornerBtnTypes check

  • v2024.8.16.10 2024-08-17

    Shortened buttonType to btnType in update.tooltip() ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.16.9 2024-08-17

    Added insufficient balance as Free Chat API fail flag ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.16.8 2024-08-17

    Added Streaming switch state update w/ Proxy toggle + on Settings open ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.16.7 2024-08-16

    Corrected selector in appAlert() ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.16.6 2024-08-16

    Added Copy buttons ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.16.5 2024-08-16

    Added 'invalid_request_error' to Free Chat API fail flags ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.16.4 2024-08-16

    Separated appAlert() arg in dataProcess.text() into 2 for proper handling ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.16.3 2024-08-16

    Alphabetizezd dataProcess methods for improved readability ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.16.2 2024-08-16

    Updated dataProcess.stream() to only use fail flags from active API ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.16.1 2024-08-16

    Tweaked rqPrompt to avoid AIchatOS detection ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.16 2024-08-16

    Refined get methods to time-out call api.tryNew() only if no prev err + untried APIs remain ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.15.1 2024-08-16

    Removed unnecessary braces ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.15 2024-08-16

    Moved rqPrompt init out of return statement in get.related(queries) for readability ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.13 2024-08-13

    Removed erroneous leading in ↞ [auto-sync from ]

  • v2024.8.12.1 2024-08-13

    Shortened Review button label in About modal ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.12 2024-08-12

    Updated Free Chat API endpoint URL ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.9 2024-08-10

    Reversed ternary in rqPrompt for readability ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.8.4 2024-08-08

    Excluded toggles/borders from opacity dim of disabled settings ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.8.3 2024-08-08

    Updated button label msg key names ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.8.2 2024-08-08

    Added error catching to Sogou TTS for buffer errors

    ± Prepended 'sgt' to Sogou var names ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.8.1 2024-08-08

    Shortened rqPrompt when using Free Chat API to avoid long prompt detection ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.8 2024-08-08

    Added font size tooltip to slider thumb ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.7.6 2024-08-08

    Consolidated openAIendpoints into apis.OpenAI.endpoints ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.7.5 2024-08-08

    Added free credit fail flag for Free Chat API ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.7.4 2024-08-08

    Prepended '>> ' to dark scheme replies to emulate terminal since speech balloon tip missing ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.7.3 2024-08-08

    Moved fail flags from dataProcess methods to apis

    ± Replaced AIchatOS key ref w/ caller.api for easier maintenance ± Updated GPTforLove condition to rely on new failFlags from apis ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.7.2 2024-08-07

    Hid GitHub button if Feedback modal summoned from About modal ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.8.7.1 2024-08-07

    Added Render 404 check to dataProcess methods ↞ [auto-sync from adamlui/chatgpt-apps]

Show all script versions