-export const options = [
- // TODO: detroll this a bit
- trollToggle('konami', 'unused', undefined,
+function konamiToggle() {
+ var t = trollToggle.apply(this, arguments);
+ var sequence = [2, 2, 1, 1, 0, 3, 0, 3, 4, 5];
+ var idx = 0;
+ t.set = (value) => {
+ if (value === sequence[idx]) {
+ if (++idx >= sequence.length) {
+ ToggleModule.toggles['troll'] = true;
+ ToggleModule.refreshContent();
+ }
+ }
+ else { idx = 0; }
+ }
+ return t;
+}
+
+export const options = ip_shuffle ([
+ konamiToggle('troll', "Do not touch this", false,