Autoclear ChatGPT History

Auto-clears chat history when visiting chatgpt.com

بۇلار بۇ قوليازمىنىڭ كود يېڭىلانغان نەشرىلىرى. بارلىق نەشرىنى كۆرسىتىش

  • v2023.6.26 2023-06-26

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

  • v2023.6.24.3 2023-06-24

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

  • v2023.6.24.2 2023-06-24

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

  • v2023.6.24.1 2023-06-24

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

  • v2023.6.24 2023-06-24

    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 2023-06-24

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

  • v2023.6.23 2023-06-24

    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 2023-06-23

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

  • v2023.6.22.4 2023-06-23

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

  • v2023.6.22.3 2023-06-23

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

  • v2023.6.22.2 2023-06-23

    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 2023-06-23

    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 2023-06-23

    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 2023-06-19

    Added auto-reload on auto-update

  • v2023.6.19 2023-06-19

    Re-formatted Update Available alert

  • v2023.6.18 2023-06-19

    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 2023-06-18

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

  • v2023.6.15 2023-06-15 Bumped chatgpt.js to 1.10.1 ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.13.2 2023-06-14 Re-formatted Update Available alert ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.13.1 2023-06-14 Added ID return to `alert()` ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.13 2023-06-14 Added `notify()` + `alert()` ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.10 2023-06-11 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 2023-06-09 Removed `var updateAlertID` ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.9.1 2023-06-09 Added auto/manual update checking ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.9 2023-06-09 (#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 2023-06-08 Bumped chatgpt.js to 1.9.0 ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.5 2023-06-06 Condensed code ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.3.1 2023-06-03 Bumped chatgpt.js to 1.8.0 ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.3 2023-06-02 Added toggle margins ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.2 2023-06-02 Updated toggle style/insertion for UI update, bumped chatgpt.js to 1.7.5 ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.6.1 2023-06-01 Bump chatgpt.js to 1.7.3 ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.30 2023-05-31 Changed `configKeyPrefix` to `configPrefix` ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.23 2023-05-24 Shortened `loadSetting()` ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.22 2023-05-22 Shortened message getter ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.21 2023-05-21 Removed `document.title` check from 1st notification ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.19 2023-05-19 Ensured proper toggle style/insertion when chat history is off ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.17 2023-05-18 Updated chatgpt.js copyright notice ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.16.5 2023-05-16 Internationalized button labels ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.16.4 2023-05-16 Merge pull request #4 from XiaoYingYo/main fix button text ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.16.3 2023-05-16 Changed condition to autoclear in observer & toggle-on ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.16.2 2023-05-16 Added `GM` XHR method + GitHub connect to meta ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.16.1 2023-05-16 Implemented remote message fetching ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.16 2023-05-16 Added more menu cmds, condensed/re-organized code, renamed vars ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.5 2023-05-06 Added `chatgpt.isLoaded()`, condensed code, removed logging ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.2.3 2023-05-03 Removed whitespace
  • v2023.5.2.2 2023-05-03 Removed whitespace, re-added `async` befeore anon func in `InitSvg()`
  • v2023.5.2 2023-05-03 Added Ghost browser compatibility meta ↞ [auto-sync from `adamlui/autoclear-chatgpt-history`]
  • v2023.5.1.3 2023-05-01 Trying to get an svg that already exists on the page as an icon
  • v2023.5.1.2 2023-05-01 Condensed code, removed `clickElement()`, moved functions up... ± Restored auto-cleared functionality ± Updated chatgpt.js dependency
  • v2023.5.1.1 2023-05-01 fix

بارلىق قوليازما نەشرىلىرىنى كۆرسىتىش