So, are there are other tricks to this?
Josh
Right click on the link - Copy Link Location.
--
Christian
Hi Christian:
This doesn't address my question. If I do a google search and I
want to go to a google search result that is to a PDF, often the
URL is long enough such that the base URL does not display and
all I am left with is a jumbled google mess that I can't store
readily myself for efficient research or pass along to
colleagues. For example, here is the result of copying a link
location as to a document I am trying to go to and link for some
research.
Is this really that helpful? How do I get the actual link?
Setting my FF browser (Version 4.0.1) to open the document in
the browser (and going through the usual fickleness of whether
this will work and cost me minutes of work while it decides
whether to load or not or freeze my browser or not) I get to see
this link, which is all I was after:
http://www.ngsa.org/Assets/docs/analyses%20studies/top%2040%202010%202nd%20quarter.pdf
So, the goal is to overcome google's ruining of the original URL
so that I can have it more readily. Unfortunately,
right-clicking doesn't get me there. Yes, if we look at the
google URL we can possibly pare it down to the real one, but
what a pain.
jl
>My bloviated meandering follows what Josh L graced us with on 6/6/2011
>11:29 AM:
>Some PDF URLs will not save the PDF file if you select the "Save page
>as..." options. I've take to simply loading the PDF in the browser and
>using the Save feature of the PDF file itself to save them.
Thanks Sailfish. I am after a way to get at the URL from google
searches, not at the file itself. That I can already do.
Josh
Not sure if that really helps you. If you're on a Unix type system, you
could use this code to extract the long url. It works out of the box on
my Linux system.
> php -r "print
urldecode('http://www.google.com/url?sa=t&source=web&cd=8&ved=0CEgQFjAH&url=http%3A%2F%2Fwww.ngsa.org%2FAssets%2Fdocs%2Fanalyses%2520studies%2Ftop%252040%25202010%25202nd%2520quarter.pdf&rct=j&q=natural%20gas%20top%20producers&ei=_FPtTYylGqXb0QHZz8GKAQ&usg=AFQjCNFTBMZe7K0lxDH7N-KxGQqTj9SaLQ&sig2=N1Qf4woSeppkLpQqVVfA8A&cad=rja');"
| awk -F'&' '/url=/{ print $5 }'
url=http://www.ngsa.org/Assets/docs/analyses%20studies/top%2040%202010%202nd%20quarter.pdf
>
The information was taken from here:
http://stackoverflow.com/questions/5780809/real-link-to-file-in-google-search-results
PHP can probably be installed for Windows as well, but I don't know what
else may be needed to get this working.
--
Christian
> Josh
Isn't that a bit like looking at a menu, and wanting to eat the meal
before it has been served?
Anyway... If I understand you correctly.
Have an advanced text editor open (EditPad Lite would do).
Run your Google search page.
When the page is displayed.
Press and *hold down* the Shift key.
Mouse pointer over the item you want, *Click and hold*, then drag to the
text editor window.
Dave
*Click and hold*, is just press the mouse button down and hold it down
while drag n drop being done.
When you first start the drag in the Fx window, it will appear as though
you can't do it (Barred circle) but once you drag outside the Fx window it
works.
You are probably aware, but in case not.
In the EditPad Lite window, you can hilight a Url then double click it to
run it to Fx.
If it's a single entry, then just a double click will do.
D.
--
Dave Triffid
One of these looks like it should do the job.
Redirect Cleaner
https://addons.mozilla.org/en-US/firefox/addon/redirect-cleaner/
Redirect Remover
https://addons.mozilla.org/en-US/firefox/addon/redirect-remover/ | http://redirectremover.mozdev.org/ | http://getsatisfaction.com/betterbrowser/products/betterbrowser_firefox_redirect_remover
--
Kind regards
Ralph
Thanks, I'll take a look.
Josh
Hi Sailfish:
This has been going on for years with any PDF URL served up by
google search. No exceptions that I'm aware.
If you're after a link you can pass along readily to others
without a mess, the only time you luck out is if the original
URL is short enough such that when google gives it (beneath
their obstructive impossible-to-read URL), they don't shorten
it.
Josh
>On Mon, 06 Jun 2011 11:29:58 -0700, in message <v07qu69h4gj9nn9hg...@4ax.com>
>Josh L wrote:
>
>One of these looks like it should do the job.
>
>Redirect Cleaner
>https://addons.mozilla.org/en-US/firefox/addon/redirect-cleaner/
Thanks Ralph, this seems to address the matter. I imagine the
other one might also. Been battling this for many years, thanks
for helping me get this done.
jl