Skip to content

Commit 9002590

Browse files
committed
Tightened notify() conditions when config.notifDisabled ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/chatgpt-widescreen]
1 parent d557218 commit 9002590

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
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.22.4
238+
// @version 2025.5.22.5
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
@@ -553,7 +553,7 @@
553553
window.notify = function(msg, pos = '', notifDuration = '', shadow = '') {
554554
if (!styles.toast.node) styles.update({ key: 'toast' })
555555
if (config.notifDisabled
556-
&& !new RegExp(`${app.msgs.menuLabel_show} ${app.msgs.menuLabel_notifs}|🧩`, 'i').test(msg)
556+
&& !new RegExp(`${app.msgs.menuLabel_show} ${app.msgs.menuLabel_notifs}`, 'i').test(msg)
557557
) return
558558

559559
// Strip state word to append colored one later

0 commit comments

Comments
 (0)