Extract copied link domain into env variable

Including protocol in case you, like me, enjoy SSL.