Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there any way to create Internet shortcut files that will work with all operating systems (including Mac, Windows, and Linux)? I often switch between Windows and Linux, and I haven't yet found a way to create an internet shortcut file (on the desktop or in a local folder) that is compatible with all operating systems.

share|improve this question

1 Answer 1

up vote 9 down vote accepted

I found a reasonable cross-platform solution. This HTML document could be used as a shortcut to stackoverflow.com, and it would immediately redirect to that site when opened from the desktop:

<script type="text/javascript">
    window.location.href = "http://stackoverflow.com"; //change this to the URL
                                                       //you want to redirect to
share|improve this answer
this is such a fantastically simple solution... thank you –  Nick Franceschina Jan 29 '13 at 0:27
Why not use <meta http-equiv="refresh" content="0; url=http://example.com/"> in the <head> instead of relying on javascript? –  Evan Mattson Sep 11 '14 at 0:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.