Skip to content

Instantly share code, notes, and snippets.

@cahva
cahva / blacklist-domain.html
Last active February 19, 2025 14:11
Blacklist domain
<script>
const restrictedDomains = [
'@example.com',
'@foo.bar'
];
async function initEmailCheck() {
try {
const emailInput = await waitForElementPromise('#EMAIL_2');
const submitButton = await waitForElementPromise('#submit-button');