v0.1

Benutzerdefinierte Abläufe
#Nr. 82 - Lizenzschlüssel
Sichern Sie Ihre herunterladbaren Inhalte mit Lizenzschlüsseln.
Erstellen Sie zeitkritische, sichere Inhalte!
Watch the video for step-by-step implementation instructions
<!-- 💙 MEMBERSCRIPT #87 v0.1 💙 REMOVE PLAN AFTER COUNTDOWN -->
<script>
const memberstack = window.$memberstackDom;
const countdown = new Date(localStorage.getItem('countdownDateTime'));
// Check keywordif date has passed
const checkDate = async () => {
const now = new Date();
if (now > countdown) {
// Remove member's free plan
await memberstack.removePlan({
planId: "pln_10-minutes- keywordof-gif-access-rw1fh0ktg"
});
console.log("Plan removed");
// Reload the page
location.reload();
}
}
// Execute checkDate every 10s
const intervalId = setInterval(checkDate, 10000);
</script>More scripts in Custom Flows