some more placeholders
This commit is contained in:
parent
3ae7fd0914
commit
1d5b10b22c
3 changed files with 22 additions and 4 deletions
3
public/scripts/clipboard.js
Normal file
3
public/scripts/clipboard.js
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
function copyLink(link) {
|
||||||
|
|
||||||
|
}
|
|
@ -21,7 +21,10 @@ const titleEnabled = sessionStorage.getItem("optionsEnabled");
|
||||||
const attachmentEnabled = sessionStorage.getItem("optionsEnabled");
|
const attachmentEnabled = sessionStorage.getItem("optionsEnabled");
|
||||||
const clickEnabled = sessionStorage.getItem("optionsEnabled");
|
const clickEnabled = sessionStorage.getItem("optionsEnabled");
|
||||||
|
|
||||||
|
const titlePFX = "title: ";
|
||||||
const msgPFX = "message: ";
|
const msgPFX = "message: ";
|
||||||
|
const attachPFX = "attachment: ";
|
||||||
|
const clickPFX = "click-action: ";
|
||||||
|
|
||||||
function checkBoxes() {
|
function checkBoxes() {
|
||||||
if (optionsEnabled) {
|
if (optionsEnabled) {
|
||||||
|
@ -47,34 +50,46 @@ function getPlaceholder() {
|
||||||
placeholderSelector = Math.floor(Math.random() * 8) + 1;
|
placeholderSelector = Math.floor(Math.random() * 8) + 1;
|
||||||
switch (placeholderSelector) {
|
switch (placeholderSelector) {
|
||||||
case 1:
|
case 1:
|
||||||
|
ntfyTitle.placeholder = `${titlePFX}hey there`;
|
||||||
ntfyMessage.placeholder = `${msgPFX}hi nelle! (。>﹏<。)`;
|
ntfyMessage.placeholder = `${msgPFX}hi nelle! (。>﹏<。)`;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
|
ntfyTitle.placeholder = `${titlePFX}fuck you`;
|
||||||
ntfyMessage.placeholder = `${msgPFX}(╹◡╹)凸`;
|
ntfyMessage.placeholder = `${msgPFX}(╹◡╹)凸`;
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
ntfyMessage.placeholder = `${msgPFX}Confession of sin: I dont like SciAdv`;
|
ntfyTitle.placeholder = `${titlePFX}confession of sin`;
|
||||||
|
ntfyMessage.placeholder = `${msgPFX}I dont like SciAdv`;
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
|
ntfyTitle.placeholder = `${titlePFX}a funny joke`;
|
||||||
ntfyMessage.placeholder = `${msgPFX}Knock Knock...`;
|
ntfyMessage.placeholder = `${msgPFX}Knock Knock...`;
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
|
ntfyTitle.placeholder = `${titlePFX}yes, its me`;
|
||||||
ntfyMessage.placeholder = `${msgPFX}El. Psy. Kongroo.`;
|
ntfyMessage.placeholder = `${msgPFX}El. Psy. Kongroo.`;
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
ntfyMessage.placeholder = `${msgPFX}the organization is after you.`;
|
ntfyTitle.placeholder = `${titlePFX}SDXc^73hce1!3&`;
|
||||||
|
ntfyMessage.placeholder = `${msgPFX}we're watching you.`;
|
||||||
break;
|
break;
|
||||||
case 7:
|
case 7:
|
||||||
|
ntfyTitle.placeholder = `${titlePFX}haiiii :3`;
|
||||||
ntfyMessage.placeholder = `${msgPFX}you wouldnt happen to know where an IBN5100 is, would you?`;
|
ntfyMessage.placeholder = `${msgPFX}you wouldnt happen to know where an IBN5100 is, would you?`;
|
||||||
break;
|
break;
|
||||||
case 8:
|
case 8:
|
||||||
|
ntfyTitle.placeholder = `${titlePFX}an important question`;
|
||||||
ntfyMessage.placeholder = `${msgPFX}if you had to choose, between: bacon, unlimited bacon, but no games. or. games. unlimited games, but no games. which would you pick?`;
|
ntfyMessage.placeholder = `${msgPFX}if you had to choose, between: bacon, unlimited bacon, but no games. or. games. unlimited games, but no games. which would you pick?`;
|
||||||
break;
|
break;
|
||||||
case 9:
|
case 9:
|
||||||
|
ntfyTitle.placeholder = `${titlePFX}query`;
|
||||||
ntfyMessage.placeholder = `${msgPFX}time travel?`;
|
ntfyMessage.placeholder = `${msgPFX}time travel?`;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
ntfyMessage.placeholder = `${msgPFX}type some words and hit send`;
|
ntfyTitle.placeholder = `${titlePFX}title the message for some reason?`;
|
||||||
|
ntfyMessage.placeholder = `${msgPFX}type some words and hit send.`;
|
||||||
|
ntfyAttach.placeholder = `${attachPFX}https://http.cat/images/100.jpg`;
|
||||||
|
ntfyClickAction.placeholder = `${clickPFX}https://www.youtube.com/watch?v=dQw4w9WgXcQ`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<!-- TEXT AREAS -->
|
<!-- TEXT AREAS -->
|
||||||
<div>
|
<div>
|
||||||
<textarea id="ntfy-title" placeholder="title: Title" rows=1 style="resize: none; display: none;"></textarea>
|
<textarea id="ntfy-title" placeholder="title: Title" rows=1 style="resize: none; display: none;"></textarea>
|
||||||
<textarea id="ntfy-message" placeholder="message: hello!" rows=2></textarea>
|
<textarea id="ntfy-message" placeholder="message: message" rows=2></textarea>
|
||||||
<textarea id="ntfy-attach" placeholder="attachment: https://http.cat/images/100.jpg" rows=1 style="resize: none;display: none;"></textarea>
|
<textarea id="ntfy-attach" placeholder="attachment: https://http.cat/images/100.jpg" rows=1 style="resize: none;display: none;"></textarea>
|
||||||
<textarea id="ntfy-click" placeholder="click: https://www.youtube.com/watch?v=dQw4w9WgXcQ" rows=1 style="resize: none; display: none;"></textarea>
|
<textarea id="ntfy-click" placeholder="click: https://www.youtube.com/watch?v=dQw4w9WgXcQ" rows=1 style="resize: none; display: none;"></textarea>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue