%PDF- %PDF-
Direktori : /data/down/eBOOKS/JavaScripty/ |
Current File : //data/down/eBOOKS//JavaScripty/zjisteni predchozi stranky.html |
<html> <head> </head> <body> <script> <!-- a=document.referrer; window.alert("You came here from: "+a); // --> </script> Tento skript vam moze posluzit na rozne ucely. S vyuzitim premennej document.referrer viete zistit z akej stranky prisiel uzivatel na tu vasu. Podla toho, mozete vyhodnocovat rozne stavy. <hr> You can use this script for several purposes. If you use variable document.referrer you can determine from which page the user came from. According to this, you can redirect user to specified page. </body> </html>