BraveGPT 🤖

מוסיף תשובות AI ל-Brave Search (מופעל על ידי GPT-4o!)

יש גרסאות של סקריפט זה עם קוד מעודכן. הצג את כל הגרסאות

  • v2023.8.24 24-08-2023

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

  • v2023.8.21 21-08-2023

    Added base to parseInt()'s ↞ [auto-sync from kudoai/bravegpt]

  • v2023.8.19 19-08-2023

    Removed protocol from // @match ↞ [auto-sync from kudoai/bravegpt]

  • v2023.8.14.1 14-08-2023

    Replaced source code emoji in about dialog ↞ [auto-sync from kudoai/bravegpt]

  • v2023.8.14 14-08-2023

    Combined const inits, renamed messages to convo ↞ [auto-sync from kudoai/bravegpt]

  • v2023.8.13 13-08-2023

    Removed unnecessary escape character ↞ [auto-sync from kudoai/bravegpt]

  • v2023.8.12 12-08-2023

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

  • v2023.8.9 09-08-2023

    Removed update auto-alert, changed config.updateURL

    ± Replaced messages.link_viewChanges w/ string ↞ [auto-sync from kudoai/bravegpt]

  • v2023.8.4 04-08-2023

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

  • v2023.7.31 31-07-2023

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

  • v2023.7.29.6 29-07-2023

    Updated config.greasyForkURL ↞ [auto-sync from kudoai/bravegpt]

  • v2023.7.29.5 29-07-2023

    Renamed config.ghRepoURL, added config.greasyForkURL ↞ [auto-sync from kudoai/bravegpt]

  • v2023.7.29.4 29-07-2023

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

  • v2023.7.29.3 29-07-2023

    Optimized Dismiss button selector in Review modal ↞ [auto-sync from kudoai/bravegpt]

  • v2023.7.29.2 29-07-2023

    Removed locale from Greeasy Fork review URL ↞ [auto-sync from kudoai/bravegpt]

  • v2023.7.29.1 29-07-2023

    Prepended const to reviewAlertID init ↞ [auto-sync from kudoai/bravegpt]

  • v2023.7.29 29-07-2023

    Added About modal, moved update check into it...

    ± Renamed checkForUpdates() to updateCheck() to not conflict w/ named function for modal button

    • Added chatgpt.alert() styles ↞ [auto-sync from kudoai/bravegpt]
  • v2023.7.28.1 29-07-2023

    Changed author/namespace metas ↞ [auto-sync from kudoai/bravegpt]

  • v2023.7.28 29-07-2023

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

  • v2023.7.26 26-07-2023

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

  • v2023.7.21.2 22-07-2023

    Changed suggestProxyMode to suggestProxy ↞ [auto-sync from kudoai/bravegpt]

  • v2023.7.21.1 21-07-2023

    Moved OpenAI endpoints into obj, renamed proxyEndpointMap to proxyEndpoints ↞ [auto-sync from kudoai/bravegpt]

  • v2023.7.21 21-07-2023

    Major re-factor & optimizations

    ± Re-sorted function defs ± Added/removed line breaks for readability ± Replaced var's w/ const & let

    • Renamed stateIndicator to state
    • Renamed menuSymbol to symbol
    • Renamed menuWord to word ± Moved stateSeparator into state ± Converted callbacks to arrow functions
    • Added rel="noopener" to all a's ± Replaced for loop w/ for-of one ± Bumped chatgpt.js to 2.0.1 ± Replaced Math.random() w/ more secure chatgpt.randomFloat() ± Replaced getShowReply(question) w/ getShowReply(messages) ± Replaced if/else in loadBraveGPT.messages.push w/ ternary ± Added proxy suggestions to braveGPTalerts ± Reversed exit-check & moved up ↞ [auto-sync from kudoai/bravegpt]
  • v2023.7.17 17-07-2023

    Changed menu refreshes from for to for-of loops ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2023.7.15.1 15-07-2023

    Replaced string matching of regex w/ faster method ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2023.7.15 15-07-2023

    Added noopener rel to prevent backdoor attacks ↞ [auto-sync from kudoai/bravegpt]

  • v2023.7.14.1 14-07-2023

    Added chatgpt.getUserLanguage() ↞ [auto-sync from kudoai/bravegpt]

  • v2023.7.14 14-07-2023

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

  • v2023.7.11 11-07-2023

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

  • v2023.7.9 10-07-2023

    Shortened settings functions ↞ [auto-sync from kudoai/bravegpt]

  • v2023.7.4.1 04-07-2023

    Narrowed scope of proxy error detection to abrupt finishes ↞ [auto-sync from kudoai/bravegpt]

  • v2023.7.4 04-07-2023

    Removed unreliable proxy, added key auto-regen, refactored code

    • Removed unreliable Pawan proxy ± Added auto-regeneration of AIGCF key (due to low rate limit) ± Bumped chatgpt.js to 1.11.0
    • Replaced generateRandomIP() w/ chatgpt.generateRandomIP() ↞ [auto-sync from kudoai/bravegpt]
  • v2023.7.2.2 03-07-2023

    Extended proxy API retries to length of endpoints...

    ± Replaced ddgpt.error() w/ braveGPTconsole.error() ↞ [auto-sync from kudoai/bravegpt]

  • v2023.7.2.1 03-07-2023

    Added proxy API, refactored code

    • Added AIGCF proxy ± Changed IIFE into async arrow syntax ± Renamed getAccessToken() to getOpenAItoken() ± Converted callback in in Promise constructor to arrow function ± Renamed accessToken GM key to openAItoken ± Moved endpoint inits to main routine ↞ [auto-sync from kudoai/bravegpt]
  • v2023.7.2 02-07-2023

    Bumped chatgpt.js to 1.10.6, replaced uuidv4() w/ chatgpt.uuidv4() ↞ [auto-sync from kudoai/bravegpt]

  • v2023.6.30 30-06-2023

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

  • v2023.6.29.1 29-06-2023

    Replaced Math.random() in uuidv4() w/ secure crypto method ↞ [auto-sync from kudoai/bravegpt]

  • v2023.6.29 29-06-2023

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

  • v2023.6.27.2 28-06-2023

    Removed leftover else

  • v2023.6.27 28-06-2023

    Added retries & alert to switch modes to more cases, refactored code

    +- Moved ddgptAlerts down

    • Removed/moved braces
    • Added default alert to switch modes on event.status !== 200
    • Replaced braveGPTalert('parseFailed') from caught errors on event.response w/ retry or alert to switch modes
    • Added suggestion to switch mode to braveGPTalerts.parseFailed + braveGPTalerts.tooManyRequests ↞ [auto-sync from kudoai/bravegpt]
  • v2023.6.26 26-06-2023

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

  • v2023.6.24.6 24-06-2023

    Changed update check frequency to weekly ↞ [auto-sync from kudoai/bravegpt]

  • v2023.6.24.5 24-06-2023

    Updated Khmer description meta ↞ [auto-sync from kudoai/bravegpt]

  • v2023.6.24.4 24-06-2023

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

  • v2023.6.24.1 24-06-2023

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

  • v2023.6.24 24-06-2023

    Bumped chatgpt.js, updated meta, improved code

    ± Added/update name/description meta ± Bumped chatgpt.js to 1.10.2 ± Replaced config.ghHostDir w/ config.assetHostURL

    • Added config.ghRepoURL ± Replaced window.open() in Update button function w/ GM_openInTab() for onClose callback ↞ [auto-sync from kudoai/bravegpt]
  • v2023.6.22.2 23-06-2023

    Updated update checker

    ± Corrected config.updateURL value

    • Replaced updateURL w/ config.updateURL ± Condensed code ↞ [auto-sync from kudoai/bravegpt]
  • v2023.6.22.1 23-06-2023

    Moved configPrefix + appSymbol into config obj...

    ± Re-ordered meta ± Condensed code ↞ [auto-sync from kudoai/bravegpt]

  • v2023.6.22 23-06-2023

    Improved update checker

    ± Replaced fetch() w/ GM.xmlHttpRequest() ± Replaced var's with const's ± Shortened by eliminating var data ± Added early break out of comparison loop if up-to-date ↞ [auto-sync from kudoai/bravegpt]

  • v2023.6.19 19-06-2023

    Added auto-reload on auto-update

Show all script versions