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.6.9.9 2024-06-10

    Refined math query augment ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.9.8 2024-06-10

    Increased no proxy response timeout before tryDiffAPI() +2s if not streaming

    ... since text processing of finished stream response takes longer ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.9.7 2024-06-10

    Added spacing if multi-msgs passed to appAlert() ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.9.6 2024-06-10

    Overhauled appShow() to only build elems if missing for improved efficiency in Streaming Mode ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.9.5 2024-06-10

    Removed no-longer needed // eslint-disable-line no-undefs ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.9.4 2024-06-10

    Fixed math to always render ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.9.3 2024-06-10

    Abstracted augmentQuery(), augmented related queries ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.9.2 2024-06-09

    Lowered About button ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.9.1 2024-06-09

    Reduced gap preceding 'View changes' link in Update Available alert ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.9 2024-06-09

    Title-cased foundState entries in appAlert() to correct switchPhrase init + shorten routine ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.8.5 2024-06-08

    Renamed alert() to siteAlert() to avoid potential namespace conflicts ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.8.4 2024-06-08

    Added proxy toggle suggestion to 429 errs ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.8.3 2024-06-08

    Condensed hyperlink routine in appAlert() + refined fallback in foundState detection ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.8.2 2024-06-08

    Replaced all appendChild() w/ shorter append() ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.8.1 2024-06-08

    Disabled chatbar auto-focus in standby mode ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.8 2024-06-08

    Added ease transition to corner button hover, removed unnecessary !important in CSS, re-ordered style props for readability ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.6.5 2024-06-06

    Replaced 'alert' w/ 'modal' in modal ID var names ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.6.4 2024-06-06

    Updated modal styles ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.6.3 2024-06-06

    Shortened 'button' in class/var names to 'btn' ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.6.2 2024-06-06

    Added // @noframes for compatibility w/ frame-injecting scripts ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.6.1 2024-06-06

    Added scheme selection modal + darkmode modal button hover styles ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.6 2024-06-06

    Abstracted refreshMenu() ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.5.6 2024-06-05

    Added Chinese ?as eligible suffix for Suffix Mode ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.5.5 2024-06-05

    Disabled Auto-Scroll menu item + auto-focus chatbar on mobile to avoid auto-popup OSD keyboard ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.5.4 2024-06-05

    Lowered Wider Sidebar button ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.5.3 2024-06-05

    Tightened timing of getShowReply.received in processStream() ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.5.2 2024-06-05

    Added 3s timeout to proxy API requests before retryDiffAPI() ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.5.1 2024-06-05

    Added code highlighting ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.5 2024-06-05

    Corrected condition for detecting if user replied for chatbar auto-focus ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.4.11 2024-06-05

    Removed markdown prompt from GPTforLove's payload.systemMessage for nicer formatted output ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.4.10 2024-06-05

    Added Streaming Mode menu toggle visibility to unsupported users w/ info alert on click ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.4.9 2024-06-05

    Corrected spacebar key name for FF pre-v37 ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.4.8 2024-06-05

    Added fallback event.keys + event.keyCodes to widen compatibility ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.4.7 2024-06-05

    Bumped hash in config.assetHostURL to latest asset commit ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.4.6 2024-06-05

    Bumped hash in config.assetHostURL to latest asset commit ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.4.5 2024-06-04

    Added Auto-Scroll mode, fixed auto-focus chatbar only if app above fold or user replied to non-stream ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.4.4 2024-06-04

    Updated key/func names to align w/ pertinent API name ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2024.6.4.3 2024-06-04 Imported from URL
  • v2024.6.4.2 2024-06-04

    Corrected arg name ↞ [auto-sync from adamlui/chatgpt-apps/bravegpt]

  • v2024.6.4.1 2024-06-04

    Added missing ) in condition ↞ [auto-sync from adamlui/chatgpt-apps/bravegpt]

  • v2024.6.3.12 2024-06-03

    Corrected switch phrase refs in appAlert() hyperlink routine ↞ [auto-sync from adamlui/chatgpt-apps/bravegpt]

  • v2024.6.3.11 2024-06-03

    Reverted condensing of int'l msg load request since recursively called

  • v2024.6.3.10 2024-06-03

    Condensed int'l msg load request ↞ [auto-sync from adamlui/chatgpt-apps/bravegpt]

  • v2024.6.3.9 2024-06-03

    Replaced all Math.random() w/ more random chatgpt.randomFloat() ↞ [auto-sync from adamlui/chatgpt-apps/bravegpt]

  • v2024.6.3.8 2024-06-03

    Revised appAlert() to hyperlink Proxy Mode switching in login msgs ↞ [auto-sync from adamlui/chatgpt-apps/bravegpt]

  • v2024.6.3.7 2024-06-03

    Internationalized state.word + reversed order of state.symbol + state.word entries + ref logic for more intuitive usage

  • v2024.6.3.4 2024-06-03

    Added state_<on|off> ↞ [auto-sync from adamlui/chatgpt-apps/bravegpt]

  • v2024.6.3.3 2024-06-03

    Hid Streaming Mode menu toggle from Tampermonkey OpenAI Mode users ↞ [auto-sync from adamlui/chatgpt-apps/bravegpt]

  • v2024.6.3.2 2024-06-03

    Replaced '>>' w/ '»' in console logs ↞ [auto-sync from adamlui/chatgpt-apps/bravegpt]

  • v2024.6.3 2024-06-03

    Added Streaming Mode for Tampermonkey Proxy Mode users

    ± Revised consoleErr() to allow 2nd arg for congruency w/ console.error() ± Merged proxyRetryOrAlert() w/retryDiffHost()for simplicity ↞ [auto-sync fromadamlui/chatgpt-apps/bravegpt`]

Show all script versions