get gadget

featured-content2

featured-content2

featured-content2

About Me

Footer

javascript:void(0)

What's Next?

  • Digg it
  • Stumble it
  • Save This Page
  • Leave a comment
  • Subscribe to My Blog
  • Save for Download Page Generator by Privateloader 2 Script

    Diposting oleh intermartku Selasa, 23 April 2024
      function saveTextAsFile() {
      var title = document.getElementById('title').value;
      if (title == "") {alert('Type your title!'); return false;}
     
      // Get the textarea element by its ID
      var textarea = document.getElementById('output');

      // Get the text from the textarea
      var textToSave = textarea.value;

      // Create a new Blob object with the text content
      var blob = new Blob([textToSave], { type: 'text/plain' });

      // Create a temporary <a> element
      var link = document.createElement('a');

      // Set the href attribute of the <a> element to the URL of the blob
      link.href = URL.createObjectURL(blob);

      // Set the download attribute to specify the default file name
      link.download = ''+title+'.html';

      // Programmatically click the link to trigger the download
      link.click();
    }  

    0 Responses to Save for Download Page Generator by Privateloader 2 Script

    Posting Komentar

    Good Comment

    Save for Download Page Generator by Privateloader 2 Script

      function saveTextAsFile() {
      var title = document.getElementById('title').value;
      if (title == "") {alert('Type your title!'); return false;}
     
      // Get the textarea element by its ID
      var textarea = document.getElementById('output');

      // Get the text from the textarea
      var textToSave = textarea.value;

      // Create a new Blob object with the text content
      var blob = new Blob([textToSave], { type: 'text/plain' });

      // Create a temporary <a> element
      var link = document.createElement('a');

      // Set the href attribute of the <a> element to the URL of the blob
      link.href = URL.createObjectURL(blob);

      // Set the download attribute to specify the default file name
      link.download = ''+title+'.html';

      // Programmatically click the link to trigger the download
      link.click();
    }  

    Bookmark and Share

    0 komentar:

    Posting Komentar

    Good Comment

    Be the first to announce the news!!

    About This Blog

    l

    mau dapat traffic yang bagus free

    Free Advertising - Get millions of visitors for your website for FREE!
    ipt>
    gabung di paypall dapatkan uang dengan mudah klick di sini
    Sign up for PayPal and start accepting credit card payments instantly.
    --

    About Me

    Upload n Get money