'); printWindow.document.write('
' + content + '
'); printWindow.document.write(' '); printWindow.document.close(); printWindow.focus(); setTimeout(function() { printWindow.print(); printWindow.close(); }, 500); } function downloadPreContent() { var content = ""; var preElements = document.querySelectorAll("pre"); preElements.forEach(function(pre) { content += pre.textContent + "\n\n"; }); var blob = new Blob([content], { type: 'text/plain' }); var anchor = document.createElement('a'); anchor.download = postTitle + '.txt'; // Use the post title as the filename anchor.href = window.URL.createObjectURL(blob); anchor.style.display = 'none'; document.body.appendChild(anchor); anchor.click(); document.body.removeChild(anchor); } function downloadPreContentAsCSV() { var content = ""; var preElements = document.querySelectorAll("pre"); preElements.forEach(function(pre) { // Assuming each line in `pre` is a row and columns are separated by commas var rows = pre.textContent.trim().split("\n"); rows.forEach(function(row) { content += row + "\r\n"; // Use Windows-style line endings for compatibility }); }); var blob = new Blob([content], { type: 'text/csv;charset=utf-8;' }); var anchor = document.createElement('a'); anchor.download = postTitle + '.csv'; // Use the post title as the filename anchor.href = window.URL.createObjectURL(blob); anchor.style.display = 'none'; document.body.appendChild(anchor); anchor.click(); document.body.removeChild(anchor); } function downloadPreContentAsExcel() { var workbook = XLSX.utils.book_new(); var preElements = document.querySelectorAll("pre"); preElements.forEach(function(pre, index) { // Convert the text content of each
 to a workbook
        var csv = pre.textContent;
        var new_workbook = XLSX.read(csv, {type: 'string'});

        // Assuming there's only one sheet in the new workbook
        var first_sheet_name = new_workbook.SheetNames[0];
        var worksheet = new_workbook.Sheets[first_sheet_name];

        // Append the worksheet to the main workbook
        XLSX.utils.book_append_sheet(workbook, worksheet, 'Sheet' + (index + 1));
    });

    // Write the workbook and trigger a download
    XLSX.writeFile(workbook, postTitle + '.xlsx');
}


function downloadPreContentAsJSON() {
    var content = [];
    var preElements = document.querySelectorAll("pre");
    preElements.forEach(function(pre) {
        // Assuming each line in `pre` is a separate data entry
        var lines = pre.textContent.trim().split("\n");
        lines.forEach(function(line) {
            // Convert each line to an object or use as is if it's already JSON formatted
            try {
                content.push(JSON.parse(line)); // If each line is a JSON string
            } catch (e) {
                content.push(line); // If each line is just a string, not JSON formatted
            }
        });
    });

    var blob = new Blob([JSON.stringify(content, null, 2)], { type: 'application/json' });
    var anchor = document.createElement('a');
    anchor.download = postTitle + '.json'; // Use the post title as the filename
    anchor.href = window.URL.createObjectURL(blob);
    anchor.style.display = 'none';
    document.body.appendChild(anchor);
    anchor.click();
    document.body.removeChild(anchor);
}

function downloadPreContentAsXML() {
    var content = '\n\n';
    var preElements = document.querySelectorAll("pre");
    preElements.forEach(function(pre, index) {
        // Assuming each line in `pre` is a separate data entry and XML-safe
        var lines = pre.textContent.trim().split("\n");
        lines.forEach(function(line, lineIndex) {
            content += '    ' + line + '\n';
        });
    });
    content += '';

    var blob = new Blob([content], { type: 'application/xml' });
    var anchor = document.createElement('a');
    anchor.download = postTitle + '.xml'; // Use the post title as the filename
    anchor.href = window.URL.createObjectURL(blob);
    anchor.style.display = 'none';
    document.body.appendChild(anchor);
    anchor.click();
    document.body.removeChild(anchor);
}

function copyToClipboard(button) {
    var preElement = document.querySelector('pre.quicklist');
    if (preElement) {
        navigator.clipboard.writeText(preElement.innerText)
            .then(() => {
                // Log success and change button text
                console.log('Text copied to clipboard');
                var originalText = button.innerText;
                button.innerText = 'List Copied';

                // Reset button text after 3 seconds
                setTimeout(function() {
                    button.innerText = originalText;
                }, 3000);
            })
            .catch(err => {
                // Log any errors during the copy process
                console.error('Failed to copy text: ', err);
            });
    } else {
        // Log an error if the 
 element isn't found
        console.error('No 
 element with class "quicklist" found');
    }
}






		
		


			
		
		
				
				
		
	

List of Adverbs

Are you looking for an alphabetical list of Adverbs that you can easily copy or download in popular formats like PDF, CSV, XML, JSON, and more? Accidentally Always Angrily Anxiously Awkwardly Badly Beautifully Boldly Bravely Brightly Calmly Carefully Carelessly Cheerfully Clearly Closely Correctly Courageously Cruelly Daily Defiantly Deliberately Doubtfully Eagerly Easily Elegantly Enthusiastically Equally Especially …

Read more

List of Verbs

Are you looking for an alphabetical list of Verbs that you can easily copy or download in popular formats like PDF, CSV, XML, JSON, and more? Accept Achieve Add Admire Admit Advise Agree Allow Announce Apologize Appear Appreciate Approve Argue Arrive Ask Assist Assume Assure Bake Believe Belong Borrow Break Build Buy Call Cancel Change …

Read more

List of Prepositions

Are you looking for an alphabetical list of Prepositions that you can easily copy or download in popular formats like PDF, CSV, XML, JSON, and more? about above across after against along among around at before behind below beneath beside between beyond by despite down during except for from in inside into like near of …

Read more

List of Pronouns

Are you looking for an alphabetical list of Pronouns that you can easily copy or download in popular formats like PDF, CSV, XML, JSON, and more? I Me Mine My You Your He Him His She Her It Its We Us Our They Them Their

List of Adjectives

Are you looking for an alphabetical list of Adjectives that you can easily copy or download in popular formats like PDF, CSV, XML, JSON, and more? Able Abundant Accurate Active Adventurous Afraid Aggressive Agreeable Alert Alive Ambitious Angry Annoyed Anxious Arrogant Ashamed Attractive Awful Bad Beautiful Best Better Big Bitter Bizarre Black Blue Bold Brave …

Read more

List of Most Spoken Languages in the World

Are you looking for an alphabetical list of Most Spoken Languages in the World that you can easily copy or download in popular formats like PDF, CSV, XML, JSON, and more? English Mandarin Chinese Hindi Spanish French Arabic Bengali Russian Portuguese Urdu Indonesian German Japanese Marathi Telugu Turkish Tamil Vietnamese Korean Italian

List I Love You 1-100

I love you I love you I love you I love you I love you I love you I love you I love you I love you I love you I love you I love you I love you I love you I love you I love you I love you I love you I …

Read more

List Of 5 Letter Words

abase abate abbey abbot abhor abide abled abode abort about above abuzz abyss accel acorn actor acute adapt adept admin admit adobe adopt adore adorn adult affix afire afoot after again agape agate agent aglow agone agony agree ahead ailed aimed alamo alarm album alert algae alias alibi alien align alike alive allay alley allot …

Read more