blob: 9435ece82742a6d4f9493cb82e511a724cb3cf8d [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íneza4dd5fd2022-01-05 04:23:44 +010019 // #!if ['chromium', 'chromium_mv3'].includes(browser_target)
20 {codename: 'blockdrafts'},
21 // #!endif
Adrià Vilanova Martínez09f35be2021-09-06 19:50:09 +020022 ],
23 },
24 {
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020025 name: null,
Adrià Vilanova Martínez09f35be2021-09-06 19:50:09 +020026 options: [
27 {codename: 'profileindicator'},
28 {codename: 'profileindicatoralt'},
29 ],
30 footerHTML: '<div class="option"><a id="profileIndicatorMoreInfo" target="_blank" rel="noreferrer noopener" data-i18n="profileindicator_moreinfo"></a></div>',
31 },
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020032 {
33 name: 'minorenhancements',
34 options: [
35 {codename: 'fixedtoolbar'},
36 {codename: 'redirect'},
37 {codename: 'loaddrafts', experimental: true},
38 {codename: 'increasecontrast'},
39 {codename: 'stickysidebarheaders'},
40 {codename: 'ccforcehidedrawer'},
Adrià Vilanova Martínezeebc0ac2022-01-05 14:45:53 +010041 // #!if ['chromium', 'chromium_mv3'].includes(browser_target)
42 {codename: 'ccdragndropfix'},
43 // #!endif
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020044 {codename: 'enhancedannouncementsdot'},
45 {codename: 'repositionexpandthread', experimental: true},
Adrià Vilanova Martínez9d27c212021-12-05 13:54:10 +010046 {codename: 'imagemaxheight'},
Adrià Vilanova Martínez849ede62022-06-20 19:10:28 +020047 {codename: 'interopthreadpage'},
avm999634ba9dd62022-08-22 20:29:04 +020048 {codename: 'uispacing'},
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020049 ],
50 },
Adrià Vilanova Martínez09f35be2021-09-06 19:50:09 +020051 ],
52}