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 clickEnabled = sessionStorage.getItem("optionsEnabled");
|
||||
|
||||
const titlePFX = "title: ";
|
||||
const msgPFX = "message: ";
|
||||
const attachPFX = "attachment: ";
|
||||
const clickPFX = "click-action: ";
|
||||
|
||||
function checkBoxes() {
|
||||
if (optionsEnabled) {
|
||||
|
@ -47,34 +50,46 @@ function getPlaceholder() {
|
|||
placeholderSelector = Math.floor(Math.random() * 8) + 1;
|
||||
switch (placeholderSelector) {
|
||||
case 1:
|
||||
ntfyTitle.placeholder = `${titlePFX}hey there`;
|
||||
ntfyMessage.placeholder = `${msgPFX}hi nelle! (。>﹏<。)`;
|
||||
break;
|
||||
case 2:
|
||||
ntfyTitle.placeholder = `${titlePFX}fuck you`;
|
||||
ntfyMessage.placeholder = `${msgPFX}(╹◡╹)凸`;
|
||||
break;
|
||||
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;
|
||||
case 4:
|
||||
ntfyTitle.placeholder = `${titlePFX}a funny joke`;
|
||||
ntfyMessage.placeholder = `${msgPFX}Knock Knock...`;
|
||||
break;
|
||||
case 5:
|
||||
ntfyTitle.placeholder = `${titlePFX}yes, its me`;
|
||||
ntfyMessage.placeholder = `${msgPFX}El. Psy. Kongroo.`;
|
||||
break;
|
||||
case 6:
|
||||
ntfyMessage.placeholder = `${msgPFX}the organization is after you.`;
|
||||
ntfyTitle.placeholder = `${titlePFX}SDXc^73hce1!3&`;
|
||||
ntfyMessage.placeholder = `${msgPFX}we're watching you.`;
|
||||
break;
|
||||
case 7:
|
||||
ntfyTitle.placeholder = `${titlePFX}haiiii :3`;
|
||||
ntfyMessage.placeholder = `${msgPFX}you wouldnt happen to know where an IBN5100 is, would you?`;
|
||||
break;
|
||||
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?`;
|
||||
break;
|
||||
case 9:
|
||||
ntfyTitle.placeholder = `${titlePFX}query`;
|
||||
ntfyMessage.placeholder = `${msgPFX}time travel?`;
|
||||
break;
|
||||
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 -->
|
||||
<div>
|
||||
<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-click" placeholder="click: https://www.youtube.com/watch?v=dQw4w9WgXcQ" rows=1 style="resize: none; display: none;"></textarea>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue