I came across “Copy URL to Clipboard.app” (or “CUTC” for short) in How to access a clicked URL in a URL handler application created in Automator and have been using it for some time now. However, it seems to have stopped working in OS X 10.11, and I have no idea what to do to make it work.
What I've tried
I downloaded the pre-compiled app and moved it to /Applications/ and then launched it manually to clear the quarantine message (“Are you sure you want to open this file downloaded from the Internet?”)
I went to System Preferences » General and clicked the dropdown for “Default Web Browser" but CUTC does not appear as one of the available browsers.
I rebooted my Mac just to make sure. It still did not appear.
I tried https://github.com/kerma/defaultbrowser to set my default browser from Terminal:
% defaultbrowser -set Copy\ URL\ to\ Clipboard
Copy URL to Clipboard is not available as a HTTP browser
(It also listed all available HTTP browsers, which made it clear that OS X did not consider CUTC to be able to receive http/https links, as opposed to some sort of simple syntax error trying to use the
I re-compiled the app from source in Xcode, and tried using that instead, but had the same results as with the pre-compiled version.
I have no idea where to go from here. I am not a programmer and have no idea what needs to be done for an app to register itself as able to receive http/https links.
The Problem I Am Trying to Solve
I have used CUTC as my default browser in the past so that I could process URLs using shell scripts before handing them to another browser.
If there is another app out there which is capable of receiving http/https links clicked on from other apps (mail, Tweetbot, etc), I would be equally happy to try that.