On iOS the situation has become more complicated, as the redirect can work depending on the app used to open the html file. In my experience, Onedrive and Dropbox work (though onedrive won't let you share the redirected file), but Files, Notes, and Google Drive won't. Alternatively, you can always save the file somewhere (locally on the device or in some cloud provider or network drive) and create a shortcut which follows these instructions for it to open in safari (just as if you had saved it and opened it from Dropbox): https://www.reddit.com/r/shortcuts/comments/p3wm9a/comment/h8v42as/?context=3
Comments on What is the best file format for web shortcuts
Of course, this only applies if you don't upload the file to some webserver that will render it normally, in that case it will redirect just fine.
MANY thanks for this information! I'm in the process of researching the best method to convert 13,000+ bookmarks from Chromium's JSON bookmarks file into a .url file for each bookmark, preserving folder structure. (Yes, it's probably an insane number so this is part of my effort to help in minimizing and simplifying my bookmarks situation).
I've seen several approaches but none seem to match my needs (*fairly* minimal, but including "as simple as possible"...) precisely enough. Partly because I don't know Python, JS, etc., haven't worked with VB & SQL databases for 19 (!) years, and haven't parsed with GW Basic since, well, even longer (and I don't think it's practical - if even possible - to use it). So I need to learn a language that will be the simplest application for the job.
Hi Daniel, have you run into .web files? This is what Dropbox uses to link to Google docs for example, and it's just a file with this bit of JSON inside: {"url": "LINK_HERE"}
The interesting thing is that Windows recognizes and opens them w/o fuss! This leads me to believe it's a standard of some sort, but I haven't been able to find out more info about them.
Paul, those .web files are handled by Dropbox. They are not recognized by Windows unless you have it installed.
Hey Daniel, I checked the "Default apps by file type" settings page after I posted and realized what you're saying - it's a Dropbox-specific file. Anyway, thanks for responding, it would be a nice format if it could be made standard though!
Great article! It's so strange that there isn't a global standard for such a simple thing.
Sukil