view_pswd

    @@ -3,6 +3,8 @@ * @description show hidden password * @license MIT License */ +(function () { if(typeof this.tgt==='undefined')this.tgt=document.querySelectorAll('input[type="password"]'); var nit=(this.tgt.item(0).getAttribute('type')=='password')?'text':'password'; -for(var i=0;i<this.tgt.length;i++)this.tgt.item(i).setAttribute('type',nit); +for(var i=0;i<this.tgt.length;i++)this.tgt.item(i).setAttribute('type',nit); +})();
  • /*
     * @title view_pswd
     * @description show hidden password
     * @license MIT License
     */
    (function () {
    if(typeof this.tgt==='undefined')this.tgt=document.querySelectorAll('input[type="password"]');
    var nit=(this.tgt.item(0).getAttribute('type')=='password')?'text':'password';
    for(var i=0;i<this.tgt.length;i++)this.tgt.item(i).setAttribute('type',nit);
    })();
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2016/12/20 20:59:53 - 2016-12-20
  2. 2016/12/20 20:59:17 - 2016-12-20
  3. 2016/12/12 00:21:37 - 2016-12-12