YouTube search bookmarklet — it opens a new window with the selected (highlighted) text as the search term in YouTube. There may already be stuff like this out there, but none of the ones I found seemed to work for me — I wanted something that opened YT in a new window/tab — so I just went ahead and rolled my own.
The basic code is more or less identical to the other bookmarklets you’ve seen here.
Anyway, here it is — link and source code.
- YT
- ユチュ
- ユチュ
- ユチュ検!
javascript:(function(){var w=window,d=w.document,s="";;if(d.selection){s=d.selection.createRange().text}else if(d.getSelection){s=d.getSelection()}else if(w.getSelection){s=window.getSelection()}window.open("http://www.youtube.com/results?search=Search&search_query="+encodeURIComponent(s),"_blank")})()
Just for kicks, here’s one for NicoNico video — Japan’s very own YouTube — as well.
- NC
- ND
- ニ動
- ニコ検!
javascript:(function(){var w=window,d=w.document,s="";;if(d.selection){s=d.selection.createRange().text}else if(d.getSelection){s=d.getSelection()}else if(w.getSelection){s=window.getSelection()}window.open("http://www.nicovideo.jp/search/"+encodeURIComponent(s)+"?track=nicouni_search_keyword","_blank")})()
NicoNico does require you to register in order to watch videos. Here’s how.
- How to register a user on nicovideo.jp | moemania bit.ly/dYDHvl
- Asiajin » English guide for Nico Nico Douga, part 1: How to register bit.ly/emQxg0
- How to register to Niconico douga « dôa bit.ly/eTMDsn
- How to register for NicoNico to watch tons of rad game footage – Page 3 – NeoGAF bit.ly/fBoG18
Thanks, Khatz, I’ve been needing something like this but too lazy to make my own :P.
Thx for the links and haaaaa…. Learned a new word from the links, weaboo…. Are we weaboo’s? If so i’ll own up 🙂