Compare commits
2 Commits
74cd5da810
...
033db21ee0
Author | SHA1 | Date | |
---|---|---|---|
033db21ee0 | |||
8e6d384500 |
@ -335,27 +335,27 @@
|
|||||||
|
|
||||||
// Teilen via WhatsApp
|
// Teilen via WhatsApp
|
||||||
function shareViaWhatsApp() {
|
function shareViaWhatsApp() {
|
||||||
const text = encodeURIComponent('Check out this fantastic game!https://www.creative-crafter.de/link-collection/lego-tiny-plants/');
|
const text = encodeURIComponent('Check out this fantastic toy!https://www.creative-crafter.de/link-collection/lego-tiny-plants/');
|
||||||
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('Check out this fantastic game!https://www.creative-crafter.de/link-collection/lego-tiny-plants/');
|
const text = encodeURIComponent('Check out this fantastic toy!https://www.creative-crafter.de/link-collection/lego-tiny-plants/');
|
||||||
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');
|
||||||
}
|
}
|
||||||
|
|
||||||
function shareViaPinterest() {
|
function shareViaPinterest() {
|
||||||
const text = encodeURIComponent('Check out this fantastic game!https://test.creative-crafter.de/link-collection/lego-tiny-plants/');
|
const text = encodeURIComponent('Check out this fantastic toy!https://test.creative-crafter.de/link-collection/lego-tiny-plants/');
|
||||||
const url = 'https://pinterest.com/pin/create/button/?url=' + text;
|
const url = 'https://pinterest.com/pin/create/button/?url=' + text;
|
||||||
window.open(url, '_blank');
|
window.open(url, '_blank');
|
||||||
}
|
}
|
||||||
|
|
||||||
function shareViaPinterest() {
|
function shareViaPinterest() {
|
||||||
const media = encodeURIComponent('URL_ZU_DEINEM_BILD'); // Ersetze dies durch den tatsächlichen Bild-Link
|
const media = encodeURIComponent('URL_ZU_DEINEM_BILD'); // Ersetze dies durch den tatsächlichen Bild-Link
|
||||||
const text = encodeURIComponent('Check out this fantastic game!https://www.creative-crafter.de/link-collection/lego-tiny-plants/');
|
const text = encodeURIComponent('Check out this fantastic toy!https://www.creative-crafter.de/link-collection/lego-tiny-plants/');
|
||||||
const url = 'https://pinterest.com/pin/create/button/?url=' + text + '&media=' + media;
|
const url = 'https://pinterest.com/pin/create/button/?url=' + text + '&media=' + media;
|
||||||
window.open(url, '_blank');
|
window.open(url, '_blank');
|
||||||
}
|
}
|
||||||
@ -363,12 +363,12 @@
|
|||||||
// Teilen via E-Mail
|
// Teilen via E-Mail
|
||||||
function shareViaEmail() {
|
function shareViaEmail() {
|
||||||
const subject = encodeURIComponent('Klick the Witch');
|
const subject = encodeURIComponent('Klick the Witch');
|
||||||
const body = encodeURIComponent('Check out this fantastic game!https://www.creative-crafter.de/link-collection/lego-tiny-plants/');
|
const body = encodeURIComponent('Check out this fantastic toy!https://www.creative-crafter.de/link-collection/lego-tiny-plants/');
|
||||||
window.location.href = 'mailto:?subject=' + subject + '&body=' + body;
|
window.location.href = 'mailto:?subject=' + subject + '&body=' + body;
|
||||||
}
|
}
|
||||||
|
|
||||||
function copyToClipboard() {
|
function copyToClipboard() {
|
||||||
const text = 'Check out this fantastic game!https://www.creative-crafter.de/link-collection/lego-tiny-plants/';
|
const text = 'Check out this fantastic toy!https://www.creative-crafter.de/link-collection/lego-tiny-plants/';
|
||||||
navigator.clipboard.writeText(text).then(function() {
|
navigator.clipboard.writeText(text).then(function() {
|
||||||
alert('Text has been copied to the clipboard!');
|
alert('Text has been copied to the clipboard!');
|
||||||
}, function(err) {
|
}, function(err) {
|
||||||
|
@ -335,27 +335,27 @@
|
|||||||
|
|
||||||
// Teilen via WhatsApp
|
// Teilen via WhatsApp
|
||||||
function shareViaWhatsApp() {
|
function shareViaWhatsApp() {
|
||||||
const text = encodeURIComponent('Check out this fantastic game!https://www.creative-crafter.de/link-collection/redmi-buds-6-play/');
|
const text = encodeURIComponent('Check out these fantastic In-ear headphones!https://www.creative-crafter.de/link-collection/redmi-buds-6-play/');
|
||||||
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('Check out this fantastic game!https://www.creative-crafter.de/link-collection/redmi-buds-6-play/');
|
const text = encodeURIComponent('Check out these fantastic In-ear headphones!https://www.creative-crafter.de/link-collection/redmi-buds-6-play/');
|
||||||
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');
|
||||||
}
|
}
|
||||||
|
|
||||||
function shareViaPinterest() {
|
function shareViaPinterest() {
|
||||||
const text = encodeURIComponent('Check out this fantastic game!https://test.creative-crafter.de/link-collection/redmi-buds-6-play/');
|
const text = encodeURIComponent('Check out these fantastic In-ear headphones!https://test.creative-crafter.de/link-collection/redmi-buds-6-play/');
|
||||||
const url = 'https://pinterest.com/pin/create/button/?url=' + text;
|
const url = 'https://pinterest.com/pin/create/button/?url=' + text;
|
||||||
window.open(url, '_blank');
|
window.open(url, '_blank');
|
||||||
}
|
}
|
||||||
|
|
||||||
function shareViaPinterest() {
|
function shareViaPinterest() {
|
||||||
const media = encodeURIComponent('URL_ZU_DEINEM_BILD'); // Ersetze dies durch den tatsächlichen Bild-Link
|
const media = encodeURIComponent('URL_ZU_DEINEM_BILD'); // Ersetze dies durch den tatsächlichen Bild-Link
|
||||||
const text = encodeURIComponent('Check out this fantastic game!https://www.creative-crafter.de/link-collection/redmi-buds-6-play/');
|
const text = encodeURIComponent('Check out these fantastic In-ear headphones!https://www.creative-crafter.de/link-collection/redmi-buds-6-play/');
|
||||||
const url = 'https://pinterest.com/pin/create/button/?url=' + text + '&media=' + media;
|
const url = 'https://pinterest.com/pin/create/button/?url=' + text + '&media=' + media;
|
||||||
window.open(url, '_blank');
|
window.open(url, '_blank');
|
||||||
}
|
}
|
||||||
@ -363,12 +363,12 @@
|
|||||||
// Teilen via E-Mail
|
// Teilen via E-Mail
|
||||||
function shareViaEmail() {
|
function shareViaEmail() {
|
||||||
const subject = encodeURIComponent('Klick the Witch');
|
const subject = encodeURIComponent('Klick the Witch');
|
||||||
const body = encodeURIComponent('Check out this fantastic game!https://www.creative-crafter.de/link-collection/redmi-buds-6-play/');
|
const body = encodeURIComponent('Check out these fantastic In-ear headphones!https://www.creative-crafter.de/link-collection/redmi-buds-6-play/');
|
||||||
window.location.href = 'mailto:?subject=' + subject + '&body=' + body;
|
window.location.href = 'mailto:?subject=' + subject + '&body=' + body;
|
||||||
}
|
}
|
||||||
|
|
||||||
function copyToClipboard() {
|
function copyToClipboard() {
|
||||||
const text = 'Check out this fantastic game!https://www.creative-crafter.de/link-collection/redmi-buds-6-play/';
|
const text = 'Check out these fantastic In-ear headphones!https://www.creative-crafter.de/link-collection/redmi-buds-6-play/';
|
||||||
navigator.clipboard.writeText(text).then(function() {
|
navigator.clipboard.writeText(text).then(function() {
|
||||||
alert('Text has been copied to the clipboard!');
|
alert('Text has been copied to the clipboard!');
|
||||||
}, function(err) {
|
}, function(err) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user