<a href="https://api.whatsapp.com/send/?phone=908508408270&text&type=phone_number &app_absent=0">test</a>
<a href="https://api.whatsapp.com/send/?phone=908508408271&text&type=phone_number &app_absent=0">test 2</a>
<a href="https://api.whatsapp.com/send/?phone=908508408272&text&type=phone_number &app_absent=0">test 3</a>
<script>
document.addEventListener('DOMContentLoaded', () => {
document.querySelectorAll('a[href*="api.whatsapp.com"]').forEach(a => {
const url = a.href;
a.removeAttribute('href');
a.setAttribute('onClick', "window.open('" + url + "', '_blank'); return false;");
});
});
</script>