What is status and how does it work | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

What is status and how does it work

27th Nov 2016, 11:27 PM
Ian
Ian - avatar
2 Respuestas
+ 2
I guess you're talking about window.status? Here's an example code <a href="http://www.example.com/tracking.php?url=http://www.destination.xyz" onmouseover="window.status = 'http://www.destination.xyz' return true;" onmouseout="window.status = '' return true;">Click me now</a> It manipulates the status bar shown to the user in the browser. Even though you're redirected to example.com, you're seeing the destination URL instead in the browser's status bar. Since this property is confusing and probably dangerous, modern browser versions deactivated this feature, so you have to manually activate it in the configuration.
28th Nov 2016, 5:01 AM
Kerem Adıgüzel
Kerem Adıgüzel - avatar
0
thank you!
28th Nov 2016, 6:27 AM
Ian
Ian - avatar