Wednesday, July 17, 2013

Display text in windows status bar to avoid URL security violations

How to display message in windows status bar



Following script would be used to display message in window status bar so that non of the URL
of the page would be displayed in status bar.

<SCRIPT language=Javascript>
var text = "VELS-HandTech?...";
var speed = 100;
var x = 0;
function mks_statusbar()
{
var

a = text.substring(0,x)
var b = text.substring(x,x+1).toUpperCase()
var c = text.substring(x+1,text.length)
window.status = a + b + c

if (x == text.length) { x = 29 }
else {

x++ }
setTimeout("mks_statusbar()",speed)
}
mks_statusbar ();