*安全* 消除 10 分鐘聊天重設 + 持續的網路錯誤 + ChatGPT 的 Cloudflare 檢查。
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
Added config.mediaHostURL ↞ [auto-sync from adamlui/chatgpt-apps]
config.mediaHostURL
adamlui/chatgpt-apps
Abstracted config.latestAssetCommitHash ↞ [auto-sync from adamlui/chatgpt-apps]
config.latestAssetCommitHash
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
Renamed state 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()
Added base to parseInt()s for explicit radix ↞ [auto-sync from adamlui/chatgpt-apps]
parseInt()
Reduced gap preceding 'View changes' link in Update Available alert ↞ [auto-sync from adamlui/chatgpt-apps]
Renamed modal var names + alert() to siteAlert()
alert()
siteAlert()
Abstracted refreshMenu() ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-auto-refresh]
refreshMenu()
adamlui/chatgpt-apps/chatgpt-auto-refresh
Reverted condesning of int'l msg load request since recursively called ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-auto-refresh]
Added missing space in interval update confirmation msg ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-auto-refresh]
Replaced ?latest queries in media.chatgptjs.org URLs w/ ?main since repo has releases (jsdelivr/jsdelivr#18571) ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-auto-refresh]
?latest
media.chatgptjs.org
?main
Removed gap between 'v' & latestVer in update alert ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-auto-refresh]
latestVer
Moved 'View changes' link in update alert closer to msg ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-auto-refresh]
Replaced code in UI flag inits w/ chatgpt.js methods
Added () => before resolve(arg) in sidebar promise for proper delay ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-auto-refresh]
() =>
resolve(arg)
Inserted missing setTimeout into else statement of checkGPTsLinkLoaded() ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-auto-refresh]
setTimeout
else
checkGPTsLinkLoaded()
Changed !/^en/.test(config.userLanguage) to !config.userLanguage.startsWith('en') for readability ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-auto-refresh]
!/^en/.test(config.userLanguage)
!config.userLanguage.startsWith('en')
Partially uppercased top-level comments for readability ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-auto-refresh]
Moved config.userLanguage init out of config init to support VM ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-auto-refresh]
config.userLanguage
config
Updated toggles to work w/ new simplified sidebar ↞ [auto-sync from adamlui/chatgpt-apps/chatgpt-auto-refresh]
Corrected chatgpt.sidebar.IsLoaded() call to chatgpt.sidebar.isLoaded() ↞ [auto-sync from adamlui/chatgpt-apps]
chatgpt.sidebar.IsLoaded()
chatgpt.sidebar.isLoaded()
Added OpenAI icon size variants ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
adamlui/chatgpt-auto-refresh
Appended commit hashes to icon meta URLs to preserve assets ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Replaced sidebarIsLoaded() w/ chatgpt.sidebar.isLoaded() ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
sidebarIsLoaded()
Bumped chatgpt.js to 2.9.2 ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Replaced .no-click-transform assignment w/ direct selector to reduce complexity ↞ [auto-sync from adamlui/chatgpt-apps]
.no-click-transform
Disabled distracting click zoom effect of sidebar button container ↞ [auto-sync from adamlui/chatgpt-apps]
Updated insertToggle() to insert below 'New Chat' in post-GPT-4o UI ↞ [auto-sync from adamlui/chatgpt-apps]
Reverted erroneously changed config.greasyForkURL to greasyfork.org URL ↞ [auto-sync from adamlui/chatgpt-apps]
config.greasyForkURL
Aligned sidebar navicon w/ ChatGPT icon in post-GPT-4o UI ↞ [auto-sync from adamlui/chatgpt-apps]
Added post-GPT-4o UI support ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Bumped chatgpt.js to 2.8.0 ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Updated homepage/support URLs ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Updated icon meta to media.chatgptautorefresh.com URLs ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Updated latest asset commit hash in config.assetHostURL ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
config.assetHostURL
Removed no longer needed first button padding tweak from insertToggle() ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Updated selectors in insertToggle() to account for sporadic invisible elem ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Eliminated reliance on English in selectors to support non-English UIs ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Removed auto-reload ChatGPT on update to preserve prev sessions ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Bumped chatgpt.js to 2.7.1 ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Inserted latest assset commit hash to config.assetHostURL to preserve potentially deleted assets ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Bumped chatgpt.js to 2.7.0 ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
Added doc URL as header comment ↞ [auto-sync from adamlui/chatgpt-auto-refresh]
顯示所有腳本版本