Skip to content

Commit a813478

Browse files
committed
Expanded notify() to never-disable for toast settings ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/chatgpt-widescreen]
1 parent c25ee44 commit a813478

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 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.11.1
238+
// @version 2025.5.11.2
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
@@ -647,7 +647,8 @@
647647
// Define FEEDBACK functions
648648

649649
function notify(msg, pos = '', notifDuration = '', shadow = '') {
650-
if (config.notifDisabled && !new RegExp(`${app.msgs.menuLabel_notifs}|🧩`).test(msg)) return
650+
if (config.notifDisabled && !new RegExp(`${app.msgs.menuLabel_notifs}|${app.msgs.mode_toast}|🧩`).test(msg))
651+
return
651652

652653
// Strip state word to append colored one later
653654
const foundState = toolbarMenu.state.words.find(word => msg.includes(word))

0 commit comments

Comments
 (0)