Twitter, talk robot to me

Twitter, talk to me

Did you know browsers have text-to-speech APIs?

Twitter user pages automatically poll for new tweets from the user, but when new tweets show up, the only notification you get is (N) added to the title of the webpage. If you have many tabs or browser windows or 5 monitors attached to your laptop, it’s not easy to see when new tweets show up.

With a little help from browser APIs, you can get more noticable notifications.

Just paste the JavaScript below into an inspector window for any twitter user or search page. You’ll get a quick voice notification when the page detects new tweets. The speak-on-new-tweet action remains until you reload or close your monitored tab(s).

Tested in recent Chrome and Safari as of October 2015:

Anybody want to turn it into a real extension?