Greasy Fork is available in English.
Menghapus otomatis riwayat obrolan saat mengunjungi chatgpt.com
Ini adalah versi dari skrip ini yang kodenya telah diperbarui. Tampilkan semua versi.
Removed erroneously duplicated code from updateToggleHTML() ↞ [auto-sync from adamlui/chatgpt-apps]
updateToggleHTML()
adamlui/chatgpt-apps
Condensed toggle update routine ↞ [auto-sync from adamlui/chatgpt-apps]
Unabbr'd + hyphen-cased ID names for readability ↞ [auto-sync from adamlui/chatgpt-apps]
Replaced 'Favicon' w/ more semantic 'Navicon' in ID name ↞ [auto-sync from adamlui/chatgpt-apps]
Replaced .addEventListener()s w/ .on<event>s against best practices since it shortens codebase + widens browser compatibility ↞ [auto-sync from adamlui/chatgpt-apps]
.addEventListener()
.on<event>
Added // @contributionURL ↞ [auto-sync from adamlui/chatgpt-apps]
// @contributionURL
Condensed state init, renamed to menuState for readability ↞ [auto-sync from adamlui/chatgpt-apps]
state
menuState
Changed all document.querySelector()s of IDs to use .getElementById for improved efficiency ↞ [auto-sync from adamlui/chatgpt-apps]
document.querySelector()
.getElementById
Corrected region-stripping regex in msgs getter ↞ [auto-sync from adamlui/chatgpt-apps]
Updated insertToggle() to target outside links/history div post-GPT-4o UI to bypass temp chat mode disables toggle ↞ [auto-sync from adamlui/chatgpt-apps]
insertToggle()
Reduced gap preceding 'View changes' link in Update Available alert ↞ [auto-sync from adamlui/chatgpt-apps]
Renamed alert() to siteAlert() to avoid potential namespace conflicts ↞ [auto-sync from adamlui/chatgpt-apps]
alert()
siteAlert()
Renamed modal ID var names for readability ↞ [auto-sync from adamlui/chatgpt-apps]
Abstracted refreshMenu() ↞ [auto-sync from adamlui/chatgpt-apps]
refreshMenu()
Added timeouts to `await`s of `isLoaded` promises for unhindered program flow
Eliminated toCamelCase() for smaller filesize
toCamelCase()
Restricted global msg fetching to non-English sys lang env for faster load ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
adamlui/autoclear-chatgpt-history
Bumped chatgpt.js to 2.6.10 ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Re-added chat.openai.com @match in case OpenAI changes mind again in futur ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
@match
Replaced chat..openai.com in description/match meta w/ new chatgpt.com ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Updated icon meta URLs to cdn.jsdelivr.net ones ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
Generalized config.assetHostURL for easier re-use ↞ [auto-sync from adamlui/autoclear-chatgpt-history]
config.assetHostURL
Tampilkan semua versi skrip