js.bml[3] = 'Pass View'

404 Blog Not Found:javascript - パスワードを確認するbookmarklet

  • alertだとコピペ出来なくて不便なのでpromptに。
  • ほんの少し高速化(とゴルフ)。
javascript:(function(F,a,x,i){for(i=F.length;i--;)if(F[i].type.toLowerCase()=='password')a[x++]=(F[i].id||F[i].name)+':'+F[i].value;prompt('',x?a:'No Password')})(document.getElementsByTagName('input'),[],0)