twithitterでチームアイコンにTwitterへのリンクを貼る

    
      
  • /*
     * @title twithitterでチームアイコンにTwitterへのリンクを貼る
     * @description twithitterでチームアイコンにTwitterへのリンクを貼る
     * @include https://twithitter.com/team/*
     * @license MIT License
     */
    (function(){var a=window.location.href.split("/"),b=document.createElement("a");b.setAttribute("href","https://twitter.com/intent/user?user_id="+a[a.length-1]);b.setAttribute("target","_blank");a=document.getElementsByClassName("block-title clearfix")[0];b.appendChild(a.getElementsByTagName("img")[0]);a.insertBefore(b,a.firstChild)})();
    
    
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2017/05/13 15:29:02 - 2017-05-13
  2. 2017/05/13 15:24:31 - 2017-05-13