Adrià Vilanova MartÃnez | 09f35be | 2021-09-06 19:50:09 +0200 | [diff] [blame] | 1 | // This file defines the sections of the options page, in which section each |
| 2 | // option appears in, whether the "experimental" label should appear next to the |
| 3 | // option label, and whether each option should use custom HTML. |
| 4 | { |
| 5 | sections: [ |
| 6 | { |
| 7 | name: null, |
| 8 | options: [ |
| 9 | {codename: 'list'}, |
| 10 | {codename: 'thread'}, |
| 11 | {codename: 'threadall'}, |
| 12 | ], |
| 13 | }, |
| 14 | { |
| 15 | name: 'enhancements', |
| 16 | options: [ |
| 17 | {codename: 'fixedtoolbar'}, |
| 18 | {codename: 'redirect'}, |
| 19 | {codename: 'history'}, |
| 20 | {codename: 'loaddrafts', experimental: true}, |
| 21 | {codename: 'increasecontrast'}, |
| 22 | {codename: 'stickysidebarheaders'}, |
| 23 | {codename: 'ccdarktheme'}, |
| 24 | {codename: 'ccforcehidedrawer'}, |
| 25 | {codename: 'ccdragndropfix', customHTML: '<div id="dragndrop-wrapper" class="option" hidden><input type="checkbox" id="ccdragndropfix"> <label for="ccdragndropfix" data-i18n="ccdragndropfix"></label></div>'}, |
| 26 | {codename: 'batchlock'}, |
| 27 | {codename: 'enhancedannouncementsdot'}, |
| 28 | {codename: 'repositionexpandthread', experimental: true}, |
| 29 | ], |
| 30 | }, |
| 31 | { |
| 32 | name: 'profileindicator_header', |
| 33 | options: [ |
| 34 | {codename: 'profileindicator'}, |
| 35 | {codename: 'profileindicatoralt'}, |
| 36 | ], |
| 37 | footerHTML: '<div class="option"><a id="profileIndicatorMoreInfo" target="_blank" rel="noreferrer noopener" data-i18n="profileindicator_moreinfo"></a></div>', |
| 38 | }, |
| 39 | ], |
| 40 | } |