| |
| Title: |
Show Password OnMouseOver |
| Date Added: |
| 2007-04-23 05:55:27 |
Installs: |
5281 |
|
| Description: |
Show password when mouseover on password field |
| Preview of Show Password OnMouseOver |
|
| View script source of Show Password OnMouseOver |
|
| Comment of Show Password OnMouseOver |
 |
[2007-11-12 00:40:42]vorawat says: |
| kvlfsn kldsnfkdsl fnsdklfn dskfnsd;l |
|
 |
[2007-12-19 10:54:53]LouCypher says: |
| http://userscripts.org/scripts/show/1893 |
|
 |
[2008-02-08 05:55:15]shams says: |
| hi this is very nice |
|
 |
[2008-05-25 08:31:52]pompeia says: |
I try it and get an error:
C:\ShowPasswordOnOnMouseOver.ieuser.js
line 26
character 2
Error "document" is not defined
Code 800A1391
Origin Error at execution time on Microsoft.JScript
I have a Pentium 4, 1gb, Windows XP SP2 |
|
 |
[2009-01-06 01:43:23]kakabro says: |
| it cool soft |
|
 |
[2009-01-15 12:06:32]jaichouhan says: |
// ==UserScript==
// @name Show Password onMouseOver
// @namespace http://ie7pro.com/
// @include *
// @description Show password when mouseover on password field
// ==/UserScript==
(function() {
function addEvent( obj, type, fn ) {
if ( obj.attachEvent ) {
obj["e"+type+fn] = fn;
obj[type+fn] = function() { obj["e"+type+fn]( window.event ); }
obj.attachEvent( "on"+type, obj[type+fn] );
} else
obj.addEventListener( type, fn, false );
}
function removeEvent( obj, type, fn ) {
if ( obj.detachEvent ) {
obj.detachEvent( "on"+type, obj[type+fn] );
obj[type+fn] = null;
} else
obj.removeEventListener( type, fn, false );
}
var valueDiv = null;
valueDiv = document.createElement('div');
valueDiv.style.cssText = "background:#FFFF00;color:#000000;width:120px;height:16px;display:none;position:absolute;top:0px;left:0px;";
document.body.appendChild(valueDiv);
function input_onmouseover(e)
{
var elm = e.srcElement;
if(!elm) return;
var value = elm.value ? elm.value : '';
if(value == '') return;
valueDiv.innerHTML = value;
valueDiv.style.display = "block";
valueDiv.style.top = e.y + 'px';
valueDiv.style.left = e.x + 'px';
}
function input_onmouseout(e)
{
var elm = e.srcElement;
if(!elm) return;
valueDiv.style.display = "none";
}
var inputs, input;
inputs = document.getElementsByTagName('input');
if(inputs.length == 0) return;
for(var i = 0; i < inputs.length; i++) {
input = inputs[i];
var type = input.getAttribute('type');
if(type && type=='password'){
addEvent(input, 'mouseover', input_onmouseover);
addEvent(input, 'mouseout', input_onmouseout);
}
}
})(); |
|
 |
[2009-01-15 12:08:45]jaichouhan says: |
| how can we use this script to see password |
|
 |
[2009-07-29 01:34:21]ferasnofal says: |
how can i install it?
|
|
|
| |
| Written by |
|
 |
| Name: | hxgtiantang |
| Scripts: | 10 |
| Styles: | 0 |
| Plugins: | 0 |
| Tags |
|
|
|
| About IE7Pro |
| IE7Pro is a plugin for the Internet Explorer web browser. It allows you to change how your favorite pages behave and look. There are many scripts that have already been written, and if you know javascript you can easily create your own! This site is a repository to download and install IE user scripts. |
| How to install user script |
1 . First you should have install IE7Pro 0.9.12 and above which support IE user scripts. 2. Check if IE7Pro "Preference" - "User Scripts" - "EnabLe User Script" is enabled. 3. Find your favorite scripts on iescripts.org and click "Install This Script" . |
| |
|
|
| |