Skip to main content

Home/ Web 2.0 Tools/ Group items tagged byte

Rss Feed Group items tagged

Shady Samir

HTML5Rocks - Reading local files in JavaScript - 8 views

  • <input type="file" id="files" name="files[]" multiple /><output id="list"></output><script>  function handleFileSelect(evt) {    var files = evt.target.files; // FileList object    // files is a FileList of File objects. List some properties.    var output = [];    for (var i = 0, f; f = files[i]; i++) {      output.push('<li><strong>', f.name, '</strong> (', f.type || 'n/a', ') - ',                  f.size, ' bytes</li>');    }    document.getElementById('list').innerHTML = '<ul>' + output.join('') + '</ul>';  }  document.getElementById('files').addEventListener('change', handleFileSelect, false);</script>
shiv0040

YouTube bans hacking and phishing videos, annoying security enthusiasts - 0 views

  •  
    YouTube has launched a crackdown against instructional hacking and phishing videos. The ban comes as part of an effort to keep dangerous content from surfacing on the platform, but many IT enthusiasts who use these videos for learning computer security aren't happy with the move. Here's more.
1 - 3 of 3
Showing 20 items per page