Google Chrome won’t open URL files by double click

google-chromelinksurl

I recently tried to open a URL link I saved onto my desktop by double clicking it, but it will not open correctly. If I DRAG & DROP the file into chrome works fine.

The code of the file is as follows:

[InternetShortcut]
URL=https://www.textnow.com/login

the file is saved with a ".url" extension

If I double click on the file I'm prompted by finder to choose which application to open it with (Chrome is greyed out, but I choose 'All Applications' and then choose Chrome), it will then simply load a page in Chrome and display the code on the page, instead of opening the url specified in the code.

running Version 50.0.2661.94 (64-bit) on OSX 10.9.5

Best Answer

This is a known issue with Google Chrome. See:Chrome doesn't recognise .url files properly

The workaround it to use an Extension such as .URL Handler

Once installed you need to go to Chrome > Preferences... > Extensions (chrome://extensions/) and check the [✔] Allow access to file URLs check box.

enter image description here