blob: 24bafddbc847bdbc28009631e056d293e457ba27 [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'},
15 {codename: 'batchlock'},
Adrià Vilanova Martínez2a99c242021-09-07 12:44:16 +020016 {codename: 'autorefreshlist'},
Adrià Vilanova Martíneza4dd5fd2022-01-05 04:23:44 +010017 // #!if ['chromium', 'chromium_mv3'].includes(browser_target)
18 {codename: 'blockdrafts'},
19 // #!endif
Adrià Vilanova Martínez09f35be2021-09-06 19:50:09 +020020 ],
21 },
22 {
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020023 name: null,
Adrià Vilanova Martínez09f35be2021-09-06 19:50:09 +020024 options: [
25 {codename: 'profileindicator'},
26 {codename: 'profileindicatoralt'},
27 ],
28 footerHTML: '<div class="option"><a id="profileIndicatorMoreInfo" target="_blank" rel="noreferrer noopener" data-i18n="profileindicator_moreinfo"></a></div>',
29 },
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020030 {
31 name: 'minorenhancements',
32 options: [
33 {codename: 'fixedtoolbar'},
34 {codename: 'redirect'},
35 {codename: 'loaddrafts', experimental: true},
36 {codename: 'increasecontrast'},
37 {codename: 'stickysidebarheaders'},
38 {codename: 'ccforcehidedrawer'},
39 {codename: 'ccdragndropfix', customHTML: '<div id="dragndrop-wrapper" class="option" hidden><input type="checkbox" id="ccdragndropfix"> <label for="ccdragndropfix" data-i18n="ccdragndropfix"></label></div>'},
40 {codename: 'enhancedannouncementsdot'},
41 {codename: 'repositionexpandthread', experimental: true},
Adrià Vilanova Martínez9d27c212021-12-05 13:54:10 +010042 {codename: 'imagemaxheight'},
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020043 ],
44 },
Adrià Vilanova Martínez09f35be2021-09-06 19:50:09 +020045 ],
46}