view_pswd

    @@ -1,6 +1,6 @@ /* * @title view_pswd - * @description show hidden password + * @description show hidden password http://qiita.com/AQRiL_1132/items/10d6934da27b171a1e2e * @license MIT License */ (function () {
  • /*
     * @title view_pswd
     * @description show hidden password http://qiita.com/AQRiL_1132/items/10d6934da27b171a1e2e
     * @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