blob: 92a554f5b1ea19bb56225949bc8908a88b757721 [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: [
Adrià Vilanova Martínez66dba7c2024-05-15 22:38:20 +02009 {codename: 'fixpekb269560789'},
Adrià Vilanova Martínez09f35be2021-09-06 19:50:09 +020010 {codename: 'list'},
11 {codename: 'thread'},
12 {codename: 'threadall'},
Adrià Vilanova Martínez09f35be2021-09-06 19:50:09 +020013 {codename: 'ccdarktheme'},
avm999636c1869e2021-08-09 13:24:10 +020014 {codename: 'threadlistavatars'},
Adrià Vilanova Martínezb0f05312023-04-13 00:08:12 +020015 {codename: 'flattenthreads'},
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020016 {codename: 'history'},
Adrià Vilanova Martínez8c6ce3e2022-02-01 14:24:41 +010017 {codename: 'perforumstats'},
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020018 {codename: 'batchlock'},
Adrià Vilanova Martínez2a99c242021-09-07 12:44:16 +020019 {codename: 'autorefreshlist'},
Adrià Vilanova Martíneza4dd5fd2022-01-05 04:23:44 +010020 // #!if ['chromium', 'chromium_mv3'].includes(browser_target)
21 {codename: 'blockdrafts'},
22 // #!endif
Adrià Vilanova Martínez09f35be2021-09-06 19:50:09 +020023 ],
24 },
25 {
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020026 name: null,
Adrià Vilanova Martínez09f35be2021-09-06 19:50:09 +020027 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ínez41afccc2021-10-16 00:08:50 +020033 {
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ínezeebc0ac2022-01-05 14:45:53 +010042 // #!if ['chromium', 'chromium_mv3'].includes(browser_target)
43 {codename: 'ccdragndropfix'},
44 // #!endif
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020045 {codename: 'enhancedannouncementsdot'},
46 {codename: 'repositionexpandthread', experimental: true},
Adrià Vilanova Martínez9d27c212021-12-05 13:54:10 +010047 {codename: 'imagemaxheight'},
Adrià Vilanova Martínez849ede62022-06-20 19:10:28 +020048 {codename: 'interopthreadpage'},
avm999634ba9dd62022-08-22 20:29:04 +020049 {codename: 'uispacing'},
Adrià Vilanova Martínez41afccc2021-10-16 00:08:50 +020050 ],
51 },
Adrià Vilanova Martínez09f35be2021-09-06 19:50:09 +020052 ],
53}