Skip to content

Commit 13dd7bf

Browse files
committed
Removed Greasemonkey excludes from controls
1 parent b8115de commit 13dd7bf

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

chatgpt-widescreen/chromium/extension/lib/settings.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,18 @@ window.settings = {
5050
controls: { // displays top-to-bottom in toolbar menu
5151
get widescreen() { return {
5252
type: 'toggle', defaultVal: true, category: 'displaySettings',
53-
label: settings.getMsg('mode_widescreen'),
54-
excludes: { env: ['greasemonkey'] }
53+
label: settings.getMsg('mode_widescreen')
5554
}},
5655
get widescreenWidth() { return {
5756
type: 'slider', symbol: '↔️', defaultVal: 100, category: 'displaySettings',
5857
label: `${settings.getMsg('mode_widescreen')} ${settings.getMsg('menuLabel_width')}`, labelSuffix: '%',
5958
helptip: settings.getMsg('helptip_widescreenWidth'),
60-
excludes: { env: ['greasemonkey'] }, dependencies: { controls: ['widescreen'] }
59+
dependencies: { controls: ['widescreen'] }
6160
}},
6261
get fullWindow() { return {
6362
type: 'toggle', defaultVal: false, category: 'displaySettings',
6463
label: settings.getMsg('mode_fullWindow'),
65-
excludes: { env: ['greasemonkey'] }, throttle: env.site == 'chatgpt' ? 750 : false
64+
throttle: env.site == 'chatgpt' ? 750 : false
6665
}},
6766
get tcbDisabled() { return {
6867
type: 'toggle', symbol: '↕️', defaultVal: true, category: 'chatboxSettings',
@@ -75,7 +74,7 @@ window.settings = {
7574
settings.getMsg('menuLabel_height')}`,
7675
labelSuffix: '%',
7776
helptip: settings.getMsg('helptip_tallerChatboxHeight'),
78-
excludes: { env: ['greasemonkey'] }, dependencies: { controls: ['tcbDisabled'] }
77+
dependencies: { controls: ['tcbDisabled'] }
7978
}},
8079
get widerChatbox() { return {
8180
type: 'toggle', symbol: '↔️', defaultVal: true, category: 'chatboxSettings',
@@ -88,7 +87,7 @@ window.settings = {
8887
settings.getMsg('menuLabel_width')}`,
8988
labelSuffix: '%',
9089
helptip: settings.getMsg('helptip_widerChatboxWidth'),
91-
excludes: { env: ['greasemonkey'] }, dependencies: { controls: ['widerChatbox'] }
90+
dependencies: { controls: ['widerChatbox'] }
9291
}},
9392
get ncbDisabled() { return {
9493
type: 'toggle', defaultVal: false, category: 'btnSettings',

chatgpt-widescreen/firefox/extension/lib/settings.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,18 @@ window.settings = {
5050
controls: { // displays top-to-bottom in toolbar menu
5151
get widescreen() { return {
5252
type: 'toggle', defaultVal: true, category: 'displaySettings',
53-
label: settings.getMsg('mode_widescreen'),
54-
excludes: { env: ['greasemonkey'] }
53+
label: settings.getMsg('mode_widescreen')
5554
}},
5655
get widescreenWidth() { return {
5756
type: 'slider', symbol: '↔️', defaultVal: 100, category: 'displaySettings',
5857
label: `${settings.getMsg('mode_widescreen')} ${settings.getMsg('menuLabel_width')}`, labelSuffix: '%',
5958
helptip: settings.getMsg('helptip_widescreenWidth'),
60-
excludes: { env: ['greasemonkey'] }, dependencies: { controls: ['widescreen'] }
59+
dependencies: { controls: ['widescreen'] }
6160
}},
6261
get fullWindow() { return {
6362
type: 'toggle', defaultVal: false, category: 'displaySettings',
6463
label: settings.getMsg('mode_fullWindow'),
65-
excludes: { env: ['greasemonkey'] }, throttle: env.site == 'chatgpt' ? 750 : false
64+
throttle: env.site == 'chatgpt' ? 750 : false
6665
}},
6766
get tcbDisabled() { return {
6867
type: 'toggle', symbol: '↕️', defaultVal: true, category: 'chatboxSettings',
@@ -75,7 +74,7 @@ window.settings = {
7574
settings.getMsg('menuLabel_height')}`,
7675
labelSuffix: '%',
7776
helptip: settings.getMsg('helptip_tallerChatboxHeight'),
78-
excludes: { env: ['greasemonkey'] }, dependencies: { controls: ['tcbDisabled'] }
77+
dependencies: { controls: ['tcbDisabled'] }
7978
}},
8079
get widerChatbox() { return {
8180
type: 'toggle', symbol: '↔️', defaultVal: true, category: 'chatboxSettings',
@@ -88,7 +87,7 @@ window.settings = {
8887
settings.getMsg('menuLabel_width')}`,
8988
labelSuffix: '%',
9089
helptip: settings.getMsg('helptip_widerChatboxWidth'),
91-
excludes: { env: ['greasemonkey'] }, dependencies: { controls: ['widerChatbox'] }
90+
dependencies: { controls: ['widerChatbox'] }
9291
}},
9392
get ncbDisabled() { return {
9493
type: 'toggle', defaultVal: false, category: 'btnSettings',

0 commit comments

Comments
 (0)