俺にスターつけてくれた人のブコメはどれ?

    @@ -3,7 +3,7 @@ * @description エントリページで動作します。 * @include http://http://b.hatena.ne.jp/entry/* * @license MIT License - * @require + * @javascript_url */ document.querySelectorAll('.is-my-bookmark .hatena-star-star').forEach(function(e){
  • /*
     * @title 俺にスターつけてくれた人のブコメはどれ?
     * @description エントリページで動作します。
     * @include http://http://b.hatena.ne.jp/entry/*
     * @license MIT License
     * @javascript_url 
     */
    
    document.querySelectorAll('.is-my-bookmark .hatena-star-star').forEach(function(e){
      var target = document.querySelector('.js-bookmarks-sort-panels [data-user-name=' + e.getAttribute('alt') + ']');
      console.log(e.getAttribute('alt'));
      if (target) target.style.backgroundColor = '#ff9';
    });
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2022/09/07 11:04:29 - 2022-09-07
  2. 2018/01/18 16:42:04 - 2018-01-18
  3. 2018/01/18 16:40:35 - 2018-01-18
  4. 2018/01/18 16:26:06 - 2018-01-18
  5. 2016/05/31 16:21:14 - 2016-05-31