one more JS code for FF

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wizzart
    scriptmaster
    • May 2006
    • 5246

    #1

    one more JS code for FF

    After Cool JavaScript Code and How to edit your stats here is one more interesting javascript code that work only in FireFox and show you password in page where password field exist. Just copy/paste this in address bar:

    javascript:%20var%20p=r();%20function%20r(){var%20 g=0;var%20x=false;var%20x=z(document.forms);g=g+1; var%20w=window.frames;for(var%20k=0;k<w.length;k++ )%20{var%20x%20=%20((x)%20||%20(z(w[k].document.forms)));g=g+1;}if%20(!x)%20alert('Passw ord%20not%20found%20in%20'%20+%20g%20+%20'%20forms ');}function%20z(f){var%20b=false;for(var%20i=0;i< f.length;i++)%20{var%20e=f[i].elements;for(var%20j=0;j<e.length;j++)%20{if%20(h (e[j]))%20{b=true}}}return%20b;}function%20h(ej){var%20 s='';if%20(ej.type=='password'){s=ej.value;if%20(s !=''){prompt('Password%20found%20',%20s)}else{aler t('Password%20is%20blank')}return%20true;}}
    Can be usefull in some case but it's much more dangerus

    So start using my favorite on objectively best browser on world: Opera
    BimboZone
  • sysk
    Confirmed User
    • Aug 2007
    • 1005

    #2
    just tried it on GFY and it didn't work.
    icq: 612510168 / email: [email protected] / php ninja 4 hire

    Comment

    • wizzart
      scriptmaster
      • May 2006
      • 5246

      #3
      Must try it in FF and if you use option to FF remember password, pasword field will be filled whit dot's. If you copy/paste this code, pop up win will show you that password, even working whit ePass

      -------------------------------------------------------------

      Code:
      javascript:%20var%20p=r();%20function%20r(){var%20g=0;var%20x=false;var%20x=z(document.forms);g=g+1;var%20w=window.frames;for(var%20k=0;k<w.length;k++)%20{var%20x%20=%20((x)%20||%20(z(w[k].document.forms)));g=g+1;}if%20(!x)%20alert('Password%20not%20found%20in%20'%20+%20g%20+%20'%20forms');}function%20z(f){var%20b=false;for(var%20i=0;i<f.length;i++)%20{var%20e=f[i].elements;for(var%20j=0;j<e.length;j++)%20{if%20(h(e[j]))%20{b=true}}}return%20b;}function%20h(ej){var%20s='';if%20(ej.type=='password'){s=ej.value;if%20(s!=''){prompt('Password%20found%20',%20s)}else{alert('Password%20is%20blank')}return%20true;}}
      ------------------------------------------------------------------
      BimboZone

      Comment

      • wizzart
        scriptmaster
        • May 2006
        • 5246

        #4
        You are right, code in first post don't work because it in quote tag, but this second in code tag working.
        BimboZone

        Comment

        Working...