'); 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 Pixar Movies

Are you looking for an alphabetical list of Pixar Movies that you can easily copy or download in popular formats like PDF, CSV, XML, JSON, and more? A Bug’s Life (1998) Brave (2012) Cars (2006) Cars 2 (2011) Cars 3 (2017) Coco (2017) Finding Dory (2016) Finding Nemo (2003) Inside Out (2015) Lightyear (2022) Luca …

Read more

List of James Bond Films

Are you looking for an alphabetical list of James Bond Films that you can easily copy or download in popular formats like PDF, CSV, XML, JSON, and more? Dr. No (1962) From Russia with Love (1963) Goldfinger (1964) Thunderball (1965) You Only Live Twice (1967) On Her Majesty’s Secret Service (1969) Diamonds Are Forever (1971) …

Read more

List of SEAL Team Episodes

Are you looking for an alphabetical list of SEAL Team Episodes that you can easily copy or download in popular formats like PDF, CSV, XML, JSON, and more? Episode 1: Tip of the Spear (Season 1) Episode 2: Other Lives (Season 1) Episode 3: Boarding Party (Season 1) Episode 4: Ghosts of Christmas Future (Season …

Read more

List of Anime

Are you looking for an alphabetical list of Anime that you can easily copy or download in popular formats like PDF, CSV, XML, JSON, and more? Attack on Titan Bleach Cowboy Bebop Death Note Dragon Ball Z Fullmetal Alchemist: Brotherhood Hunter x Hunter My Hero Academia Naruto Neon Genesis Evangelion One Piece One Punch Man …

Read more

List of Raquel Welch Movies

Are you looking for an alphabetical list of Raquel Welch Movies that you can easily copy or download in popular formats like PDF, CSV, XML, JSON, and more? 100 Rifles (1969) A House Is Not a Home (1964) Bandolero! (1968) Bedazzled (1967) Bluebeard (1972) Fantastic Voyage (1966) Fathom (1967) Hannie Caulder (1971) Kansas City Bomber …

Read more

List of Marvel Movies

Are you looking for an alphabetical list of Marvel Movies that you can easily copy or download in popular formats like PDF, CSV, XML, JSON, and more? Ant-Man (2015) Ant-Man and The Wasp (2018) Avengers: Age of Ultron (2015) Avengers: Endgame (2019) Avengers: Infinity War (2018) Black Panther (2018) Black Widow (2021) Captain America: Civil …

Read more

List of Characters

Are you looking for an alphabetical list of Characters that you can easily copy or download in popular formats like PDF, CSV, XML, JSON, and more? Alice (Alice in Wonderland) Aragorn (The Lord of the Rings) Atticus Finch (To Kill a Mockingbird) Batman (DC Comics) Bilbo Baggins (The Hobbit) Black Panther (Marvel Comics) D’Artagnan (The …

Read more

List of Highest-Grossing Movies of All Time

Are you looking for an alphabetical list of Highest-Grossing Movies of All Time that you can easily copy or download in popular formats like PDF, CSV, XML, JSON, and more? Avatar Avengers: Endgame Titanic Star Wars: The Force Awakens Avengers: Infinity War Spider-Man: No Way Home Jurassic World The Lion King (2019) The Avengers Furious …

Read more

List of Popular Movies

This list is not exhaustive, and there are many films that could be included. The ones selected here are recognized for their impact on popular culture and their commercial success during the year of their release. The Wizard of Oz Gone with the Wind Casablanca Singin’ in the Rain Psycho Lawrence of Arabia The Sound …

Read more

List of Disney Films

This list is not exhaustive and includes movies from both Walt Disney Animation Studios and Pixar Animation Studios, which is now part of The Walt Disney Company. New movies are released regularly, and this list may not include the most recent releases. 101 Dalmatians 102 Dalmatians A Bug’s Life A Christmas Carol A Goofy Movie …

Read more