ついったーWEBのDMの新着解除

  • /*
     * @title ついったーWEBのDMの新着解除
     * @description こんなんなる ⊂( っ☉ω☉)っ http://cl.azuc.at/190w2I05243c3Y2I2u0K
     * @include http://twitter.com/*
     * @include https://twitter.com/*
     * @license MIT License
     * @require 
     */
    
    var script = document.createElement('script');
    script.textContent = '(' + (function () {
      var row = $('.messages'); row.after(row.clone().find('a').html('└── Mark as read').click(function(){
        window.localStorage['dm_threads']='';
        $('.js-direct-message-count').remove();
        $('.me.new').removeClass('new');
      }).parent());
    }).toString() + ')();';
    document.body.appendChild(script);
    document.body.removeChild(script);
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2012/03/02 23:02:09 - 2012-03-02
  2. 2012/03/02 23:01:44 - 2012-03-02
  3. 2012/03/02 23:01:12 - 2012-03-02
  4. 2012/03/02 22:41:56 - 2012-03-02
  5. 2012/03/02 22:41:11 - 2012-03-02
  6. 2012/03/02 22:39:02 - 2012-03-02
  7. 2012/03/02 22:35:28 - 2012-03-02
  8. 2012/03/02 22:20:29 - 2012-03-02