Skip to content

Commit e9ea2fd

Browse files
committed
Renamed toolbarMenu to gmToolbarMenu ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/chatgpt-widescreen]
1 parent d3811a5 commit e9ea2fd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 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-poe.com!
236236
// @author Adam Lui
237237
// @namespace https://github.com/adamlui
238-
// @version 2026.7.27.4
238+
// @version 2026.7.28
239239
// @license MIT
240240
// @icon https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@73594ea/assets/images/icons/widescreen-robot-emoji/icon48.png
241241
// @icon64 https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@73594ea/assets/images/icons/widescreen-robot-emoji/icon64.png
@@ -360,7 +360,7 @@
360360

361361
// Define MENU functions
362362

363-
window.toolbarMenu = {
363+
window.gmToolbarMenu = {
364364
state: {
365365
symbols: ['❌', '✔️'], separator: env.scriptManager.name == 'Tampermonkey' ? ' — ' : ': ',
366366
words: [app.msgs.state_off.toUpperCase(), app.msgs.state_on.toUpperCase()]
@@ -637,7 +637,7 @@
637637
app.msgs[`state_${ app.config[configKeyName] ? 'off' : 'on' }`].toUpperCase()}`)
638638
else if (ctgKey != 'siteSettings')
639639
feedback.notify(`${entryData.label}: ${
640-
toolbarMenu.state.words[+settings.typeIsEnabled(key)]}`)
640+
gmToolbarMenu.state.words[+settings.typeIsEnabled(key)]}`)
641641

642642
// Enable/disable dependent entries
643643
for (const [ctrlKey, ctrlData] of Object.entries(
@@ -774,7 +774,7 @@
774774
removeEventListener('message', handleMsgResp)
775775

776776
// Create browser TOOLBAR MENU + DISABLE SCRIPT if extension active
777-
toolbarMenu.register() ; if (env.extensionActive) return
777+
gmToolbarMenu.register() ; if (env.extensionActive) return
778778

779779
if (env.site == 'chatgpt')
780780
sites[env.site].hasSidebar = !!await Promise.race([

0 commit comments

Comments
 (0)