Skip to Content

I feel a bit ordinary writing a blog post about something as trivial as one line of javascript, so I decided to include a picture as well.

Thos look like passwords... they ARE passwords....

It shows a screen from the guided procedure for Solution Manager Configuration.  The interesting part is what I have done wrong.  I’m using the javascript referred to by this link ( Show  Passwords ) to display the value(s) of all password fields on the  current web page.  

In this case, the Administrative User values are the same, but the Administrative Password fields are different.  Since they are using the User Source (the ABAP engine), one of the value (or both !!) must be incorrect.

Save the javascript by dragging the link to your bookmarks, or by saving the link to your bookmarks.

 Tested in Firefox 3.x and IE 6 thru .

To report this post you need to login first.

4 Comments

You must be Logged on to comment or reply to a post.

  1. sreekanth ch
    Hi Martin,

    I dont find the javascript in the blog. can you please revert with the javascript to be used to check this.

    Thanks and regards,
    Sreekanth

    (0) 
    1. Martin English Post author

      G’day Sreekanth,<br/>1) My apologies for the delay in replying; I’ve been on holiday (and offline at Wife and Children’s request) for two weeks.<br/><br/>2) the javascript is listed below – I’m not too sure what happened, the blog preview showed it up OK, but obviously the post itself is incorrect.<br/><br/>3) Copy the code (including the keyword javascript and the trailing semi-colon) into the properties of a new or existing bookmark<br/><br/>4) This works just as effectively in IE6 thru IE8, as well as Firefox.  <br/><br/>javascript:(function(){var%20s,F,j,f,i;%20s%20=%20″”;%20F%20=%20document.forms;%20for(j=0;%20j<F.length;%20+j)%20{%20f%20=%20F[j];%20for%20(i=0;%20i<f.length;%20i)%20{%20if%20(f[i].type.toLowerCase()%20==%20″password”)%20s%20=%20f[i].value%20%20″\n”;%20}%20}%20if%20(s)%20alert(“Passwords%20in%20forms%20on%20this%20page:\n\n”%20%20s);%20else%20alert(“There%20are%20no%20passwords%20in%20forms%20on%20this%20page.”);})();

      (0) 

Leave a Reply