Using voice-activated fields (webkit only)
And I'm using a dev version of Chrome to make it work
HTML
<form id="guglar">
<label>Clique no microfone e solte a voz</label><br>
<input type="text" name="q" id="q" x-webkit-speech><br>
</form>
CSS
*{ font:bold 16px Helvetica; }
input{ padding:5px; width:90%; }
JavaScript
// char count
var checkContent = function() {
if (document.getElementById('q').value.length > 5) {
$('#guglar').submit();
document.getElementById('q').value = '';
}
setTimeout('checkContent()', 5000);
}
// submits the form
$('#guglar').submit(function() {
window.open('http://www.google.com.br/#q=' + $('#q').val());
return false;
});
checkContent();