+1ボタンを消す

  • /*
     * @title +1ボタンを消す
     * @description なかば無理やりgoogleの+1ボタンを非表示にします。
     * @include http://www.google.co.jp/search*
     * @include http://www.google.com/search*
     * @license MIT License
     */
    (function(d){
      if(d.match(/google\.com|google\.co\.jp/)){
        var stylesheet = document.styleSheets.item(0);
        stylesheet.insertRule("button.esw.eswd{ display:none !important; }", stylesheet.cssRules.length);
        setInterval(function(){
          stylesheet = document.styleSheets.item(0);
          stylesheet.insertRule("button.esw.eswd{ display:none !important; }", stylesheet.cssRules.length);
        },1000);
      }
    })(document.domain);
    
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2011/07/01 11:30:41 - 2011-07-01
  2. 2011/07/01 11:29:10 - 2011-07-01
  3. 2011/07/01 11:23:25 - 2011-07-01
  4. 2011/07/01 11:20:59 - 2011-07-01
  5. 2011/07/01 11:19:22 - 2011-07-01
  6. 2011/07/01 11:15:38 - 2011-07-01
  7. 2011/07/01 11:12:57 - 2011-07-01
  8. 2011/07/01 11:10:06 - 2011-07-01
  9. 2011/07/01 11:09:18 - 2011-07-01
  10. 2011/07/01 11:05:30 - 2011-07-01
  11. 2011/07/01 11:05:00 - 2011-07-01
  12. 2011/07/01 11:02:07 - 2011-07-01
  13. 2011/07/01 10:59:12 - 2011-07-01