if (new URLSearchParams(window.location.search).getAll('status').includes('send')) { // Есть status=send }