Initial commit, gebaut 2022 in Frankreich
This commit is contained in:
commit
2e5ce11c70
10
becker.txt
Normal file
10
becker.txt
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
Erektion
|
||||
Gliedermaßstab
|
||||
Zitteraal
|
||||
Brausetablette
|
||||
Mops
|
||||
Feuchtigkeit
|
||||
Chamäleon
|
||||
Heißluftballon
|
||||
Plantage
|
||||
Drehorgel
|
||||
48
index.html
Normal file
48
index.html
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
<script>
|
||||
const filenames = [
|
||||
'laura.txt',
|
||||
'becker.txt',
|
||||
'junior.txt',
|
||||
'senior.txt',
|
||||
'simon.txt',
|
||||
'lars.txt'
|
||||
];
|
||||
let titles = [];
|
||||
|
||||
function refresh() {
|
||||
document.getElementById('num').innerText = `${titles.length} Begriffe`;
|
||||
}
|
||||
|
||||
async function loadFiles() {
|
||||
filenames.forEach(async filename => {
|
||||
const response = await fetch(filename);
|
||||
if (response.status !== 200) {
|
||||
return;
|
||||
}
|
||||
const text = await response.text();
|
||||
|
||||
titles.push(...text.split('\n'));
|
||||
refresh();
|
||||
});
|
||||
}
|
||||
loadFiles();
|
||||
|
||||
function random(max) {
|
||||
return Math.floor(Math.random()*max);
|
||||
}
|
||||
|
||||
function generate() {
|
||||
if (titles.length === 0) {
|
||||
alert("No titles left");
|
||||
return;
|
||||
}
|
||||
const title = titles.splice(random(titles.length), 1)[0];
|
||||
|
||||
document.getElementById('title').innerText = title;
|
||||
refresh();
|
||||
}
|
||||
</script>
|
||||
|
||||
<button id="generate" type="button" onclick="generate()">Generate</button>
|
||||
<div id="title">No title</div>
|
||||
<div id="num">0 Begriffe</div>
|
||||
10
junior.txt
Normal file
10
junior.txt
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
Dildo
|
||||
Weimarer Republik
|
||||
Plankton
|
||||
Batman
|
||||
Katalyse
|
||||
Differentialgleichung
|
||||
Trump
|
||||
Statistik
|
||||
Laser
|
||||
Favela
|
||||
14
lars.txt
Normal file
14
lars.txt
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
Baguette
|
||||
Fromagerie
|
||||
Jacuzzi
|
||||
Perfekt
|
||||
Schlüssel
|
||||
Smergol
|
||||
Gandalf
|
||||
Fliegbert
|
||||
Ring
|
||||
Geheimtür
|
||||
Tiny-House
|
||||
Ukulele
|
||||
Orange
|
||||
Dativ
|
||||
6
laura.txt
Normal file
6
laura.txt
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
Abflussreiniger
|
||||
cards against humanity
|
||||
Gandalf
|
||||
Matschparty
|
||||
Wacken
|
||||
Pleasure
|
||||
6
senior.txt
Normal file
6
senior.txt
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
Sauna
|
||||
Antisemitismus
|
||||
Abtreibung
|
||||
Pokemon
|
||||
Tarantino
|
||||
Jesus
|
||||
30
simon.txt
Normal file
30
simon.txt
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
Wacken
|
||||
Frankreich
|
||||
Jacuzzi
|
||||
Karpfen
|
||||
Oktopus
|
||||
Furry
|
||||
BDSM
|
||||
Anal
|
||||
Bondage
|
||||
DildoMetal
|
||||
Universität
|
||||
Stèphane
|
||||
Chemie
|
||||
GandalfDomina
|
||||
Sklave
|
||||
Schlammparty
|
||||
Finger
|
||||
Doggystyle
|
||||
Schoppen
|
||||
Snacks
|
||||
SchottlandSpanien
|
||||
Duderstadt
|
||||
DuderstadtJihad
|
||||
Gore
|
||||
Isis
|
||||
Exekution
|
||||
AFD
|
||||
WoodsSuperduperstore
|
||||
Fresh-Dumbledore
|
||||
Porno
|
||||
Loading…
Reference in New Issue
Block a user