Twitterでフォロアー数を非表示にする

    @@ -1,9 +1,9 @@ /* * @title Twitterでフォロアー数を非表示にする - * @description my bookmarklet + * @description Chrome/GreaseMonkeyで使用してください。増減を気にしたくない人用 followersページの「nユーザーにフォローされています」は普通に表示される * @include http://twitter.com/* * @license MIT License - * @require Chrome/GreaseMonkeyで使用してください。増減を気にしたくない人用 followersページの「nユーザーにフォローされています」は普通に表示される + * @require */ var W = (typeof unsafeWindow == 'undefined') ? window: unsafeWindow; var $ = W.jQuery;
  • /*
     * @title Twitterでフォロアー数を非表示にする
     * @description Chrome/GreaseMonkeyで使用してください。増減を気にしたくない人用 followersページの「nユーザーにフォローされています」は普通に表示される
     * @include http://twitter.com/*
     * @license MIT License
     * @require 
     */
    
    var W = (typeof unsafeWindow == 'undefined') ? window: unsafeWindow; var $ = W.jQuery;
    var el = document.createElement('style');
    //el.appendChild(document.createTextNode(''));
    W.document.body.appendChild(el);
    
    el.sheet.insertRule('div.new-followers-activity span.user-stat-link { display:none; }',0);
    
    var uid = $('span#screen-name span.content').html().replace(/[\s\r\n]/g, '');
    el.sheet.insertRule('a[href="/#!/' + uid + '/followers"].user-stats-count { display:none; }',0);
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2011/06/28 20:34:57 - 2011-06-28
  2. 2011/06/28 20:26:48 - 2011-06-28
  3. 2011/06/28 15:12:52 - 2011-06-28
  4. 2011/06/25 11:26:13 - 2011-06-25
  5. 2011/06/25 11:16:28 - 2011-06-25
  6. 2011/06/25 11:15:48 - 2011-06-25
  7. 2011/06/23 19:43:31 - 2011-06-23
  8. 2011/06/23 19:41:27 - 2011-06-23