blob: 3234770a0ec7f9d1416b4cc397d417d57c31f53d [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ínezb0f05312023-04-13 00:08:12 +020014 {codename: 'flattenthreads'},
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020015 {codename: 'history'},
Adrià Vilanova Martínez8c6ce3e2022-02-01 14:24:41 +010016 {codename: 'perforumstats'},
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020017 {codename: 'batchlock'},
Adrià Vilanova Martínez2a99c242021-09-07 12:44:16 +020018 {codename: 'autorefreshlist'},
Adrià Vilanova Martínez09f35be2021-09-06 19:50:09 +020019 ],
20 },
21 {
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020022 name: null,
Adrià Vilanova Martínez09f35be2021-09-06 19:50:09 +020023 options: [
24 {codename: 'profileindicator'},
25 {codename: 'profileindicatoralt'},
26 ],
27 footerHTML: '<div class="option"><a id="profileIndicatorMoreInfo" target="_blank" rel="noreferrer noopener" data-i18n="profileindicator_moreinfo"></a></div>',
28 },
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020029 {
30 name: 'minorenhancements',
31 options: [
32 {codename: 'fixedtoolbar'},
33 {codename: 'redirect'},
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020034 {codename: 'increasecontrast'},
35 {codename: 'stickysidebarheaders'},
36 {codename: 'ccforcehidedrawer'},
Adrià Vilanova Martínezeebc0ac2022-01-05 14:45:53 +010037 // #!if ['chromium', 'chromium_mv3'].includes(browser_target)
38 {codename: 'ccdragndropfix'},
39 // #!endif
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020040 {codename: 'enhancedannouncementsdot'},
41 {codename: 'repositionexpandthread', experimental: true},
Adrià Vilanova Martínez9d27c212021-12-05 13:54:10 +010042 {codename: 'imagemaxheight'},
avm999634ba9dd62022-08-22 20:29:04 +020043 {codename: 'uispacing'},
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020044 ],
45 },
Adrià Vilanova Martínez09f35be2021-09-06 19:50:09 +020046 ],
47}