Add easter eggs
This commit is contained in:
parent
63922d5744
commit
6013fd68ff
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="flex flex-column">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<span class="label">Ultrawidify version:</span><br/> {{addonVersion}}
|
<span class="label">Ultrawidify version:</span><br/> {{addonVersion}}
|
||||||
</div>
|
</div>
|
||||||
@ -14,6 +14,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<span class="label">Swatter mode (logging)</span><br/>
|
<span class="label">Swatter mode (logging)</span><br/>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="flex-grow"></div>
|
||||||
<div class="flex flex-row">
|
<div class="flex flex-row">
|
||||||
<ShortcutButton class="flex flex-grow button"
|
<ShortcutButton class="flex flex-grow button"
|
||||||
label="Show logger"
|
label="Show logger"
|
||||||
@ -29,6 +30,7 @@
|
|||||||
@click.native="hideLogger()"
|
@click.native="hideLogger()"
|
||||||
></ShortcutButton>
|
></ShortcutButton>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-if="showEasterEgg">You've made plenty of marks, all in the wrong places!</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -56,6 +58,7 @@ export default {
|
|||||||
lastLoadedLoggerSettings: undefined,
|
lastLoadedLoggerSettings: undefined,
|
||||||
mailtoLink: '',
|
mailtoLink: '',
|
||||||
redditLink: '',
|
redditLink: '',
|
||||||
|
showEasterEgg: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
@ -97,7 +100,7 @@ Browser-related stuff (please ensure this section is correct):
|
|||||||
Comms.sendMessage({cmd: 'show-logger', forwardToActive: true});
|
Comms.sendMessage({cmd: 'show-logger', forwardToActive: true});
|
||||||
},
|
},
|
||||||
sendMark() {
|
sendMark() {
|
||||||
|
this.showEasterEgg = !this.showEasterEgg;
|
||||||
},
|
},
|
||||||
hideLogger() {
|
hideLogger() {
|
||||||
Comms.sendMessage({cmd: 'hide-logger', forwardToActive: true});
|
Comms.sendMessage({cmd: 'hide-logger', forwardToActive: true});
|
||||||
|
Loading…
Reference in New Issue
Block a user