Latest 2 BHK Flats for Rent in Mehrauli under 40000



FAQ

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.

document.addEventListener("DOMContentLoaded", function () { document.querySelectorAll('.hp-listing').forEach(function(listing){ // Default number let phone = '919711514139'; let phoneEl = listing.querySelector('.hp-listing__attribute--phone-number span'); // Agar user ne number diya hai to wahi use karo if(phoneEl){ let userPhone = phoneEl.textContent.replace(/\D/g,''); if(userPhone.length === 10){ userPhone = '91' + userPhone; } if(userPhone.length >= 12){ phone = userPhone; } } // Listing URL let titleLink = listing.querySelector('.hp-listing__title a'); if(!titleLink) return; let listingURL = titleLink.href; // Message let message = encodeURIComponent( 'I am interested in this property - ' + listingURL ); // WhatsApp URL let whatsappURL = 'https://api.whatsapp.com/send?phone=' + phone + '&text=' + message; // Footer let footerArea = listing.querySelector('.hp-listing__attributes--primary'); if(!footerArea) return; // Duplicate avoid if(listing.querySelector('.hp-whatsapp-btn')) return; // Create button let btn = document.createElement('a'); btn.href = whatsappURL; btn.target = '_blank'; btn.className = 'hp-whatsapp-btn'; btn.innerHTML = '💬 WhatsApp'; footerArea.appendChild(btn); // Phone hide let phoneWrap = listing.querySelector('.hp-listing__attribute--phone-number'); if(phoneWrap){ phoneWrap.style.display = 'none'; } }); });