Google Music nowplaying
by
michi_0903
2013-06-23 [2013/06/23 23:41:08]
Bookmarklet for tweet nowplaying song at Google Music.
@@ -6,4 +6,4 @@
* @require
*/
-var t=document.getElementById("playerSongTitle").firstChild.innerHTML;var a=document.getElementById("player-artist").firstChild.innerHTML;var tweet=encodeURIComponent(t)+' / '+encodeURIComponent(a)+'/*Google music nowplaying*/';void(window.open('https://twitter.com/intent/tweet?text='+tweet+'&hashtags=NowPlaying'));
+var t=document.getElementById("playerSongTitle").firstChild.innerHTML;var a=document.getElementById("player-artist").firstChild.innerHTML;var tweet=encodeURIComponent(t)+' / '+encodeURIComponent(a)+' /*Google music nowplaying*/';void(window.open('https://twitter.com/intent/tweet?text='+tweet+'&hashtags=NowPlaying'));
/*
* @title Google Music nowplaying
* @description Bookmarklet for tweet nowplaying song at Google Music.
* @include http://*
* @license MIT License
* @require
*/
var t=document.getElementById("playerSongTitle").firstChild.innerHTML;var a=document.getElementById("player-artist").firstChild.innerHTML;var tweet=encodeURIComponent(t)+' / '+encodeURIComponent(a)+' /*Google music nowplaying*/';void(window.open('https://twitter.com/intent/tweet?text='+tweet+'&hashtags=NowPlaying'));
- Permalink
- このページへの個別リンクです。
- RAW
- 書かれたコードへの直接のリンクです。
- Packed
- 文字列が圧縮された書かれたコードへのリンクです。
- Userscript
- Greasemonkey 等で利用する場合の .user.js へのリンクです。
- Loader
- @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
- Metadata
- コード中にコメントで @xxx と書かれたメタデータの JSON です。