Create a gist now

Instantly share code, notes, and snippets.

@meshulam /zimbra.txt
Last active Dec 11, 2015

What would you like to do?
This bookmarklet recites the current URL as Dadaist sound poetry. It just removes all non-letters from the URL and passes it to the Google Translate text-to-speech service in Italian mode (it's funniest that way). It doesn't work on all sites, probably because of some sort of cross-site referral limitations on Google's part. Tested in Safari and…
javascript:(function(){ var s=location.href.replace(/[^A-Za-z]/g,'');var url=''+s; console.log(url); var a=document.createElement('audio');a.setAttribute('src',url);;}())

meshulam commented Jan 26, 2013

The best use of this is on the Chrome Web Store, because of the crazy long random letter IDs that every app has. Example:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment