私の☆レポート

    @@ -17,5 +17,5 @@ */ if (location.hostname.endsWith("hatena.ne.jp")){ - document.location = "http://s.hatena.ne.jp/" + document.getElementById("header-username").getAttribute("data-name") + "/report" + location.href = "http://s.hatena.ne.jp/" + document.getElementById("header-username").getAttribute("data-name") + "/report" }
  • /*
     * @title 私の☆レポート表示
     * @description はてなページを開いてる時に、そのログインユーザの、はてなスターのレポートページを開きます
     * @include http://*.hatena.ne.jp
     * @license MIT License
     * @require 
     */
    
    /*
    inspired by はてな匿名ダイアリー「おまえらのスター数を教えろ」
    http://b.hatena.ne.jp/entry/anond.hatelabo.jp/20150528080541
    
    本当は「私の☆は~です」とだけ表示ないしは上記ブクマページでコメント欄
     document.getElementById("comment").value に代入したいのだが
    手間をかけずに多くの環境で動く方法が分からぬ。
    あとはまかせた。
    */
    
    if (location.hostname.endsWith("hatena.ne.jp")){
       location.href = "http://s.hatena.ne.jp/" + document.getElementById("header-username").getAttribute("data-name") + "/report"
    }
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2015/05/29 12:47:55 - 2015-05-29
  2. 2015/05/29 12:44:29 - 2015-05-29
  3. 2015/05/29 12:38:31 - 2015-05-29
  4. 2015/05/29 12:30:02 - 2015-05-29