Skip to content

Commit f6c5730

Browse files
committed
Eliminated no-longer needed app.urls.update file extension processing from modals.update.available() ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/chatgpt-auto-refresh]
1 parent 807fc70 commit f6c5730

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

greasemonkey/chatgpt-auto-refresh.user.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
// @description:zu *NGOKUPHEPHA* susa ukusetha kabusha ingxoxo yemizuzu eyi-10 + amaphutha enethiwekhi ahlala njalo + Ukuhlolwa kwe-Cloudflare ku-ChatGPT.
221221
// @author Adam Lui
222222
// @namespace https://github.com/adamlui
223-
// @version 2025.1.20
223+
// @version 2025.1.23
224224
// @license MIT
225225
// @icon https://assets.chatgptautorefresh.com/images/icons/openai/black/icon48.png?v=f11a0a8
226226
// @icon64 https://assets.chatgptautorefresh.com/images/icons/openai/black/icon64.png?v=f11a0a8
@@ -735,7 +735,7 @@
735735
+ `${app.urls.gitHub}/commits/main/greasemonkey/${app.slug}.user.js`
736736
+ `">${app.msgs.link_viewChanges}</a>`,
737737
function update() { // button
738-
modals.safeWinOpen(app.urls.update.replace('meta.js', 'user.js') + '?t=' + Date.now())
738+
modals.safeWinOpen(`${app.urls.update}?t=${Date.now()}`)
739739
}, '', modals.update.width
740740
)
741741

0 commit comments

Comments
 (0)