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 | { |
Adrià Vilanova Martínez | 41afccc | 2021-10-16 00:08:50 +0200 | [diff] [blame] | 7 | name: 'featuredoptions', |
Adrià Vilanova Martínez | 09f35be | 2021-09-06 19:50:09 +0200 | [diff] [blame] | 8 | options: [ |
| 9 | {codename: 'list'}, |
| 10 | {codename: 'thread'}, |
| 11 | {codename: 'threadall'}, |
Adrià Vilanova Martínez | 09f35be | 2021-09-06 19:50:09 +0200 | [diff] [blame] | 12 | {codename: 'ccdarktheme'}, |
avm99963 | 6c1869e | 2021-08-09 13:24:10 +0200 | [diff] [blame] | 13 | {codename: 'threadlistavatars'}, |
Adrià Vilanova Martínez | 41afccc | 2021-10-16 00:08:50 +0200 | [diff] [blame] | 14 | {codename: 'history'}, |
Adrià Vilanova Martínez | 8c6ce3e | 2022-02-01 14:24:41 +0100 | [diff] [blame] | 15 | {codename: 'perforumstats'}, |
Adrià Vilanova Martínez | 41afccc | 2021-10-16 00:08:50 +0200 | [diff] [blame] | 16 | {codename: 'batchlock'}, |
Adrià Vilanova Martínez | 2a99c24 | 2021-09-07 12:44:16 +0200 | [diff] [blame] | 17 | {codename: 'autorefreshlist'}, |
Adrià Vilanova Martínez | a4dd5fd | 2022-01-05 04:23:44 +0100 | [diff] [blame] | 18 | // #!if ['chromium', 'chromium_mv3'].includes(browser_target) |
| 19 | {codename: 'blockdrafts'}, |
| 20 | // #!endif |
Adrià Vilanova Martínez | 09f35be | 2021-09-06 19:50:09 +0200 | [diff] [blame] | 21 | ], |
| 22 | }, |
| 23 | { |
Adrià Vilanova Martínez | 41afccc | 2021-10-16 00:08:50 +0200 | [diff] [blame] | 24 | name: null, |
Adrià Vilanova Martínez | 09f35be | 2021-09-06 19:50:09 +0200 | [diff] [blame] | 25 | options: [ |
| 26 | {codename: 'profileindicator'}, |
| 27 | {codename: 'profileindicatoralt'}, |
| 28 | ], |
| 29 | footerHTML: '<div class="option"><a id="profileIndicatorMoreInfo" target="_blank" rel="noreferrer noopener" data-i18n="profileindicator_moreinfo"></a></div>', |
| 30 | }, |
Adrià Vilanova Martínez | 41afccc | 2021-10-16 00:08:50 +0200 | [diff] [blame] | 31 | { |
| 32 | name: 'minorenhancements', |
| 33 | options: [ |
| 34 | {codename: 'fixedtoolbar'}, |
| 35 | {codename: 'redirect'}, |
| 36 | {codename: 'loaddrafts', experimental: true}, |
| 37 | {codename: 'increasecontrast'}, |
| 38 | {codename: 'stickysidebarheaders'}, |
| 39 | {codename: 'ccforcehidedrawer'}, |
Adrià Vilanova Martínez | eebc0ac | 2022-01-05 14:45:53 +0100 | [diff] [blame] | 40 | // #!if ['chromium', 'chromium_mv3'].includes(browser_target) |
| 41 | {codename: 'ccdragndropfix'}, |
| 42 | // #!endif |
Adrià Vilanova Martínez | 41afccc | 2021-10-16 00:08:50 +0200 | [diff] [blame] | 43 | {codename: 'enhancedannouncementsdot'}, |
| 44 | {codename: 'repositionexpandthread', experimental: true}, |
Adrià Vilanova Martínez | 9d27c21 | 2021-12-05 13:54:10 +0100 | [diff] [blame] | 45 | {codename: 'imagemaxheight'}, |
Adrià Vilanova Martínez | 849ede6 | 2022-06-20 19:10:28 +0200 | [diff] [blame] | 46 | {codename: 'interopthreadpage'}, |
Adrià Vilanova Martínez | 41afccc | 2021-10-16 00:08:50 +0200 | [diff] [blame] | 47 | ], |
| 48 | }, |
Adrià Vilanova Martínez | 09f35be | 2021-09-06 19:50:09 +0200 | [diff] [blame] | 49 | ], |
| 50 | } |