Google Play Musicで再生中の曲をYouTubeで検索するブックマークレット
機能
コード
code:javascript
javascript:void((function(){var i, t, a, tw;var s = function(i){var e = document.getElementById(i).innerHTML;return e.replace(/&/g, "%26").replace(/</g, "%3c").replace(/>/g, "%3e");};t = s("currently-playing-title");a = s("player-artist");void(window.open("https://www.youtube.com/results?search_query=" + t +" "+a));})()); /icons/hr.icon