This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get all table rows with class 'rt-tr' | |
let rows = document.querySelectorAll('.rt-tr'); | |
// Function to clean and format cell text | |
let cleanText = (text) => { | |
return text.trim().replace(/"/g, '""'); | |
}; | |
// Initialize CSV content with header | |
let csvContent = 'email,first_name,last_name\n'; |