blob: 1b4f4d3c1f49e378b7342e251f2fb3d2834fd534 [file] [log] [blame]
Adrià Vilanova Martínez09f35be2021-09-06 19:50:09 +02001// 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ínez41afccc2021-10-16 00:08:50 +02007 name: 'featuredoptions',
Adrià Vilanova Martínez09f35be2021-09-06 19:50:09 +02008 options: [
9 {codename: 'list'},
10 {codename: 'thread'},
11 {codename: 'threadall'},
Adrià Vilanova Martínez09f35be2021-09-06 19:50:09 +020012 {codename: 'ccdarktheme'},
avm999636c1869e2021-08-09 13:24:10 +020013 {codename: 'threadlistavatars'},
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020014 {codename: 'history'},
Adrià Vilanova Martínez8c6ce3e2022-02-01 14:24:41 +010015 {codename: 'perforumstats'},
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020016 {codename: 'batchlock'},
Adrià Vilanova Martínez2a99c242021-09-07 12:44:16 +020017 {codename: 'autorefreshlist'},
Adrià Vilanova Martíneza4dd5fd2022-01-05 04:23:44 +010018 // #!if ['chromium', 'chromium_mv3'].includes(browser_target)
19 {codename: 'blockdrafts'},
20 // #!endif
Adrià Vilanova Martínez09f35be2021-09-06 19:50:09 +020021 ],
22 },
23 {
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020024 name: null,
Adrià Vilanova Martínez09f35be2021-09-06 19:50:09 +020025 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ínez41afccc2021-10-16 00:08:50 +020031 {
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ínezeebc0ac2022-01-05 14:45:53 +010040 // #!if ['chromium', 'chromium_mv3'].includes(browser_target)
41 {codename: 'ccdragndropfix'},
42 // #!endif
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020043 {codename: 'enhancedannouncementsdot'},
44 {codename: 'repositionexpandthread', experimental: true},
Adrià Vilanova Martínez9d27c212021-12-05 13:54:10 +010045 {codename: 'imagemaxheight'},
Adrià Vilanova Martínez849ede62022-06-20 19:10:28 +020046 {codename: 'interopthreadpage'},
avm999634ba9dd62022-08-22 20:29:04 +020047 {codename: 'uispacing'},
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020048 ],
49 },
Adrià Vilanova Martínez09f35be2021-09-06 19:50:09 +020050 ],
51}