Use Hyperlinks to Open Specific Web Browsers

When creating a link, you can help direct the users system to use a specific application to open the link. I hope to explain how to use special web protocols inside hypertext links to force web pages or files to open with Microsoft Edge on Windows. To see for yourself how to force links to open in Microsoft’s Edge Browser, insert a normal <A> (anchor tag) in the page source, like so:

<A HREF="http://www.mywebsite.com/testfile">My test file link</A>

Now, place microsoft-edge: before the hypertext reference link:

<A HREF="microsoft-edge:http://www.mywebsite.com/testfile">My test file link</A>

The link will look normal in any browser, but when you click the link it will attempt to target the Microsoft Edge browser to open the link. Microsoft itself uses this same technique on its Bing Rewards page.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s