Skip to content

Commit 9180602

Browse files
committed
Condensed chatgpt.notify() calls
1 parent b253329 commit 9180602

File tree

12 files changed

+21
-27
lines changed

12 files changed

+21
-27
lines changed

autoclear-chatgpt-history/greasemonkey/autoclear-chatgpt-history.user.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
// @description:zu Ziba itshala lokucabanga okuzoshintshwa ngokuzenzakalelayo uma ukubuka chatgpt.com
226226
// @author Adam Lui
227227
// @namespace https://github.com/adamlui
228-
// @version 2025.5.11
228+
// @version 2025.5.12
229229
// @license MIT
230230
// @icon https://assets.autoclearchatgpt.com/images/icons/openai/black/icon48.png?v=f461c06
231231
// @icon64 https://assets.autoclearchatgpt.com/images/icons/openai/black/icon64.png?v=f461c06
@@ -485,7 +485,7 @@
485485
if (foundState) msg = msg.replace(foundState, '')
486486

487487
// Show notification
488-
chatgpt.notify(`${app.symbol} ${msg}`, pos, notifDuration, shadow || env.ui.scheme == 'dark' ? '' : 'shadow')
488+
chatgpt.notify(`${app.symbol} ${msg}`, pos, notifDuration, shadow || env.ui.scheme == 'light')
489489
const notif = document.querySelector('.chatgpt-notif:last-child')
490490

491491
// Append styled state word

chatgpt-auto-continue/chromium/extension/content.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
if (foundState) msg = msg.replace(foundState, '')
4747

4848
// Show notification
49-
chatgpt.notify(`${app.symbol} ${msg}`, pos, notifDuration, shadow || env.ui.scheme == 'dark' ? '' : 'shadow')
49+
chatgpt.notify(`${app.symbol} ${msg}`, pos, notifDuration, shadow || env.ui.scheme == 'light')
5050
const notif = document.querySelector('.chatgpt-notif:last-child')
5151

5252
// Append styled state word

chatgpt-auto-continue/firefox/extension/content.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
if (foundState) msg = msg.replace(foundState, '')
4747

4848
// Show notification
49-
chatgpt.notify(`${app.symbol} ${msg}`, pos, notifDuration, shadow || env.ui.scheme == 'dark' ? '' : 'shadow')
49+
chatgpt.notify(`${app.symbol} ${msg}`, pos, notifDuration, shadow || env.ui.scheme == 'light')
5050
const notif = document.querySelector('.chatgpt-notif:last-child')
5151

5252
// Append styled state word

chatgpt-auto-continue/greasemonkey/chatgpt-auto-continue.user.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
// @description:zu ⚡ Terus menghasilkan imibuzo eminingi ye-ChatGPT ngokwesizulu
220220
// @author Adam Lui
221221
// @namespace https://github.com/adamlui
222-
// @version 2025.5.11
222+
// @version 2025.5.12
223223
// @license MIT
224224
// @icon https://assets.chatgptautocontinue.com/images/icons/continue-symbol/black/icon48.png?v=a8c9387
225225
// @icon64 https://assets.chatgptautocontinue.com/images/icons/continue-symbol/black/icon64.png?v=a8c9387
@@ -452,7 +452,7 @@
452452
if (foundState) msg = msg.replace(foundState, '')
453453

454454
// Show notification
455-
chatgpt.notify(`${app.symbol} ${msg}`, pos, notifDuration, shadow || env.ui.scheme == 'dark' ? '' : 'shadow')
455+
chatgpt.notify(`${app.symbol} ${msg}`, pos, notifDuration, shadow || env.ui.scheme == 'light')
456456
const notif = document.querySelector('.chatgpt-notif:last-child')
457457

458458
// Append styled state word

chatgpt-auto-refresh/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.5.11
223+
// @version 2025.5.12
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
@@ -506,7 +506,7 @@
506506
if (foundState) msg = msg.replace(foundState, '')
507507

508508
// Show notification
509-
chatgpt.notify(`${app.symbol} ${msg}`, pos, notifDuration, shadow || env.ui.scheme == 'dark' ? '' : 'shadow')
509+
chatgpt.notify(`${app.symbol} ${msg}`, pos, notifDuration, shadow || env.ui.scheme == 'light')
510510
const notif = document.querySelector('.chatgpt-notif:last-child')
511511

512512
// Append styled state word

chatgpt-auto-talk/greasemonkey/chatgpt-auto-talk.user.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
// @description:zu Dlala izimpendulo ze-ChatGPT ngokuzenzakalela
226226
// @author Adam Lui
227227
// @namespace https://github.com/adamlui
228-
// @version 2025.5.11
228+
// @version 2025.5.12
229229
// @license MIT
230230
// @icon https://assets.chatgptautotalk.com/images/icons/openai/black/icon48.png?v=9f1ed3c
231231
// @icon64 https://assets.chatgptautotalk.com/images/icons/openai/black/icon64.png?v=9f1ed3c
@@ -461,7 +461,7 @@
461461
if (foundState) msg = msg.replace(foundState, '')
462462

463463
// Show notification
464-
chatgpt.notify(`${app.symbol} ${msg}`, pos, notifDuration, shadow || env.ui.scheme == 'dark' ? '' : 'shadow')
464+
chatgpt.notify(`${app.symbol} ${msg}`, pos, notifDuration, shadow || env.ui.scheme == 'light')
465465
const notif = document.querySelector('.chatgpt-notif:last-child')
466466

467467
// Append styled state word

chatgpt-infinity/chromium/extension/content.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
if (foundState) msg = msg.replace(foundState, '')
5959

6060
// Show notification
61-
chatgpt.notify(`${app.symbol} ${msg}`, pos, notifDuration, shadow || env.ui.scheme == 'dark' ? '' : 'shadow')
61+
chatgpt.notify(`${app.symbol} ${msg}`, pos, notifDuration, shadow || env.ui.scheme == 'light')
6262
const notif = document.querySelector('.chatgpt-notif:last-child')
6363

6464
// Append styled state word

chatgpt-infinity/firefox/extension/content.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
if (foundState) msg = msg.replace(foundState, '')
5959

6060
// Show notification
61-
chatgpt.notify(`${app.symbol} ${msg}`, pos, notifDuration, shadow || env.ui.scheme == 'dark' ? '' : 'shadow')
61+
chatgpt.notify(`${app.symbol} ${msg}`, pos, notifDuration, shadow || env.ui.scheme == 'light')
6262
const notif = document.querySelector('.chatgpt-notif:last-child')
6363

6464
// Append styled state word

chatgpt-infinity/greasemonkey/chatgpt-infinity.user.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
// @description:zh-TW 從無所不知的 ChatGPT 生成無窮無盡的答案 (用任何語言!)
200200
// @author Adam Lui
201201
// @namespace https://github.com/adamlui
202-
// @version 2025.5.11
202+
// @version 2025.5.12
203203
// @license MIT
204204
// @icon https://assets.chatgptinfinity.com/images/icons/infinity-symbol/circled/with-robot/icon48.png?v=8df6f33
205205
// @icon64 https://assets.chatgptinfinity.com/images/icons/infinity-symbol/circled/with-robot/icon64.png?v=8df6f33
@@ -520,7 +520,7 @@
520520
if (foundState) msg = msg.replace(foundState, '')
521521

522522
// Show notification
523-
chatgpt.notify(`${app.symbol} ${msg}`, pos, notifDuration, shadow || env.ui.scheme == 'dark' ? '' : 'shadow')
523+
chatgpt.notify(`${app.symbol} ${msg}`, pos, notifDuration, shadow || env.ui.scheme == 'light')
524524
const notif = document.querySelector('.chatgpt-notif:last-child')
525525

526526
// Append styled state word

chatgpt-widescreen/chromium/extension/content.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,8 @@
6161
if (foundState) msg = msg.replace(foundState, '')
6262

6363
// Show notification
64-
chatgpt.notify(
65-
`${app.symbol} ${msg}`, pos || config.notifBottom ? 'bottom' : '',
66-
notifDuration, shadow || env.ui.scheme == 'dark' ? '' : 'shadow'
67-
)
64+
chatgpt.notify(`${app.symbol} ${msg}`, pos ||( config.notifBottom ? 'bottom' : '' ),
65+
notifDuration, shadow || env.ui.scheme == 'light')
6866
const notif = document.querySelector('.chatgpt-notif:last-child')
6967
notif.classList.add(app.slug)
7068

chatgpt-widescreen/firefox/extension/content.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,8 @@
6161
if (foundState) msg = msg.replace(foundState, '')
6262

6363
// Show notification
64-
chatgpt.notify(
65-
`${app.symbol} ${msg}`, pos || config.notifBottom ? 'bottom' : '',
66-
notifDuration, shadow || env.ui.scheme == 'dark' ? '' : 'shadow'
67-
)
64+
chatgpt.notify(`${app.symbol} ${msg}`, pos ||( config.notifBottom ? 'bottom' : '' ),
65+
notifDuration, shadow || env.ui.scheme == 'light')
6866
const notif = document.querySelector('.chatgpt-notif:last-child')
6967
notif.classList.add(app.slug)
7068

chatgpt-widescreen/greasemonkey/chatgpt-widescreen-mode.user.js

+3-5
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
// @description:zu Thuthukisa iChatGPT ngemodi zesikrini ezibanzi/egcwele/ephezulu + imodi yokuvimbela i-spam. Futhi isebenza ku-perplexity.ai + poe.com!
236236
// @author Adam Lui
237237
// @namespace https://github.com/adamlui
238-
// @version 2025.5.11.9
238+
// @version 2025.5.12
239239
// @license MIT
240240
// @icon https://assets.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon48.png?v=844b16e
241241
// @icon64 https://assets.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon64.png?v=844b16e
@@ -656,10 +656,8 @@
656656
if (foundState) msg = msg.replace(foundState, '')
657657

658658
// Show notification
659-
chatgpt.notify(
660-
`${app.symbol} ${msg}`, pos || config.notifBottom ? 'bottom' : '',
661-
notifDuration, shadow || env.ui.scheme == 'dark' ? '' : 'shadow'
662-
)
659+
chatgpt.notify(`${app.symbol} ${msg}`, pos ||( config.notifBottom ? 'bottom' : '' ),
660+
notifDuration, shadow || env.ui.scheme == 'light')
663661
const notif = document.querySelector('.chatgpt-notif:last-child')
664662
notif.classList.add(app.slug)
665663

0 commit comments

Comments
 (0)