1
0

neu wevadresse geän

This commit is contained in:
matt 2025-02-01 15:57:51 +01:00
parent a0eac437a3
commit 974c96319f

View File

@ -294,14 +294,14 @@
// Teilen via WhatsApp
function shareViaWhatsApp() {
const text = encodeURIComponent('Schau dir dieses fantastische Spiel an! https://www.creative-crafter.de/programmieren/spiele/Flappy-Witch/');
const text = encodeURIComponent('Schau dir dieses fantastische Spiel an! https://test.creative-crafter.de/programmieren/spiele/Flappy-Witch/');
const url = 'https://api.whatsapp.com/send?text=' + text;
window.open(url, '_blank');
}
// Teilen via Telegram
function shareViaTelegram() {
const text = encodeURIComponent('Schau dir dieses fantastische Spiel an! https://www.creative-crafter.de/programmieren/spiele/Flappy-Witch/');
const text = encodeURIComponent('Schau dir dieses fantastische Spiel an! https://test.creative-crafter.de/programmieren/spiele/Flappy-Witch/');
const url = 'https://t.me/share/url?url=' + text;
window.open(url, '_blank');
}
@ -309,7 +309,7 @@
// Teilen via E-Mail
function shareViaEmail() {
const subject = encodeURIComponent('Flappy Witch');
const body = encodeURIComponent('Schau dir dieses fantastische Spiel an! https://www.creative-crafter.de/programmieren/spiele/Flappy-Witch/');
const body = encodeURIComponent('Schau dir dieses fantastische Spiel an! https://test.creative-crafter.de/programmieren/spiele/Flappy-Witch/');
window.location.href = 'mailto:?subject=' + subject + '&body=' + body;
}