neu wevadresse geän
This commit is contained in:
parent
a0eac437a3
commit
974c96319f
@ -294,14 +294,14 @@
|
|||||||
|
|
||||||
// Teilen via WhatsApp
|
// Teilen via WhatsApp
|
||||||
function shareViaWhatsApp() {
|
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;
|
const url = 'https://api.whatsapp.com/send?text=' + text;
|
||||||
window.open(url, '_blank');
|
window.open(url, '_blank');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Teilen via Telegram
|
// Teilen via Telegram
|
||||||
function shareViaTelegram() {
|
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;
|
const url = 'https://t.me/share/url?url=' + text;
|
||||||
window.open(url, '_blank');
|
window.open(url, '_blank');
|
||||||
}
|
}
|
||||||
@ -309,7 +309,7 @@
|
|||||||
// Teilen via E-Mail
|
// Teilen via E-Mail
|
||||||
function shareViaEmail() {
|
function shareViaEmail() {
|
||||||
const subject = encodeURIComponent('Flappy Witch');
|
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;
|
window.location.href = 'mailto:?subject=' + subject + '&body=' + body;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user