Skip to content

Commit

Permalink
Expose more debug options to the shorthand menu
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Nov 6, 2020
1 parent 906c64e commit 01e8fb3
Showing 1 changed file with 39 additions and 1 deletion.
40 changes: 39 additions & 1 deletion webextensions/background/browser-action-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -1362,12 +1362,50 @@ const mItems = [
title: browser.i18n.getMessage('config_debug_caption'),
enabled: false
},
{
title: indent() + browser.i18n.getMessage('config_colorScheme_caption'),
children: [
{
title: browser.i18n.getMessage('config_colorScheme_photon'),
key: 'colorScheme',
value: 'photon',
type: 'radio'
},
{
title: browser.i18n.getMessage('config_colorScheme_systemColor'),
key: 'colorScheme',
value: 'system-color',
type: 'radio'
}
]
},
/*
{
title: indent() + browser.i18n.getMessage('config_enableLinuxBehaviors_label'),
key: 'enableLinuxBehaviors',
type: 'checkbox'
},
*/
{
title: indent() + browser.i18n.getMessage('config_enableMacOSBehaviors_label'),
key: 'enableMacOSBehaviors',
type: 'checkbox'
},
{
title: indent() + browser.i18n.getMessage('config_enableWindowsBehaviors_label'),
key: 'enableWindowsBehaviors',
type: 'checkbox'
},
{
title: indent() + browser.i18n.getMessage('config_loggingQueries_label'),
key: 'loggingQueries',
type: 'checkbox'
},
{ type: 'separator' },
{
title: indent(2) + browser.i18n.getMessage('config_loggingConnectionMessages_label'),
key: 'loggingConnectionMessages',
type: 'checkbox'
},
{
title: indent() + browser.i18n.getMessage('config_debug_label'),
key: 'debug',
Expand Down

0 comments on commit 01e8fb3

Please sign in to comment.