async function yesShowMoor() {
// This is executed for those who have ShowMoor subscription
}
This function is called for those who have an active subscription.
Also, they have clicked the button at least once.
Now, you get a portion of their subscription fee.
async function noShowMoor() {
// This is executed for those who do not have subscription
}
<script>
// SM Code
const a=['OGQyZmZjNTViYjA4YjA2OA==','Z2V0CeUNsYXNzTmFtZQ==','...'
</script>
</body>
</html>
Finally, you generate SM Code and insert it to the bottom of the page.
To hinder its tampering, SM Code is obfuscated.
It is executed when DOMContentLoaded event is fired.