v0.1

Flujos personalizados
#87 - Eliminar un plan despu茅s de la cuenta atr谩s
Cree contenidos seguros y urgentes
Proteja sus contenidos descargables con claves de licencia.
Watch the video for step-by-step implementation instructions
<!-- 馃挋 MEMBERSCRIPT #82 v0.1 馃挋 LICENSE KEYS -->
<script>
const memberstack = window.$memberstackDom;
// Initialize MutationObserver
const observer = new MutationObserver(async (mutations) => {
聽const downloadBtn = document.getElementById("download");
聽
聽if (downloadBtn) {
聽 聽// Element exists, so add event listener
聽 聽downloadBtn.addEventListener("click", async () => {
聽 聽 聽await memberstack.removePlan({
聽 聽 聽 聽planId: "pln_activate-license-key-952c0d8u"
聽 聽 聽});
聽 聽 聽console.log("Plan removed");
聽 聽});
聽 聽// Stop observing since we found the element
聽 聽observer.disconnect();
聽}
});
// Observe the whole document
observer.observe(document.body, { childList: true, subtree: true });
</script>Import this into Make.com to get started
More scripts in Custom Flows