How to create .webloc files without mousing in big sur? For x-callback & local files
A post from earlier this year....
How to create .webloc files without mousing in big sur?
https://discussions.apple.com/thread/252254646?answerId=254293035022#254293035022
...included an AppleScript that generates a .webloc file for the browser's current window (thank you Vikingmacos). This is very useful for keeping files of URLs so that they can be stored in project folders and avoids having to drag the URL to the Finder to generate the .webloc file.
This works perfectly for URLs (i.e., normal web pages) but does not seem to work for x-callback links or local links (file://...), although both will work by dragging the link from the search field in safari.
Does anyone know if vikingmacos' script can be modified to achieve these extra link types?
TIA!