User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:2.0b8pre) Gecko/20101111 Firefox/4.0b8pre Build Identifier: Mozilla/5.0 (Windows NT 5.1; rv:2.0b8pre) Gecko/20101111 Firefox/4.0b8pre The location bar accepts both urls and non-urls. It's unnecessary to distinguish the clipboard is an url or not for "Paste & Go" menuitem, just behave like pressing Enter key in the location bar. If ctrl- or middle-clicked, behave like pressing Alt+Enter key. Reproducible: Always
Also, if you have a url in the clipboard without the leading "http://" (e.g. "www.example.com"), Paste & Go is not shown.
I miss being able to "paste & go" keyword searches like "bug 611590" where "bug" was the keyword for "https://bugzilla.mozilla.org/buglist.cgi?quicksearch="
Created attachment 491753 [details] [diff] [review] patch reverts bug 601695 patch to simpler, more predictable, and arguably more useful behavior.
Also paste and search should be an option if clipboard contains multiple words.
(In reply to comment #4) By default, entering words into the location bar performs a search, so that is exactly what selecting "Paste & Go" will do. --- Pushed. http://hg.mozilla.org/mozilla-central/rev/924f8ac59812