Click to See Complete Forum and Search --> : shortcut icon
I am not sure whether this is a Java Script or other method, but I saw a newspaper webpage (I can't find it now) that when you visit and then leave the site it deposits a short cut icon on your computer for this paper. When you click it it opens up your browser and goes directly to the newspaper's website. How do they do that ?
vickers_bits
02-06-2003, 05:23 AM
in VBScript (ASP)
<%
Dim WshShell, strDesktop, oUrlLink
Set WshShell = CreateObject("WScript.Shell")
strDesktop = WshShell.SpecialFolders("Desktop")
Set oUrlLink = WshShell.CreateShortcut (strDesktop + "\ShortCutFileName.URL")
oUrlLink.TargetPath = "http://yoursite.com/page.asp"
oUrlLink.Save
%>
Virus Scanners with script blocking will stop this
How can you impliment such ascript with regular html?
Sorry but I have no knowledge VB Script...
Originally posted by wot
How do they do that ? Please don't...:(
khalidali63
02-06-2003, 08:51 AM
Yes.There is another thread in this forum of almost the same sort,I did not want to answer it for the same reason.why people want to impose there will on others without consent????????.
http://forums.webdeveloper.com/showthread.php?s=&threadid=3633