Showing posts with label javascript without file. Show all posts
Showing posts with label javascript without file. Show all posts

Tuesday, June 16, 2009

Checking javascript using ie adressbar without file

Hi all,

I was surfing through the net and i there i tried to copy one url which was something like

http://music.guruji.com/redirects/mp3Redirect.php?target=%20http%3A%2F%2Fmobiblaze.mobiblaze.com%2FCompressed%20Mp3%2Fhindi%20mp3%2FN%2Findex.php%3Fdir%3DNew%20York%2F%26file%3DHai_junoon_%28remix%29_kk.mp3

now in this url i am not able to read the actual redirected url at first attempt as i have to unescape this url no make it human readable. I so recalled that i use to alert the javascript variable values from address bar at workplace.

so i tried this in addressbar javascript:alert(unescape("string to unescape"));

and it worked like charm. And if some want to read more complex examples one can visit.

http://mikeoff.blogspot.com/2006/07/javascript-in-address-bar.html

Virat