osx - Mac keyboard shortcut to strip special characters and search selected text in youtube -
often @ podcasts tracklist , identify songs download. process looks this:
- go tracklist page
- select song name (which on occassion has underscores / hyphens instead of spaces)
- switch youtube tab
- paste text
- remove special characters such underscores and/or hyphens
- search
i create keyboard shortcut take selected text, strip out special characters (mostly concerned hyphens , underscores), , create youtube search in new tab. on mac os x 10.6 , use firefox part. ideas?
greasemonkey might able out here, or may use bookmarklet:
javascript:void(window.open("http://www.youtube.com/results?aq=f&oq=&search_query="+window.getselection().tostring().replace(/\w+/g,'+')));
Comments
Post a Comment