Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I enter www.google.com in Safari's address bar and enter a search term in Google's search box I can later copy the URL of that particular Google search from the address bar.

However when I search on Google by directly entering the search term in Safari's address bar, I can never copy the Google search URL from the address bar because the address bar still contains the search terms rather than the Google URL.

How can I copy the URL for a Google search in this instance?

share|improve this question
up vote 6 down vote accepted

You can drag the magnifying glass icon on the location bar to a plain text view:

Or run prompt("",location.href) in the JavaScript console or run tell application "Safari" to URL of document 1 in AppleScript Editor.

share|improve this answer
    
Dragging is great and works. Thank you! – LearnCocos2D May 1 '13 at 11:00

You must log in to answer this question.

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