Skip to content

Commit cb65ffe

Browse files
committed
Renamed toolbarMenu.ids to entryIDs for readability
1 parent 7b268b7 commit cb65ffe

File tree

10 files changed

+41
-41
lines changed

10 files changed

+41
-41
lines changed

amazongpt/greasemonkey/amazongpt.user.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @description Adds the magic of AI to Amazon shopping
44
// @author KudoAI
55
// @namespace https://kudoai.com
6-
// @version 2025.4.1.1
6+
// @version 2025.4.2
77
// @license MIT
88
// @icon https://cdn.jsdelivr.net/gh/KudoAI/amazongpt@0fddfc7/assets/images/icons/amazongpt/black-gold-teal/icon48.png
99
// @icon64 https://cdn.jsdelivr.net/gh/KudoAI/amazongpt@0fddfc7/assets/images/icons/amazongpt/black-gold-teal/icon64.png
@@ -433,7 +433,7 @@
433433
refresh() {
434434
if (typeof GM_unregisterMenuCommand == 'undefined')
435435
return log.debug('GM_unregisterMenuCommand not supported.')
436-
for (const id of this.ids) { GM_unregisterMenuCommand(id) } this.register()
436+
for (const id of this.entryIDs) { GM_unregisterMenuCommand(id) } this.register()
437437
},
438438

439439
register() {
@@ -442,11 +442,11 @@
442442
const pmLabel = this.state.symbols[+config.proxyAPIenabled] + ' '
443443
+ settings.controls.proxyAPIenabled.label + ' '
444444
+ this.state.separator + this.state.words[+config.proxyAPIenabled]
445-
this.ids = [GM_registerMenuCommand(pmLabel, toggle.proxyMode,
445+
this.entryIDs = [GM_registerMenuCommand(pmLabel, toggle.proxyMode,
446446
env.scriptManager.supportsTooltips ? { title: settings.controls.proxyAPIenabled.helptip } : undefined)];
447447

448448
// Add About/Settings entries
449-
['about', 'settings'].forEach(entryType => this.ids.push(GM_registerMenuCommand(
449+
['about', 'settings'].forEach(entryType => this.entryIDs.push(GM_registerMenuCommand(
450450
entryType == 'about' ? `💡 ${settings.controls.about.label}` : `⚙️ ${app.msgs.menuLabel_settings}`,
451451
() => modals.open(entryType), env.scriptManager.supportsTooltips ? { title: ' ' } : undefined
452452
)))

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

Lines changed: 4 additions & 4 deletions
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.4.1.3
228+
// @version 2025.4.2
229229
// @license MIT
230230
// @icon https://cdn.jsdelivr.net/gh/adamlui/autoclear-chatgpt-history@f461c06/assets/images/icons/openai/black/icon48.png
231231
// @icon64 https://cdn.jsdelivr.net/gh/adamlui/autoclear-chatgpt-history@f461c06/assets/images/icons/openai/black/icon64.png
@@ -420,13 +420,13 @@
420420

421421
refresh() {
422422
if (typeof GM_unregisterMenuCommand == 'undefined') return
423-
for (const id of this.ids) { GM_unregisterMenuCommand(id) } this.register()
423+
for (const id of this.entryIDs) { GM_unregisterMenuCommand(id) } this.register()
424424
},
425425

426426
register() {
427427

428428
// Add toggles
429-
this.ids = Object.keys(settings.controls).map(key => {
429+
this.entryIDs = Object.keys(settings.controls).map(key => {
430430
const ctrlType = settings.controls[key].type
431431
const ctrlStatus = settings.controls[key].status
432432
const menuLabel = `${
@@ -444,7 +444,7 @@
444444
});
445445

446446
// Add About/Donate entries
447-
['about', 'donate'].forEach(entryType => this.ids.push(GM_registerMenuCommand(
447+
['about', 'donate'].forEach(entryType => this.entryIDs.push(GM_registerMenuCommand(
448448
`${ entryType == 'about' ? '💡' : '💖' } ${
449449
app.msgs[`menuLabel_${entryType}`]} ${ entryType == 'about' ? app.msgs.appName : '' }`,
450450
() => entryType == 'about' ? modals.open(entryType) : modals.safeWinOpen(app.urls.donate.gitHub),

bravegpt/greasemonkey/bravegpt.user.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
// @description:zu Yengeza izimpendulo ze-AI ku-Brave Search (inikwa amandla yi-GPT-4o!)
149149
// @author KudoAI
150150
// @namespace https://kudoai.com
151-
// @version 2025.4.1.2
151+
// @version 2025.4.2
152152
// @license MIT
153153
// @icon https://cdn.jsdelivr.net/gh/KudoAI/bravegpt@df624b0/assets/images/icons/bravegpt/icon48.png
154154
// @icon64 https://cdn.jsdelivr.net/gh/KudoAI/bravegpt@df624b0/assets/images/icons/bravegpt/icon64.png
@@ -620,7 +620,7 @@
620620
refresh() {
621621
if (typeof GM_unregisterMenuCommand == 'undefined')
622622
return log.debug('GM_unregisterMenuCommand not supported.')
623-
for (const id of this.ids) { GM_unregisterMenuCommand(id) } this.register()
623+
for (const id of this.entryIDs) { GM_unregisterMenuCommand(id) } this.register()
624624
},
625625

626626
register() {
@@ -629,11 +629,11 @@
629629
const pmLabel = this.state.symbols[+config.proxyAPIenabled] + ' '
630630
+ settings.controls.proxyAPIenabled.label + ' '
631631
+ this.state.separator + this.state.words[+config.proxyAPIenabled]
632-
this.ids = [GM_registerMenuCommand(pmLabel, toggle.proxyMode,
632+
this.entryIDs = [GM_registerMenuCommand(pmLabel, toggle.proxyMode,
633633
env.scriptManager.supportsTooltips ? { title: settings.controls.proxyAPIenabled.helptip } : undefined)];
634634

635635
// Add About/Settings entries
636-
['about', 'settings'].forEach(entryType => this.ids.push(GM_registerMenuCommand(
636+
['about', 'settings'].forEach(entryType => this.entryIDs.push(GM_registerMenuCommand(
637637
entryType == 'about' ? `💡 ${settings.controls.about.label}` : `⚙️ ${app.msgs.menuLabel_settings}`,
638638
() => modals.open(entryType), env.scriptManager.supportsTooltips ? { title: ' ' } : undefined
639639
)))

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

Lines changed: 4 additions & 4 deletions
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.4.1.3
222+
// @version 2025.4.2
223223
// @license MIT
224224
// @icon https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-continue@a8c9387/assets/images/icons/continue-symbol/black/icon48.png
225225
// @icon64 https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-continue@a8c9387/assets/images/icons/continue-symbol/black/icon64.png
@@ -376,13 +376,13 @@
376376

377377
refresh() {
378378
if (typeof GM_unregisterMenuCommand == 'undefined') return
379-
for (const id of this.ids) { GM_unregisterMenuCommand(id) } this.register()
379+
for (const id of this.entryIDs) { GM_unregisterMenuCommand(id) } this.register()
380380
},
381381

382382
register() {
383383

384384
// Show "Disabled (extension active)"
385-
this.ids = env.extensionActive ? [
385+
this.entryIDs = env.extensionActive ? [
386386
GM_registerMenuCommand(`${this.state.symbols[0]} ${
387387
toTitleCase(app.msgs.state_disabled)} (${app.msgs.menuLabel_extensionActive})`,
388388
() => modals.open('about'), env.scriptManager.supportsTooltips ? { title: ' ' } : undefined )
@@ -406,7 +406,7 @@
406406
// Add About/Donate entries
407407
['about', 'donate'].forEach(entryType => {
408408
if (entryType === 'donate' && env.extensionActive) return
409-
this.ids.push(GM_registerMenuCommand(
409+
this.entryIDs.push(GM_registerMenuCommand(
410410
`${ entryType == 'about' ? '💡' : '💖' } ${
411411
app.msgs[`menuLabel_${entryType}`]} ${ entryType == 'about' ? app.msgs.appName : '' }`,
412412
() => entryType == 'about' ? modals.open(entryType) : modals.safeWinOpen(app.urls.donate.gitHub),

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

Lines changed: 4 additions & 4 deletions
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.4.1.4
223+
// @version 2025.4.2
224224
// @license MIT
225225
// @icon https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-refresh@f11a0a8/assets/images/icons/openai/black/icon48.png
226226
// @icon64 https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-refresh@f11a0a8/assets/images/icons/openai/black/icon64.png
@@ -430,7 +430,7 @@
430430

431431
refresh() {
432432
if (typeof GM_unregisterMenuCommand == 'undefined') return
433-
for (const id of this.ids) { GM_unregisterMenuCommand(id) } this.register()
433+
for (const id of this.entryIDs) { GM_unregisterMenuCommand(id) } this.register()
434434
},
435435

436436
register() {
@@ -439,7 +439,7 @@
439439
settings.controls.refreshInterval.status = `${config.refreshInterval}s`
440440

441441
// Add toggles
442-
this.ids = Object.keys(settings.controls).map(key => {
442+
this.entryIDs = Object.keys(settings.controls).map(key => {
443443
const ctrlType = settings.controls[key].type
444444
const ctrlStatus = settings.controls[key].status
445445
const menuLabel = `${
@@ -475,7 +475,7 @@
475475
});
476476

477477
// Add About/Donate entries
478-
['about', 'donate'].forEach(entryType => this.ids.push(GM_registerMenuCommand(
478+
['about', 'donate'].forEach(entryType => this.entryIDs.push(GM_registerMenuCommand(
479479
`${ entryType == 'about' ? '💡' : '💖' } ${
480480
app.msgs[`menuLabel_${entryType}`]} ${ entryType == 'about' ? app.msgs.appName : '' }`,
481481
() => entryType == 'about' ? modals.open(entryType) : modals.safeWinOpen(app.urls.donate.gitHub),

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

Lines changed: 4 additions & 4 deletions
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.4.1.3
228+
// @version 2025.4.2
229229
// @license MIT
230230
// @icon https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-talk@9f1ed3c/assets/images/icons/openai/black/icon48.png
231231
// @icon64 https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-talk@9f1ed3c/assets/images/icons/openai/black/icon64.png
@@ -410,13 +410,13 @@
410410

411411
refresh() {
412412
if (typeof GM_unregisterMenuCommand == 'undefined') return
413-
for (const id of this.ids) { GM_unregisterMenuCommand(id) } this.register()
413+
for (const id of this.entryIDs) { GM_unregisterMenuCommand(id) } this.register()
414414
},
415415

416416
register() {
417417

418418
// Add toggles
419-
this.ids = Object.keys(settings.controls).map(key => {
419+
this.entryIDs = Object.keys(settings.controls).map(key => {
420420
const ctrlType = settings.controls[key].type
421421
const ctrlStatus = settings.controls[key].status
422422
const menuLabel = `${
@@ -431,7 +431,7 @@
431431
});
432432

433433
// Add About/Donate entries
434-
['about', 'donate'].forEach(entryType => this.ids.push(GM_registerMenuCommand(
434+
['about', 'donate'].forEach(entryType => this.entryIDs.push(GM_registerMenuCommand(
435435
`${ entryType == 'about' ? '💡' : '💖' } ${
436436
app.msgs[`menuLabel_${entryType}`]} ${ entryType == 'about' ? app.msgs.appName : '' }`,
437437
() => entryType == 'about' ? modals.open(entryType) : modals.safeWinOpen(app.urls.donate.gitHub),

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

Lines changed: 4 additions & 4 deletions
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.4.1.4
202+
// @version 2025.4.2
203203
// @license MIT
204204
// @icon https://cdn.jsdelivr.net/gh/adamlui/chatgpt-infinity@8df6f33/assets/images/icons/infinity-symbol/circled/with-robot/icon48.png
205205
// @icon64 https://cdn.jsdelivr.net/gh/adamlui/chatgpt-infinity@8df6f33/assets/images/icons/infinity-symbol/circled/with-robot/icon64.png
@@ -393,14 +393,14 @@
393393

394394
refresh() {
395395
if (typeof GM_unregisterMenuCommand == 'undefined') return
396-
for (const id of this.ids) { GM_unregisterMenuCommand(id) } this.register()
396+
for (const id of this.entryIDs) { GM_unregisterMenuCommand(id) } this.register()
397397
},
398398

399399
register() {
400400
const re_all = new RegExp(`^(${app.msgs.menuLabel_all}|all|any|every)$`, 'i')
401401

402402
// Show "Disabled (extension active)"
403-
this.ids = env.extensionActive ? [
403+
this.entryIDs = env.extensionActive ? [
404404
GM_registerMenuCommand(`${this.state.symbols[0]} ${
405405
toTitleCase(app.msgs.state_disabled)} (${app.msgs.menuLabel_extensionActive})`,
406406
() => modals.open('about'), env.scriptManager.supportsTooltips ? { title: ' ' } : undefined )
@@ -474,7 +474,7 @@
474474
// Add About/Donate entries
475475
['about', 'donate'].forEach(entryType => {
476476
if (entryType === 'donate' && env.extensionActive) return
477-
this.ids.push(GM_registerMenuCommand(
477+
this.entryIDs.push(GM_registerMenuCommand(
478478
`${ entryType == 'about' ? '💡' : '💖' }`
479479
+ ` ${app.msgs[`menuLabel_${entryType}`]} ${ entryType == 'about' ? app.msgs.appName : '' }`,
480480
() => entryType == 'about' ? modals.open(entryType) : modals.safeWinOpen(app.urls.donate.gitHub),

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

Lines changed: 5 additions & 5 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.4.1.5
238+
// @version 2025.4.2
239239
// @license MIT
240240
// @icon https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@844b16e/assets/images/icons/widescreen-robot-emoji/icon48.png
241241
// @icon64 https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@844b16e/assets/images/icons/widescreen-robot-emoji/icon64.png
@@ -453,13 +453,13 @@
453453

454454
refresh() {
455455
if (typeof GM_unregisterMenuCommand == 'undefined') return
456-
for (const id of this.ids) { GM_unregisterMenuCommand(id) } this.register()
456+
for (const id of this.entryIDs) { GM_unregisterMenuCommand(id) } this.register()
457457
},
458458

459459
register() {
460460

461461
// Show "Disabled (extension active)"
462-
this.ids = env.extensionActive ? [
462+
this.entryIDs = env.extensionActive ? [
463463
GM_registerMenuCommand(`${this.state.symbols[0]} ${
464464
toTitleCase(app.msgs.state_disabled)} (${app.msgs.menuLabel_extensionActive})`,
465465
() => modals.open('about'), env.scriptManager.supportsTooltips ? { title: ' ' } : undefined )
@@ -489,7 +489,7 @@
489489
// Add Site Settings
490490
if (!env.extensionActive) {
491491
const siteSettingsLabel = `🌐 ${settings.categories.siteSettings.label}`
492-
this.ids.push(GM_registerMenuCommand(siteSettingsLabel, () => {
492+
this.entryIDs.push(GM_registerMenuCommand(siteSettingsLabel, () => {
493493

494494
// Show modal
495495
const siteSettingsModal = modals.alert(siteSettingsLabel,
@@ -590,7 +590,7 @@
590590
// Add About/Donate entries
591591
['about', 'donate'].forEach(entryType => {
592592
if (entryType === 'donate' && env.extensionActive) return
593-
this.ids.push(GM_registerMenuCommand(
593+
this.entryIDs.push(GM_registerMenuCommand(
594594
`${ entryType == 'about' ? '💡' : '💖' }`
595595
+ ` ${app.msgs[`menuLabel_${entryType}`]} ${ entryType == 'about' ? app.msgs.appName : '' }`,
596596
() => entryType == 'about' ? modals.open(entryType) : modals.safeWinOpen(app.urls.donate.gitHub),

duckduckgpt/greasemonkey/duckduckgpt.user.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
// @description:zu Yengeza izimpendulo ze-AI ku-DuckDuckGo (inikwa amandla yi-GPT-4o!)
149149
// @author KudoAI
150150
// @namespace https://kudoai.com
151-
// @version 2025.4.1.1
151+
// @version 2025.4.2
152152
// @license MIT
153153
// @icon https://cdn.jsdelivr.net/gh/KudoAI/duckduckgpt@06af076/assets/images/icons/duckduckgpt/icon48.png
154154
// @icon64 https://cdn.jsdelivr.net/gh/KudoAI/duckduckgpt@06af076/assets/images/icons/duckduckgpt/icon64.png
@@ -620,7 +620,7 @@
620620
refresh() {
621621
if (typeof GM_unregisterMenuCommand == 'undefined')
622622
return log.debug('GM_unregisterMenuCommand not supported.')
623-
for (const id of this.ids) { GM_unregisterMenuCommand(id) } this.register()
623+
for (const id of this.entryIDs) { GM_unregisterMenuCommand(id) } this.register()
624624
},
625625

626626
register() {
@@ -629,11 +629,11 @@
629629
const pmLabel = this.state.symbols[+config.proxyAPIenabled] + ' '
630630
+ settings.controls.proxyAPIenabled.label + ' '
631631
+ this.state.separator + this.state.words[+config.proxyAPIenabled]
632-
this.ids = [GM_registerMenuCommand(pmLabel, toggle.proxyMode,
632+
this.entryIDs = [GM_registerMenuCommand(pmLabel, toggle.proxyMode,
633633
env.scriptManager.supportsTooltips ? { title: settings.controls.proxyAPIenabled.helptip } : undefined)];
634634

635635
// Add About/Settings entries
636-
['about', 'settings'].forEach(entryType => this.ids.push(GM_registerMenuCommand(
636+
['about', 'settings'].forEach(entryType => this.entryIDs.push(GM_registerMenuCommand(
637637
entryType == 'about' ? `💡 ${settings.controls.about.label}` : `⚙️ ${app.msgs.menuLabel_settings}`,
638638
() => modals.open(entryType), env.scriptManager.supportsTooltips ? { title: ' ' } : undefined
639639
)))

googlegpt/greasemonkey/googlegpt.user.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
// @description:zu Yengeza izimpendulo ze-AI ku-Google Search (inikwa amandla yi-Google Gemma + GPT-4o!)
150150
// @author KudoAI
151151
// @namespace https://kudoai.com
152-
// @version 2025.4.1.1
152+
// @version 2025.4.2
153153
// @license MIT
154154
// @icon https://cdn.jsdelivr.net/gh/KudoAI/googlegpt@59409b2/assets/images/icons/googlegpt/black/icon48.png
155155
// @icon64 https://cdn.jsdelivr.net/gh/KudoAI/googlegpt@59409b2/assets/images/icons/googlegpt/black/icon64.png
@@ -802,7 +802,7 @@
802802
refresh() {
803803
if (typeof GM_unregisterMenuCommand == 'undefined')
804804
return log.debug('GM_unregisterMenuCommand not supported.')
805-
for (const id of this.ids) { GM_unregisterMenuCommand(id) } this.register()
805+
for (const id of this.entryIDs) { GM_unregisterMenuCommand(id) } this.register()
806806
},
807807

808808
register() {
@@ -811,11 +811,11 @@
811811
const pmLabel = this.state.symbols[+config.proxyAPIenabled] + ' '
812812
+ settings.controls.proxyAPIenabled.label + ' '
813813
+ this.state.separator + this.state.words[+config.proxyAPIenabled]
814-
this.ids = [GM_registerMenuCommand(pmLabel, toggle.proxyMode,
814+
this.entryIDs = [GM_registerMenuCommand(pmLabel, toggle.proxyMode,
815815
env.scriptManager.supportsTooltips ? { title: settings.controls.proxyAPIenabled.helptip } : undefined)];
816816

817817
// Add About/Settings entries
818-
['about', 'settings'].forEach(entryType => this.ids.push(GM_registerMenuCommand(
818+
['about', 'settings'].forEach(entryType => this.entryIDs.push(GM_registerMenuCommand(
819819
entryType == 'about' ? `💡 ${settings.controls.about.label}` : `⚙️ ${app.msgs.menuLabel_settings}`,
820820
() => modals.open(entryType), env.scriptManager.supportsTooltips ? { title: ' ' } : undefined
821821
)))

0 commit comments

Comments
 (0)