Skip to content

Instantly share code, notes, and snippets.

@ykpythemind
Last active July 25, 2018 12:06
Show Gist options
  • Save ykpythemind/cd5fbd53d9caa5d217986fe594ce13b4 to your computer and use it in GitHub Desktop.
Save ykpythemind/cd5fbd53d9caa5d217986fe594ce13b4 to your computer and use it in GitHub Desktop.
フジロックTT・ブックマークレット / 新規ブックマーク→ URLに以下の内容をコピペして保存 → フジのタイムテーブルページ(http://www.fujirockfestival.com/artist/timetable/tt27.asp )で保存したブックマークレット開く → 見る予定のアーティストの名前をクリックしていく → 左上の「TT表示」を押す)
javascript: (function() { window.s = [jQuery('[name="timetable"] :selected').text()]; window._init = function() { var im = jQuery('td.stageGreen'); im.html("TT表示"); im.on('click', function() { window._b=window.document.body.innerHTML; window.document.body.innerHTML = window.s.join("<br>") + "<br><br><a href='javascript: window.document.body.innerHTML = window._b; window._init();'>【閉】</a>" }); jQuery('td > a').on('click', function(e){ e.preventDefault(); var j=jQuery(this).parent(); window.s.push('', '* ' + j.attr('class')+' <b>'+ j.text()+'</b>'); j.attr("class", ""); }); }; window._init(); })();
@ykpythemind
Copy link
Author

ykpythemind commented Jul 25, 2018

image

こんなかんじでブラウザ上で見るやつリストができる. iPhoneなどでも使える

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment