Created
September 1, 2011 13:56
-
-
Save mixonic/1186224 to your computer and use it in GitHub Desktop.
Add speech-to-text to Co-op with a bookmarklet!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Just create a new bookmark, then copy and paste the | |
javascript in bookmarklet.js into the "url" section. | |
Then open co-op, click the bookmarklet, and you're | |
using text to speech! | |
This only works with Chrome right now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:var attrs = new Object(); $A($('note_text').attributes).each(function(node){ attrs[node.nodeName] = node.nodeValue }); attrs['type'] = 'input'; attrs['x-webkit-speech'] = 'x-webkit-speech'; $('note_text').replace( new Element('input', attrs) ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment