17. juli 2001 - 18:26
Der er
1 kommentar og 1 løsning
Detection
Hej Kan nogle hjælpe mig med at få dette script til at eksekvere save_info.php linket automatisk? <HTML> <head> <title>Detection</title> <SCRIPT LANGUAGE=\"JavaScript1.2\"> <!-- rz=\"na\"; // Screen Rez cd=\"na\"; // Color Depth bn=navigator.appName; // Browser Name if (bn.substring(0,9)==\"Microsoft\") { bn=\"MSIE\"; // browser name, cont\'d }; rz=screen.width+\"*\"+screen.height; // Screen Rez, cont\'d cd=(bn==\"MSIE\")?screen.colorDepth:screen.pixelDepth; // Color depth if (cd==\"undefined\") { cd=\"na\"; // Color depth, cont\'d }; arg=\"<a href=\'save_info.php?\"; arg+=\"bn=\"+bn+\"&rz=\"+rz+\"&cd=\"+cd; arg+=\"\'>Find your screen rez</a>\"; document.write(arg); //--> </script> <img src=\"save_info.php?bn=\"+bn+\"&rz=\"+rz+\"&cd=\"+cd height=\"1\" width=\"1\"> </head> </body> </html>
Annonceindlæg fra inspirit365
<HTML> <head> <title>Detection</title> <SCRIPT LANGUAGE=\"JavaScript1.2\"> <!-- rz=\"na\"; // Screen Rez cd=\"na\"; // Color Depth bn=navigator.appName; // Browser Name if (bn.substring(0,9)==\"Microsoft\") { bn=\"MSIE\"; // browser name, cont\'d }; rz=screen.width+\"*\"+screen.height; // Screen Rez, cont\'d cd=(bn==\"MSIE\")?screen.colorDepth:screen.pixelDepth; // Color depth if (cd==\"undefined\") { cd=\"na\"; // Color depth, cont\'d }; arg=\"<a href=\'save_info.php?\"; arg+=\"bn=\"+bn+\"&rz=\"+rz+\"&cd=\"+cd; arg+=\"\'>Find your screen rez</a>\"; document.write(arg); //--> </script> </head> <body onload=\'document.images.et_navn.src=\"save_info.php?bn=\"+bn+\"&rz=\"+rz+\"&cd=\"+cd;\'> <img name=\"et_navn\" src=\"spacer.gif\" height=\"1\" width=\"1\"> </body> </html> mvh JakobA