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