Extension to auto copy URL

If I want to copy URL of current web page i have select the address from address bar and press "Ctrl + C". But is there any way, if no text is selected on a web page, when I press "Ctrl + C", it will copy URL of current place to clipboard. any firefox, chrome extensions or Greasemonkey script will do


There are a couple of Chrome Extensions, the one I found quite good is Template. In order to copy the URL, you just hit Ctrl+Alt+U, or Shift-Alt-U on a Mac.

It's also available on GitHub.

It's a bit older, but you have probably seen this answer where I posted a customized version it that is able to just copy the path after the domain, too.