restore my rights

    @@ -16,7 +16,7 @@ elems[i].style['user-select'] = 'initial'; elems[i].style['-webkit-user-select'] = 'initial'; } - if ($) { + if (*) { $('body').unbind(); } }());
  • /*
     * @title restore my rights
     * @description (x_x)
     * @include http://*
     * @license MIT License
     * @require 
     */
    
    (function() {
      var elems = document.querySelectorAll('*');
      for (var i = 0,length = elems.length; i < length; i++) {
        elems[i].setAttribute('unselectable', 'off');
        elems[i].onmousedown = null;
        elems[i].oncontextmenu = null;
        elems[i].onselectstart = null;
        elems[i].style['user-select'] = 'initial';
        elems[i].style['-webkit-user-select'] = 'initial';
      }
      if (*) {
        $('body').unbind();
      }
    }());
    
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2019/03/25 11:51:11 - 2019-03-25
  2. 2014/11/05 15:42:54 - 2014-11-05
  3. 2014/11/05 15:42:45 - 2014-11-05
  4. 2014/11/04 13:38:18 - 2014-11-04
  5. 2014/11/04 13:38:08 - 2014-11-04
  6. 2014/11/04 13:33:42 - 2014-11-04
  7. 2014/10/06 14:40:12 - 2014-10-06