- Okugcinwe kunqolobane
How to save automaticaly the URL as shortcut file for download?
Hello there, It's probably a simple one line of code solution, but I don't find the answer or how to do it. I started yesterday writing add-on code for Firefox using ja… (funda kabanzi)
It's probably a simple one line of code solution, but I don't find the answer or how to do it.
There is a feature with the browser where we can drag and drop the website URL to the desktop to create a shortcut file that will open the website at the URL address. This works fine, but it can be tiring manual work.
I'm trying to accomplish the same result, but with code so that when I download a file with the add-on its URL shortcut is also automatically saved.
I searched enough to see at least one other add-on that seem to be able to save a URL as file, but there's a few problem. One is that the file does not contain the thumbnail like the original URL created from the browser itself. Another is that the file size takes 10 to 100 times more storage space. Lastly, when I open it Windows display a warning message that needs to be answered to continue. That extra step gives a bad experience. I admit that I haven't looked at the code yet, but I suspect that it won't do the result that I want even if I understand how it works which I'll take a chance to do.
Overall, I would say that I found nothing like the default drag and drop option.
I'm afraid that if I ask if is there such feature the answer will be negative.
Any help is welcome. Thanks.