Greasy Fork is available in English.

Изчистете ChatGPT История 🕶️

Автоматично изчиства чат историята при посещение на chatgpt.com

Има други версии на този скрипт, където кодът е обновен. Покажи всички версии.

  • v2024.5.24.1 24.05.2024 Imported from URL
  • v2024.5.23.4 24.05.2024 Imported from URL
  • v2024.5.23.3 24.05.2024 Imported from URL
  • v2024.5.23 23.05.2024

    Added timeouts to `await`s of `isLoaded` promises for unhindered program flow

  • v2024.5.20 20.05.2024 Imported from URL
  • v2024.5.17.6 19.05.2024 Imported from URL
  • v2024.5.17.6 17.05.2024 Imported from URL
  • v2024.5.17.1 17.05.2024 Imported from URL
  • v2024.5.16.2 17.05.2024 Imported from URL
  • v2024.5.15.5 16.05.2024 Imported from URL
  • v2024.5.15.4 15.05.2024 Imported from URL
  • v2024.5.15.2 15.05.2024 Imported from URL
  • v2024.5.14 15.05.2024 Imported from URL
  • v2024.5.11 11.05.2024 Imported from URL
  • v2024.5.10 11.05.2024 Imported from URL
  • v2024.5.9 09.05.2024 Imported from URL
  • v2024.5.8.2 08.05.2024 Imported from URL
  • v2024.5.8 08.05.2024 Imported from URL
  • v2024.5.8.1 08.05.2024 Imported from URL
  • v2024.5.8 08.05.2024

    Eliminated toCamelCase() for smaller filesize

  • v2024.5.7.1 08.05.2024

    Restricted global msg fetching to non-English sys lang env for faster load ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.5.7 07.05.2024

    Bumped chatgpt.js to 2.6.10 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.5.3.1 04.05.2024

    Re-added chat.openai.com @match in case OpenAI changes mind again in futur ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.5.3 03.05.2024

    Replaced chat..openai.com in description/match meta w/ new chatgpt.com ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.5.2 02.05.2024

    Updated icon meta URLs to cdn.jsdelivr.net ones ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.5.1.2 01.05.2024

    Generalized config.assetHostURL for easier re-use ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.5.1.1 01.05.2024

    Replaced raw.githubusercontent.com config.assetHostURL w/ cdn.jsdelivr.net one ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.5.1 01.05.2024

    Bumped chatgpt.js to 2.6.9 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.4.30 01.05.2024

    Removed outdated chatgpt.history.is(On|Off)() conditions/logic ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.4.27 27.04.2024

    Refactored msg fetcher for readability + if en/messages.json ever goes missing

    • Shortened const messages to msgs ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
  • v2024.4.4 05.04.2024

    Bumped chatgpt.js to 2.6.8 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.3.5.4 06.03.2024

    Bumped chatgpt.js to 2.6.7 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.3.5.3 05.03.2024

    Added hyphens to script name regex in config.updateURL ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.3.5.2 05.03.2024

    Further reduced potential for backtracking in config.updateURL regex ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.3.5.1 05.03.2024

    Improved regex

    ± Eliminated potential for exponential/polynomial backracking in msgHref.replace regex by increasing specificity in capturing groups

    • Removed unnecessary escape char from config.updateURL regex ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
  • v2024.3.5 05.03.2024

    Increased specificity in regex group to eliminate potential for polynomial backtracking ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.3.1 01.03.2024

    Bumped chatgpt.js to 2.6.6 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.2.26 26.02.2024

    Added truncation to toggle label (adamlui/chatgpt-apps#30) ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.2.23 23.02.2024

    Bumped chatgpt.js to 2.6.5 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.2.17 17.02.2024

    Added SRI hash to chatgpt.js ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.2.8.6 12.02.2024

    Added content comparison to doc sync to support sync_src ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.1.28.1 12.02.2024

    Update auto-sync.yml ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.2.8.6 09.02.2024

    Shrank toggle glow radius ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.2.8.5 09.02.2024

    Added hiding of sidebar gradient div in private mode ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.2.8.4 08.02.2024

    Added comment to navicon icon assignment ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.2.8.3 08.02.2024

    Moved navicon.src assignment from updateToggleHTML() to insertToggle()

    ... to accomodate live scheme changes ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.2.8.2 08.02.2024

    Added background to toggle parent to hide chat log ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.2.8.1 08.02.2024

    Added light mode navicon ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.2.8 08.02.2024

    Converted unnecessary template literal to string literal ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.1.28.1 28.01.2024

    Replaced chatgpt.js import URL w/ npm one ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.1.28 28.01.2024

    Bumped chatgpt.js to 2.6.4 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2024.1.9 09.01.2024

    Updated copyright years ↞ [auto-sync from adamlui/chatgpt-apps]

  • v2023.12.23 23.12.2023

    Bumped chatgpt.js to 2.6.3 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.12.10 10.12.2023

    Replaced all .appendChild()'s w/ .append()'s to shorten codebase ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.12.8 09.12.2023

    Merged re_firstLinkText + re_firstButton, moved init up

    • Shortened updateButtons to updateBtns
    • Removed test logging ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
  • v2023.12.7 08.12.2023

    Updated sidebar btn selector for free users

    ± Bumped chatgpt.js to 2.6.2 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.12.3.2 04.12.2023

    Bumped chatgpt.js to 2.6.1 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.12.3.1 03.12.2023

    Re-added await chatgpt.isLoaded() for style-check ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.12.3 03.12.2023

    Made FF scrollbar skinny to not crop toggle

    ± Renamed chatgptAlertStyle to tweaksStyle ± Renamed alertStyleUpdated to tweaksStyleUpdated ± Renamed #chatgpt-alert-override-style to #tweaks-style

    • Removed unneeded await chatgpt.isLoaded() ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
  • v2023.11.28 28.11.2023

    Bumped chatgpt.js to 2.6.0, removed isGizmoUI ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.26 26.11.2023

    Bumped chatgpt.js to 2.5.2 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.25.3 25.11.2023

    Renamed camelCase(input) to toCamelCase(str) ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.25.2 25.11.2023

    Updated config key prefix var name in (load|save)Setting() ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.25.1 25.11.2023

    Added hyphen-stripping to camelCase(input) ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.25 25.11.2023

    Added config.appName + camelCase(input) ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.19.1 20.11.2023

    Renamed notifHidden to notifDisabled ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.19 19.11.2023

    Bumped chatgpt.js to 2.5.1 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.18 18.11.2023

    Re-positioned mobile toggle switch ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.17.6 18.11.2023

    Added condition before removing forced cloaking on toggle ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.17.5 18.11.2023

    Added optional chaining to 1st toggle icon selection for class assignment ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.17.4 18.11.2023

    Updated // @version ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.17.3 18.11.2023

    Updated hash in chatgpt.js import URL ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.17.3 18.11.2023

    Bumped chatgpt.js to 2.5.0, replaced isMobileDevice()

    ... w/ chatgpt.browser.isMobile() ± Updated mobile toggle switch position ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.17.2 18.11.2023

    Shortened error args ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.17.1 18.11.2023

    Tightened/loosened equality comparisons ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.16.2 16.11.2023

    Moved toggle styling inline, renamed elem var names ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.16.1 16.11.2023

    Updated switch style datestamp, corrected isGizmoUI casing ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.16 16.11.2023

    Positioned mobile toggle, inserted space in toggle label ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.15.2 16.11.2023

    Localized toggle label text ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.15.1 16.11.2023

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

    ...when number of classes to add is low ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.15 16.11.2023

    Bumped chatgpt.js to 2.4.2 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.13.1 14.11.2023

    Bumped chatgpt.js to 2.4.1 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.13 13.11.2023

    Re-added await chatgpt.history.isLoaded() to insertToggle()

    ...since 1st call for styles is async ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.12.5 13.11.2023

    Updated config.updateURL init to allow nameless greasyForkURL's

  • v2023.11.12.4 13.11.2023

    Updated download/update URLs

  • v2023.11.12.3 12.11.2023

    Replaced .match() w/ faster method ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.12.2 12.11.2023

    Updated update/download URLs ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.12.1 12.11.2023

    Removed post-initial await chatgpt.history.isLoaded()'s ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.12 12.11.2023

    Replaced chatHistoryIsLoaded() w/ chatgpt.history.isLoaded() ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.11.3 11.11.2023

    Narrowed update alerts ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.11.2 11.11.2023

    Corrected latestVer name ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.11.1 11.11.2023

    Added English fallbacks to localized messages ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.11 11.11.2023

    Bumped chatgpt.js to 2.4.0 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.10.2 10.11.2023

    Removed selicons + () around unmodded arg ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.10.1 10.11.2023

    Moved chatHistoryIsLoaded() last ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.10 10.11.2023

    Added comma, removed double negation ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.9.1 10.11.2023

    Refactored code to work w/ new UI + replace outdated styles

    ± Bumped chatgpt.js to 2.3.19 ± Moved auto-clear on first visit down ± Converted callbacks to arrow functions ± Renamed toggleLabel to navToggleDiv

    • Added chatHistoryIsLoaded() ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
  • v2023.11.9 09.11.2023

    Bumped chatgpt.js to 2.3.18 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.8 09.11.2023

    Bumped chatgpt.js to 2.3.17 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.7 07.11.2023

    Re-ordered script/menu function defs ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.6.1 07.11.2023

    Defined launchAboutModal(), added nav back on no update found ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.6 06.11.2023

    Bumped chatgpt.js to 2.3.16 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.4 04.11.2023

    Bumped chatgpt.js to 2.3.15 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.11.3 03.11.2023

    Bumped chatgpt.js to 2.3.14 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.10.30 30.10.2023

    Bumped chatgpt.js to 2.3.13 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.10.25 26.10.2023

    Bumped chatgpt.js to 2.3.12 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.10.20.1 20.10.2023

    Bumped chatgpt.js to 2.3.11, removed alert button hover styles ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.10.20 20.10.2023

    Added array fallback to chatgptJSver, moved index extraction out ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.10.16.2 16.10.2023

    Lightened toggle-on bg ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.10.16.1 16.10.2023

    Added glow to toggle-on ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.10.16 16.10.2023

    Re-colored toggle-on bg purple ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.10.15 16.10.2023

    Bumped chatgpt.js to 2.3.10 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.10.14 14.10.2023

    Bumped chatgpt.js to 2.3.9 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.10.13.1 13.10.2023

    Bumped chatgpt.js to 2.3.8 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.10.13 13.10.2023

    Narrowed About dialog ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.10.11.1 11.10.2023

    Moved alert stylization before toggle's ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.10.11 11.10.2023

    Increased alert button font size, stretched cluster leftward ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.10.10.1 11.10.2023

    Moved stylesheet ID checks before inits ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.10.10 11.10.2023

    Added new About dialog buttons + alert styles

    • Added config.supportURL
    • Added ID check before appending toggle switch style
    • Lightened About dialog link color in dark mode ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
  • v2023.10.9 09.10.2023 Imported from URL
  • v2023.10.5 05.10.2023

    Localized review modal ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.10.1.4 01.10.2023

    Bumped chatgpt.js to 2.3.5 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.10.1.3 01.10.2023

    Removed deprecated GitHub button localization ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.10.1.2 01.10.2023

    Localized About dialog text ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.10.1.1 01.10.2023

    Prepended missing messages obj ref, added const updateAlertID ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.10.1 01.10.2023

    Localized About menu label + dialog text/buttons ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.9.29 29.09.2023

    Bumped chatgpt.js to 2.3.4 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.9.27 28.09.2023

    Bumped chatgpt.js to 2.3.3 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.9.15.2 16.09.2023

    Removed optional chaining from GM_info.script.header ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.9.15.1 16.09.2023

    Updated chatgpt.js ver detection to utillize GM_info ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.9.15 16.09.2023

    Bumped chatgpt.js to 2.3.2 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.9.9 10.09.2023

    Bumped chatgpt.js to 2.3.1 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.9.8 09.09.2023

    Bumped chatgpt.js to 2.3.0 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.8.29 30.08.2023

    Bumped chatgpt.js to 2.2.0 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.8.24 24.08.2023

    Bumped chatgpt.js to 2.1.1 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.8.21 21.08.2023

    Added base to parseInt()'s ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.8.19 19.08.2023

    Removed protocol from // @match ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.8.16 17.08.2023

    Changed switchStyle.innerText to string concatenation ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.8.14.3 14.08.2023

    Replaced source code emoji in about dialog ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.8.14.2 14.08.2023

    Re-positioned about dialog's GitHub link ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.8.14.1 14.08.2023

    Added missing comma ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.8.14 14.08.2023

    Combined const inits, updated about dialog style ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.8.13 13.08.2023

    Removed unnecessary escape character ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.8.12 12.08.2023

    Bumped chatgpt.js to 2.1.0 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.8.9.1 09.08.2023

    Converted tabs to spaces ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.8.9 09.08.2023

    Removed update auto-alert, changed config.updateURL

    ± Replaced messages.link_viewChanges w/ string ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.7.31.1 31.07.2023

    Bumped chatgpt.js to 2.0.6 to avoid menu open on empty chat history ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.7.31 31.07.2023

    Bumped chatgpt.js to 2.0.5 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.7.29.2 29.07.2023

    Removed locale from config.greasyForkURL ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.7.29.1 29.07.2023

    Added config.greasyForkURL, renamed config.ghRepoURL ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • 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 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.7.28 29.07.2023

    Bumped chatgpt.js to 2.0.3 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.7.26 26.07.2023

    Bumped chatgpt.js to 2.0.2 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.7.19 19.07.2023

    Replaced ternary w/ OR operation ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • 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 adamlui/autoclear-chatgpt-history]

  • v2023.7.14 14.07.2023

    Bumped chatgpt.js to 2.0.0, added chatgpt.getUserLanguage() ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.7.11 11.07.2023

    Bumped chatgpt.js to 1.12.0 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.7.9 10.07.2023

    Changed config.prefix, condensed settings functions ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.7.4 05.07.2023

    Bumped chatgpt.js to 1.11.0 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.7.2 03.07.2023

    Bumped chatgpt.js to 1.10.6 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.6.30 30.06.2023

    Bumped chatgpt.js to 1.10.5 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.6.29 29.06.2023

    Bumped chatgpt.js to 1.10.4 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.6.26 26.06.2023

    Bumped chatgpt.js to 1.10.3 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.6.24.3 24.06.2023

    Changed update check frequency to weekly ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.6.24.2 24.06.2023

    Re-ordered function defs ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.6.24.1 24.06.2023

    Bumped chatgpt.js to 1.10.2, shortened regex in Update Available alert ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.6.24 24.06.2023

    Refactored code, improved reload on update

    ± Re-ordered config init for readability

    • Condensed message getter ± Replaced window.open() in update alert with GM_openInTab() for onClose callback ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
  • v2023.6.23.1 24.06.2023

    Improved readability of obj's, further abstracted update alert ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.6.23 24.06.2023

    Added/updated meta, replaced config.ghHostDir

    ± Updated name/description meta

    • Added name/description meta locales ± Replaced config.ghHostDir with config.assetHostURL
    • Added config.ghRepoURL ± Updated auto update alert View Changes link to use config.ghRepoURL ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
  • v2023.6.22.5 23.06.2023

    Inserted config.ghHostDir into navicon.src ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.6.22.4 23.06.2023

    Removed depracated config.isActive, added config.updateURL ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.6.22.3 23.06.2023

    Added msgHostDir to let msgHref in message getter ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.6.22.2 23.06.2023

    Fixed message getter

    • Added const msgHostDir
    • Added config prefix to ghHostDir in let msgHref ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
  • v2023.6.22.1 23.06.2023

    Updated meta + config/state obj's, refactored code

    ± Updated/moved version/author/namespace meta ± Moved configPrefix + appSymbol into config obj ± Added config.ghHostDir + config.updateURL ± Replaced var's with const & let ± Moved stateSeparator into state obj

    • Shortened checkForUpdates() ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
  • v2023.6.22 23.06.2023

    Updated checkForUpdates()

    ± Shortened by eliminating var data ± Converted var's to const's ± Improved comparison loop to break early if up-to-date ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.6.19.1 19.06.2023

    Added auto-reload on auto-update

  • v2023.6.19 19.06.2023

    Re-formatted Update Available alert

  • v2023.6.18 19.06.2023

    Updated sidebar toggle + on-load notification

    ± Prevented double-toggle on switch clicks ± Removed reliance on innerHTML to mitigate XSS vulnerability

    • Added condition to notify on load only if auto-clear active ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
  • v2023.6.17 18.06.2023

    Moved reset of skipNextUpdate to before auto-alert ↞ [auto-sync from adamlui/autoclear-chatgpt-history]

  • v2023.6.15 15.06.2023 Bumped chatgpt.js to 1.10.1 ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.13.2 14.06.2023 Re-formatted Update Available alert ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.13.1 14.06.2023 Added ID return to `alert()` ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.13 14.06.2023 Added `notify()` + `alert()` ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.10 11.06.2023 Replaced `fetch` method w/ `gm` one in checkForUpdates()... ...to futureproof vs. OpenAI CORS ± Moved 'view changes' link to new line & removed positioning ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.9.2 09.06.2023 Removed `var updateAlertID` ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.9.1 09.06.2023 Added auto/manual update checking ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.9 09.06.2023 (#6) Removed `fetchMap.get()`, `fetchHook()` + Clear button... ± Moved 1st clear/notification up ± Bumped chatgpt.js to 1.9.1 ± Shortened listener syntax ± Renamed `navObserver` to `nodeObserver` - Removed `clearObserver` - Removed button functions + menu cmd ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.8 08.06.2023 Bumped chatgpt.js to 1.9.0 ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.5 06.06.2023 Condensed code ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.3.1 03.06.2023 Bumped chatgpt.js to 1.8.0 ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.3 02.06.2023 Added toggle margins ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.2 02.06.2023 Updated toggle style/insertion for UI update, bumped chatgpt.js to 1.7.5 ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.1 01.06.2023 Bump chatgpt.js to 1.7.3 ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.30 31.05.2023 Changed `configKeyPrefix` to `configPrefix` ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.23 24.05.2023 Shortened `loadSetting()` ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.22 22.05.2023 Shortened message getter ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.21 21.05.2023 Removed `document.title` check from 1st notification ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.19 19.05.2023 Ensured proper toggle style/insertion when chat history is off ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.17 18.05.2023 Updated chatgpt.js copyright notice ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.16.5 16.05.2023 Internationalized button labels ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.16.4 16.05.2023 Merge pull request #4 from XiaoYingYo/main fix button text ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.16.3 16.05.2023 Changed condition to autoclear in observer & toggle-on ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.16.2 16.05.2023 Added `GM` XHR method + GitHub connect to meta ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.16.1 16.05.2023 Implemented remote message fetching ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.16 16.05.2023 Added more menu cmds, condensed/re-organized code, renamed vars ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.5 06.05.2023 Added `chatgpt.isLoaded()`, condensed code, removed logging ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.2.3 03.05.2023 Removed whitespace
  • v2023.5.2.2 03.05.2023 Removed whitespace, re-added `async` befeore anon func in `InitSvg()`
  • v2023.5.2 03.05.2023 Added Ghost browser compatibility meta ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.1.3 01.05.2023 Trying to get an svg that already exists on the page as an icon
  • v2023.5.1.2 01.05.2023 Condensed code, removed `clickElement()`, moved functions up... ± Restored auto-cleared functionality ± Updated chatgpt.js dependency
  • v2023.5.1.1 01.05.2023 fix
  • v2023.5.1.1 01.05.2023 Moved functions, camel-cased names, condensed code
  • v2023.05.01 01.05.2023 Fix
  • v2023.05.01 01.05.2023 For the second level menu `clear conversations`, add it to the first level menu, Modify the version number, fix, Merge pull request #36 from XiaoYingYo/master For the second level menu `clear conversations`, add it to the first level menu
  • v2023.4.23 24.04.2023 Added `// @noframes` for compatibility w/ new ChatGPT Auto Refresh ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.4.20.1 21.04.2023 Removed semicolons & unused arg ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.4.20 21.04.2023 Updated chatgpt.js dependency, fixed to work w/ new headless menu ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.04.19 19.04.2023 Changed chatgpt.js import src to CDN
  • v2023.04.04.1 05.04.2023 Repositioned toggle ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.04.04 04.04.2023 Moved name meta to top ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.04.03 03.04.2023 Added/re-organized media ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.03.29.2 30.03.2023 Re-ordered meta
  • v2023.03.29.1 30.03.2023 Updated homepage/support URL meta ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.03.29 30.03.2023 Added non-English meta
  • v2023.03.28 28.03.2023 Updated navicon source
  • v2023.03.26 27.03.2023 Refactored functions
  • v2023.03.14.2 15.03.2023 Removed `var um`
  • v2023.03.14.1 15.03.2023 Split menu command's state indicator to both ends of label
  • v2023.03.14 14.03.2023 Added QQ `@compatible` meta
  • v2023.03.13 14.03.2023 Replaced state symbols in menu for TM w/ smaller ones... ...since menu fonts are larger than in VM
  • v2023.03.13 13.03.2023 Removed 'Get help' menu command
  • v2023.03.12.2 12.03.2023 Added whitespace
  • v2023.03.12.1 12.03.2023 Added help menu command, abstracted `loadSetting()` & `saveSetting()`... + Changed toggle visibility label + Re-ordered/categorized functions
  • v2023.03.12 12.03.2023 Enclosed code in IIFE to privatize scope... + Added `var toggleInput` to `toggleAutoclear()` + Re-ordered functions + Updated comments
  • v2023.03.11.5 12.03.2023 Added `// @compatible librewolf`
  • v2023.03.11.4 12.03.2023 Moved 2nd `clearObserver.disconnect` outside observer & shortened timeout ...since Clear button usually loads within a sec & node mutations can take a while
  • v2023.03.11.3 12.03.2023 Replaced Google `@icon` links w/ GitHub ones to avoid weird background change
  • v2023.03.11.2 11.03.2023 Replaced `loadSetting('autoclear') === true` w/ `config.autoclear`... + Fixed `toggleLabel.style.display` logic in `updateToggleHTML()`
  • v2023.03.11.1 11.03.2023 Added toggle visibility menu by @XiaoXingYo (0a28ad1ae94047d4205046d80c1899c4986db878)... + Changed storage key notation to dot + Changed `toggleAutoclear()` definition syntax
  • v2023.03.11 11.03.2023 Switched from `localStorage` to `GM_` methods for security... + Created `saveSetting()` + `loadSetting` for easier modification of storage API in ports + Renamed `styleNode` to `switchStyle` for clarity + Replaced click listener w/ `addEventListener` & updated `toggleAutoclear()` to work in VM + Added `display: flex` to `toggleLabel` style to overcome sporadic `display: box` (#19) + Added `toggleHidden` storage key + Added Chinese comments by @XiaoYingYo + Added `@author` + `@namespace`'s
  • v2023.03.04.11 11.03.2023 Backtrack and commit as a new script
  • v2023.03.04.11 09.03.2023 Append a code position semicolon
  • v2023.03.04.11 09.03.2023 Code optimization, new menu options in oil monkey script, optional to hide the selection box component in the page, in order to consider the decision to keep the options unchanged for a long time
  • v2023.03.04.11 05.03.2023 Changed navicon source
  • v2023.03.04.10 04.03.2023 Removed `var toggleInput`
  • v2023.03.04.9 04.03.2023 Shortened `window.toggleAutoclear`
  • v2023.03.04.8 04.03.2023 Added `@icon64`
  • v2023.03.04.7 04.03.2023 Moved `var labelCnt` to before `function clearAllMsgs()`, shortened `window.toggleAutoclear`
  • v2023.03.04.6 04.03.2023 Replaced `click` event listener ...by moving `onclick` from `toggleLabel`'s inner `<input>` to outer `<div>` & adding `click()` to `window.toggleAutoclear` + Moved `var labelCnt` to before `clearAllMsgs()` call
  • v2023.03.04.5 04.03.2023 Prepended `chatGPT_` to `autoclear` key
  • v2023.03.04.4 04.03.2023 Re-formatted `toggleLabel.innerHTML`
  • v2023.03.04.3 04.03.2023 Formatted `toggleLabel.innerHTML`, shortened `insertToggle()`
  • v2023.03.04.2 04.03.2023 Shortened `window.toggleAutoclear`
  • v2023.03.04.1 04.03.2023 Shortened insertToggle() & clearAllMsgs(), removed whitespace
  • v2023.03.04 04.03.2023 Added toggle (#12), changed `for` conditions
  • v2023.03.03 04.03.2023 Updated icon
  • v2023.02.27 28.02.2023 Added 2nd observer.disconnect() + download & update URLs
  • v2023.02.26.1 27.02.2023 Changed @name
  • v2023.02.26 26.02.2023 Imported from URL
  • v2023.02.26 26.02.2023