Create a Desktop Icon with proper icon name, not URL name

B

Bodi

Hello,
Could someone please tell me if there is a way, or how do I change my
html/javascript so that if I drag and drop a link from a webpage to
the desktop in such a way that the name of the shortcut created is not
the URL of the link but the link itself?
any help is greatly appreciated.

e.g. if the link is

<a href="http://www.microsoft.com"> MS </a>

then the name of the desktop icon should be 'MS' and not
http://www.microsoft.com

thanks again..
ravi.
 
L

Lasse Reichstein Nielsen

Could someone please tell me if there is a way, or how do I change my
html/javascript so that if I drag and drop a link from a webpage to
the desktop in such a way that the name of the shortcut created is not
the URL of the link but the link itself?

Cannot be done. The browser decides what it does with a drag-n-drop
operation. It is not controlled by the page.

/L
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,438
Messages
2,571,699
Members
48,796
Latest member
Greg L.
Top