Skip to content

Instantly share code, notes, and snippets.

@neuralpain
Last active August 14, 2024 05:27
Show Gist options
  • Save neuralpain/f7b45dd8110be7538c2aabc8d7568fb6 to your computer and use it in GitHub Desktop.
Save neuralpain/f7b45dd8110be7538c2aabc8d7568fb6 to your computer and use it in GitHub Desktop.
Creating a shortcut to a webpage on the fly

Ever had the urge to create a url shortcut to a webpage but didn't want to leave your code IDE?

It's actually quite simple to do.

Just follow the code below and replace the url value with the webpage that you want to access.

[InternetShortcut]
URL=https://www.example.com/

Save the file with a .url extension and that's it.

Works on Windows, MacOS and most likely Linux as well.

[InternetShortcut]
URL=https://www.example.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment