Adrià Vilanova Martínez | 3465e77 | 2021-07-11 19:18:41 +0200 | [diff] [blame] | 1 | { |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 2 | // Available options: |
| 3 | 'list': { |
| 4 | defaultValue: true, |
| 5 | context: 'options', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 6 | killSwitchType: 'option', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 7 | }, |
| 8 | 'thread': { |
Adrià Vilanova Martínez | c3fd369 | 2021-10-16 00:28:56 +0200 | [diff] [blame] | 9 | defaultValue: false, |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 10 | context: 'options', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 11 | killSwitchType: 'option', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 12 | }, |
| 13 | 'threadall': { |
Adrià Vilanova Martínez | c3fd369 | 2021-10-16 00:28:56 +0200 | [diff] [blame] | 14 | defaultValue: true, |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 15 | context: 'options', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 16 | killSwitchType: 'option', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 17 | }, |
| 18 | 'fixedtoolbar': { |
| 19 | defaultValue: false, |
| 20 | context: 'options', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 21 | killSwitchType: 'option', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 22 | }, |
| 23 | 'redirect': { |
| 24 | defaultValue: false, |
| 25 | context: 'options', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 26 | killSwitchType: 'option', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 27 | }, |
| 28 | 'history': { |
| 29 | defaultValue: false, |
| 30 | context: 'options', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 31 | killSwitchType: 'option', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 32 | }, |
| 33 | 'loaddrafts': { |
| 34 | defaultValue: false, |
| 35 | context: 'options', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 36 | killSwitchType: 'option', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 37 | }, |
| 38 | 'increasecontrast': { |
| 39 | defaultValue: false, |
| 40 | context: 'options', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 41 | killSwitchType: 'option', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 42 | }, |
| 43 | 'stickysidebarheaders': { |
| 44 | defaultValue: false, |
| 45 | context: 'options', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 46 | killSwitchType: 'option', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 47 | }, |
| 48 | 'profileindicator': { |
| 49 | defaultValue: false, |
| 50 | context: 'options', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 51 | killSwitchType: 'option', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 52 | }, |
| 53 | 'profileindicatoralt': { |
| 54 | defaultValue: false, |
| 55 | context: 'options', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 56 | killSwitchType: 'option', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 57 | }, |
| 58 | 'profileindicatoralt_months': { |
| 59 | defaultValue: 12, |
| 60 | context: 'options', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 61 | killSwitchType: 'ignore', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 62 | }, |
| 63 | 'ccdarktheme': { |
| 64 | defaultValue: false, |
| 65 | context: 'options', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 66 | killSwitchType: 'option', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 67 | }, |
| 68 | 'ccdarktheme_mode': { |
| 69 | defaultValue: 'switch', |
| 70 | context: 'options', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 71 | killSwitchType: 'ignore', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 72 | }, |
| 73 | 'ccforcehidedrawer': { |
| 74 | defaultValue: false, |
| 75 | context: 'options', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 76 | killSwitchType: 'option', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 77 | }, |
Adrià Vilanova Martínez | eebc0ac | 2022-01-05 14:45:53 +0100 | [diff] [blame] | 78 | // #!if ['chromium', 'chromium_mv3'].includes(browser_target) |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 79 | 'ccdragndropfix': { |
| 80 | defaultValue: false, |
| 81 | context: 'options', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 82 | killSwitchType: 'option', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 83 | }, |
Adrià Vilanova Martínez | eebc0ac | 2022-01-05 14:45:53 +0100 | [diff] [blame] | 84 | // #!endif |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 85 | 'batchlock': { |
| 86 | defaultValue: false, |
| 87 | context: 'options', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 88 | killSwitchType: 'option', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 89 | }, |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 90 | 'enhancedannouncementsdot': { |
| 91 | defaultValue: false, |
| 92 | context: 'options', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 93 | killSwitchType: 'option', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 94 | }, |
| 95 | 'repositionexpandthread': { |
| 96 | defaultValue: false, |
| 97 | context: 'options', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 98 | killSwitchType: 'option', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 99 | }, |
avm99963 | 3eae452 | 2021-04-22 01:14:27 +0200 | [diff] [blame] | 100 | 'threadlistavatars': { |
| 101 | defaultValue: false, |
avm99963 | 6c1869e | 2021-08-09 13:24:10 +0200 | [diff] [blame] | 102 | context: 'options', |
| 103 | killSwitchType: 'option', |
avm99963 | 3eae452 | 2021-04-22 01:14:27 +0200 | [diff] [blame] | 104 | }, |
avm99963 | a007d49 | 2021-05-02 12:32:03 +0200 | [diff] [blame] | 105 | 'autorefreshlist': { |
| 106 | defaultValue: false, |
Adrià Vilanova Martínez | 2a99c24 | 2021-09-07 12:44:16 +0200 | [diff] [blame] | 107 | context: 'options', |
| 108 | killSwitchType: 'option', |
avm99963 | a007d49 | 2021-05-02 12:32:03 +0200 | [diff] [blame] | 109 | }, |
Adrià Vilanova Martínez | 9d27c21 | 2021-12-05 13:54:10 +0100 | [diff] [blame] | 110 | 'imagemaxheight': { |
| 111 | defaultValue: false, |
| 112 | context: 'options', |
| 113 | killSwitchType: 'option', |
| 114 | }, |
Adrià Vilanova Martínez | a4dd5fd | 2022-01-05 04:23:44 +0100 | [diff] [blame] | 115 | // #!if ['chromium', 'chromium_mv3'].includes(browser_target) |
| 116 | 'blockdrafts': { |
| 117 | defaultValue: false, |
| 118 | context: 'options', |
| 119 | killSwitchType: 'option', |
| 120 | }, |
| 121 | // #!endif |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 122 | |
Adrià Vilanova Martínez | 2a99c24 | 2021-09-07 12:44:16 +0200 | [diff] [blame] | 123 | // Experiments: |
| 124 | |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 125 | // Internal options: |
| 126 | 'ccdarktheme_switch_enabled': { |
| 127 | defaultValue: true, |
| 128 | context: 'internal', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 129 | killSwitchType: 'ignore', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 130 | }, |
| 131 | |
| 132 | // Deprecated options: |
| 133 | 'escalatethreads': { |
| 134 | defaultValue: false, |
| 135 | context: 'deprecated', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 136 | killSwitchType: 'deprecated', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 137 | }, |
| 138 | 'movethreads': { |
| 139 | defaultValue: false, |
| 140 | context: 'deprecated', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 141 | killSwitchType: 'deprecated', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 142 | }, |
| 143 | 'batchduplicate': { |
| 144 | defaultValue: false, |
| 145 | context: 'deprecated', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 146 | killSwitchType: 'deprecated', |
avm99963 | bf8eece | 2021-04-22 00:27:03 +0200 | [diff] [blame] | 147 | }, |
avm99963 | a858ef7 | 2021-04-22 01:18:31 +0200 | [diff] [blame] | 148 | 'smei_sortdirection': { |
| 149 | defaultValue: false, |
| 150 | context: 'deprecated', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 151 | killSwitchType: 'deprecated', |
avm99963 | a858ef7 | 2021-04-22 01:18:31 +0200 | [diff] [blame] | 152 | }, |
Adrià Vilanova Martínez | ffd26cf | 2021-07-22 23:54:22 +0200 | [diff] [blame] | 153 | 'forcemarkasread': { |
| 154 | defaultValue: false, |
| 155 | context: 'deprecated', |
Adrià Vilanova Martínez | 51628bb | 2021-09-04 00:22:15 +0200 | [diff] [blame] | 156 | killSwitchType: 'deprecated', |
Adrià Vilanova Martínez | ffd26cf | 2021-07-22 23:54:22 +0200 | [diff] [blame] | 157 | }, |
Adrià Vilanova Martínez | 2d22c4a | 2021-09-06 00:35:18 +0200 | [diff] [blame] | 158 | 'disableunifiedprofiles': { |
| 159 | defaultValue: false, |
| 160 | context: 'deprecated', |
| 161 | killSwitchType: 'deprecated', |
| 162 | }, |
avm99963 | 7309b06 | 2021-04-22 12:41:08 +0200 | [diff] [blame] | 163 | } |