Is it possible to create files that function as internet shortcuts?

By Ricci, 1 June, 2017

Forum
macOS and Mac Apps

I've been using a MacBook Air exclusively since Jan 23 after 20 years of non-stop Windows! I'm a happier computer user than I was before, that's for sure. But there's one really useful trick I used to do in Windows Explorer, I haven't found a way to do on my Mac. I used to be able to create Internet Shortcuts: little files that just held a URL & could be saved in my directories; & I could then go straight to that web page just by opening that shortcut. Is there a way to do the same thing in IOS & if so how?

Options

Comments

By Ricci on Sunday, June 25, 2017 - 14:41

I've just realised how this is done. In case anyone out there is interested here it is:
Open the website in Safari
Menu > File > Save As
If you save it as a web archive you can then re-open the website @ any time from Finder by opening the web archive.
The other format you could save it in is 'page source' - which simply saves the html page as html. this is useful too, if you want to read the actual tabs, style-sheets, java-script etc.

By kool_turk on Sunday, June 25, 2017 - 14:41

Here is another way it can be done.

For this to work, you'll need a basic text editor, I'll use notepad on windows as an example because I don't have a mac.

Open a blank text document and type the following exactly the way I've written it.

[InternetShortcut]
url=http://applevis.com

When you're done, simply save the file with a .url extention.

I suppose the method will be quicker, but this is suppose to be cross platform.

I haven't tested my internet shortcuts with someone that uses a mac so I don't know if the windows method only works for windows and vice verser.

I know this works cross platform, because David Woodbridge did a podcast on it quite some time ago.

I guess the only way to find out if it works is to try a shortcut you created with a mac on windows and vice verser, see if it works.

I'd be curious to know the results.

By Ramy on Friday, August 25, 2023 - 14:41

am searching to find an easier way to do ,
all i need is to have A .URL file that i can click, it will open the site that i need
Thanks in advance

By Ramy on Friday, August 25, 2023 - 14:41

I did and i could be draged and dropped easily, but, it appears as Web internet location, not dot URL,
i do not know if there are differences or not?

By kool_turk on Friday, August 25, 2023 - 14:41

Good thing I wrote the syntax in this thread then.

It can be a bit fiddly, but at least nothing drastic will happen if you make a mistake.

By Manuel on Friday, August 25, 2023 - 14:41

Another advantage of the new app bundles which can be created out of web pages is that they use own cache and cookies. So you can use this "app" independently of Safari and its cache.

By Bruce Harrell on Monday, September 25, 2023 - 14:41

Or, open page, open file>export>bookmark?

By Manuel on Monday, September 25, 2023 - 14:41

The bookmar export feature creats only a HTML file which contains the bookmarks. So no direct link for me that I could place on the desktop or somewhere else. Sonoma's feature will be the best choice for such functionality in the near future.

By Brian on Monday, September 25, 2023 - 14:41

I am just curious, what is wrong with the Web Archive option? I mean the steps are simple enough.

1. Press Command + S.
2. Pick a location and press Enter.
3. (Optional) You can also give it a unique name.

So.... are web archives not the same as an internet shortcut?

Apologies for my naïveté. 🥺

By Brian on Monday, September 25, 2023 - 14:41

Someone above mentioned Drag and Drop. This is also doable with VO in macOS.

1. Press Command + L to enter the address bar in your browser.
2. Press Command + A to select the address.
3. Press VO + (comma).
4. Press VO + Shift + D to go to Desktop.
5. Press VO + (period).

The file will save as a www.<insertaddresshere>.com.webloc file.

HTH.

By OldBear on Monday, September 25, 2023 - 14:41

Several years back, when I left Windows, I had a bunch of those shortcuts. I didn't really know what to do with them in the OS I switched to, so I wrote up a file with all those addresses laid out with some basic HTML code., such as headings, then made the file my browser's home page and also put it on the desktop. I very much prefer this to the bookmark feature of the browser. I can edit the file to change the links and layout, it's just a text file with the tag changed from txt to html, but you'd have to learn a little bit of markup.

By Ramy on Monday, September 25, 2023 - 14:41

It is working, but it will not create a shortcut

By Ramy on Monday, September 25, 2023 - 14:41

Frankly, do not know the difference, but i saw many people did the shortcut, so, i think it is more Efficient

By Brian on Monday, September 25, 2023 - 14:41

Below is an excerpt from Google–––

"WEBLOC files are shortcuts to websites generated by web browsers in macOS , such as Apple Safari or Google Chrome. It contains the URL of a web page and is created by dragging the website URL from the address bar of a web browser to another folder on the desktop or hard drive. Nov 30, 2022"

Source: https://www.minitool.com/lib/webloc-file.html#

See my post above labelled 'Drag & Drop'. It is super easy to do, and you can rename the file to something simple. i.e. "YouTube.webloc" instead of www.youtube.com.webloc.