6

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

  • 1
    I made a .url file using your example and get the same results as you. – user3439894 May 6 '16 at 21:11
5

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

  • IS there a similar feature for Ubuntu ? These Chrome extenstions do not work on Ubuntu – Kalamalka Kid May 6 '16 at 21:35
  • 1
    @Kalamalka Kid, I haven't looked to see about Ubuntu as this forum is for Apple stuff. Stack Exchange has an Ask Ubuntu forum too. – user3439894 May 6 '16 at 21:38
1

OK did some digging around. It turns out that Google Chrome's security model normally doesn't allow clicking on .url files to open them.

There is a Chrome extension that will allow this though so the solution is easy for OSX users.

-1

Although this is problem for BROWSER (not Apple) I will add solution for Windows too:

Open Start>Settings>System>Default apps and check that Google Chrome is chosen under Web Browser. Also open up Choose default apps by file type, scroll down to .url file and choose "Internet Browser" next to it.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .