Remember Passwords

  • /*
     * @title Remember Passwords
     * @description パスワードを覚えてくれないサイトでも覚えさせる
     * @include http://*
     * @license MIT License
     * @require 
     */
    // ブックマークレットを実行してからログイン処理をすると記憶のダイアログがでる
    (function(){var a,b,c,d;b=a=c=0;(function(e){var f,g,h,i,j;for(f=0;f<e.length;f++){try{arguments.callee(e.frames[f]);}catch(k){}}g=e.document.forms;for(h=0;h<g.length;h++){i=g[h];c++;if(i.attributes["autocomplete"]){i.attributes["autocomplete"].value="on";b++;}for(j=0;j<i.length;j++){d=i[j];if(d.attributes["autocomplete"]){d.attributes["autocomplete"].value="on";a++;}}}})(top);alert("Removed%20autocomplete%20prevention%5Cnfrom%20"+b+"%20forms,%20"+a+"%20form%20elements%5Cnout%20of%20"+c+"%20possible%20forms.");})()
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2010/07/27 17:08:10 - 2010-07-27