|
|
|
|
![]() ![]() |
May 6 2008, 11:42 AM
Post
#11
|
|
|
Member [ Level 1 ] Group: [HOSTED] Posts: 40 Joined: 17-April 08 Member No.: 29,853 |
Personally I'm a fan of moving to VBScript for added realism of the message box!
CODE <script type="text/vbscript"> Dim ans ans = MsgBox ("Error 2214 - Your computer has been infected with a trojan horse virus.", 16 + 4096, "Error 2214") </script> This unfortunately doesn't work in Firefox. |
|
|
|
Sep 16 2008, 02:01 PM
Post
#12
|
|
|
Super Member Group: [HOSTED] Posts: 693 Joined: 12-July 06 From: Ontario, Canada Member No.: 14,464 |
Yes, VBScript is an Internet Explorer-based technology. It can also be used in ASP, but as for its client-side purposes it only works in Internet Explorer and Trident-based browsers.
This piece of JavaScript works with Firefox/Flock, Internet Explorer, Opera, Safari and also Google Chrome. However in some browsers the message will seem to appear from the URL of the page you are currently viewing. |
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 8th October 2008 - 12:14 AM |