You might have been irritated by the following scenario: you want the actual URL of some google search result, e.g. in order to send it to someone else or to reference it. However google search results don’t show the actual link, they show something like
If your browser is set to open pdfs separately and not in the browser, it is very difficult to solve this problem with pdf links. One way to avoid this is to install the firefox extension https://addons.mozilla.org/en-US/firefox/addon/google-search-link-fix/. Then the links will show up correctly.