-
Anusha Bains
Rs. PRICE ON REQUEST -
Raika Hoda
Rs. PRICE ON REQUEST -
Pinkal Patel
Rs. PRICE ON REQUEST -
Najaf Shah
Rs. PRICE ON REQUEST -
Onkar Kaur
Rs. PRICE ON REQUEST -
Bhavya Malhotra
Rs. PRICE ON REQUEST{ let words = titleElement.textContent.trim().split(/\s+/); // Trim and split by whitespace if (words.length > 0) { words = words.map((word, index) => { // Skip processing for the first word if (index === 0) { return word; // First word remains unchanged } else { // Process words from the second position onwards return excludeWords.includes(word.toLowerCase()) ? word.toLowerCase() : capitalize(word); } }); titleElement.textContent = words.join(" "); } }); function capitalize(word) { return word.charAt(0).toUpperCase() + word.slice(1).toLowerCase(); } }); function updatePrices() { document.querySelectorAll(".money").forEach(function (element) { let priceText = element.getAttribute("data-currency-inr"); // Get price from attribute if (priceText !== null) { // Ensure the attribute exists let price = parseInt(priceText.replace(/[^0-9]/g, ""), 10); // Extract numeric value if (!isNaN(price) && price > 700000) { element.textContent = "Price on Request"; } } else { console.warn("data-currency-inr attribute is missing on:", element); } }); } // Run the function when the DOM is ready document.addEventListener("DOMContentLoaded", function () { setTimeout(updatePrices, 200); // Small delay to ensure elements are available }); // If content is dynamically loaded, use a MutationObserver const observer = new MutationObserver(updatePrices); observer.observe(document.body, { childList: true, subtree: true });
Niki Mehra
Rs. PRICE ON REQUEST{ let words = titleElement.textContent.trim().split(/\s+/); // Trim and split by whitespace if (words.length > 0) { words = words.map((word, index) => { // Skip processing for the first word if (index === 0) { return word; // First word remains unchanged } else { // Process words from the second position onwards return excludeWords.includes(word.toLowerCase()) ? word.toLowerCase() : capitalize(word); } }); titleElement.textContent = words.join(" "); } }); function capitalize(word) { return word.charAt(0).toUpperCase() + word.slice(1).toLowerCase(); } }); function updatePrices() { document.querySelectorAll(".money").forEach(function (element) { let priceText = element.getAttribute("data-currency-inr"); // Get price from attribute if (priceText !== null) { // Ensure the attribute exists let price = parseInt(priceText.replace(/[^0-9]/g, ""), 10); // Extract numeric value if (!isNaN(price) && price > 700000) { element.textContent = "Price on Request"; } } else { console.warn("data-currency-inr attribute is missing on:", element); } }); } // Run the function when the DOM is ready document.addEventListener("DOMContentLoaded", function () { setTimeout(updatePrices, 200); // Small delay to ensure elements are available }); // If content is dynamically loaded, use a MutationObserver const observer = new MutationObserver(updatePrices); observer.observe(document.body, { childList: true, subtree: true });
Akanksha Sethi
Rs. PRICE ON REQUEST{ let words = titleElement.textContent.trim().split(/\s+/); // Trim and split by whitespace if (words.length > 0) { words = words.map((word, index) => { // Skip processing for the first word if (index === 0) { return word; // First word remains unchanged } else { // Process words from the second position onwards return excludeWords.includes(word.toLowerCase()) ? word.toLowerCase() : capitalize(word); } }); titleElement.textContent = words.join(" "); } }); function capitalize(word) { return word.charAt(0).toUpperCase() + word.slice(1).toLowerCase(); } }); function updatePrices() { document.querySelectorAll(".money").forEach(function (element) { let priceText = element.getAttribute("data-currency-inr"); // Get price from attribute if (priceText !== null) { // Ensure the attribute exists let price = parseInt(priceText.replace(/[^0-9]/g, ""), 10); // Extract numeric value if (!isNaN(price) && price > 700000) { element.textContent = "Price on Request"; } } else { console.warn("data-currency-inr attribute is missing on:", element); } }); } // Run the function when the DOM is ready document.addEventListener("DOMContentLoaded", function () { setTimeout(updatePrices, 200); // Small delay to ensure elements are available }); // If content is dynamically loaded, use a MutationObserver const observer = new MutationObserver(updatePrices); observer.observe(document.body, { childList: true, subtree: true });
- Choosing a selection results in a full page refresh.