Apple - Is there an option to show the real url when you do search on Safari 6?

Safari maintains this information internally, but I've only been able to make it divulge the actual URL by enabling the web inspector (Option-Command-I) after you have enabled the Debug menu at the bottom of the advanced tab in Safari Preferences (Command-,). You can of course drag the URL out of the search window to get a link (instead of copying which just copies the visible search terms).

You will see the Full URL under the Location disclosure in the bottom right corner of your screen. The only good part of this is the text is copyable once you've navigated and selected it. It might be possible to write a Safari extension to perform this copy, but I have not found one to do this yet.

enter image description here

As provided by Arjan you can also make a bookmark and use JavaScript to retrieve the URL.

javascript:(function(){window.location.href=window.location.href.replace("search?", "#");})()

You might also be interested in gDirectLinks or it's more fully fledged sibling LinkThing which change the way Safari renders google search terms and works with URL handling from google.


Install the SafariKeywordSearch extension, and this behaviour goes away, but most importantly, you'll get the ability to set other search engines than the ones AAPL has been payed billions to include.


A really simple way I discovered to get around this is this (btw, I'm using Safari 7.1):

  1. "Select all" in the address box
  2. Open a new Safari window
  3. Click in the address box and "paste"

This gives you a URL (a really long URL) you can then drag off and save into a folder, paste elsewhere for reference, etc.

Tags:

Safari