1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

URL Stripper

Discussion in 'General Software' started by FordGT90Concept, Jul 16, 2012.

  1. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    13,457 (6.26/day)
    Thanks Received:
    3,423
    Location:
    IA, USA
    I got sick of Google giving me a link to a PDF file and adding all their tracking crap to the URL so, I threw this together to get just the URL to the PDF. Basically, you put in an URL or a broken URL with hex characters in it (for example: %2F) and it either gives you the repaired URL or a list of arguments to choose from. Clicking "Guesstimate" will cycle through arguments that contain an URL. The cleaned up URL appears in the bottom text box.

    [​IMG]

    Requires .NET Framework 4.0 Client Profile or better.

    Attached Files:

    MT Alex and Frick say thanks.
    Crunching for Team TPU
  2. entropy13

    entropy13

    Joined:
    Mar 2, 2009
    Messages:
    4,917 (2.45/day)
    Thanks Received:
    1,193
    How did you get that url in the first place? LOL

    I searched for "health insurance and mortality in us adults" and the link I get for that pdf isn't like that.
  3. Yo_Wattup New Member

    Joined:
    Jan 26, 2012
    Messages:
    790 (0.83/day)
    Thanks Received:
    200
    Location:
    Brisbane, Australia
    I was totally thinking of something else... because of the thread title. I'll just be leaving now.
  4. Frick

    Frick Fishfaced Nincompoop

    Joined:
    Feb 27, 2006
    Messages:
    10,514 (3.38/day)
    Thanks Received:
    2,160
    It appears to be the URL of the search, not the URL of the actual document.

    EDIT: Wait no. I dunno.
  5. entropy13

    entropy13

    Joined:
    Mar 2, 2009
    Messages:
    4,917 (2.45/day)
    Thanks Received:
    1,193
    LOL, no it isn't. That's why you edited your post. :laugh:

    And that's why I'm wondering how Ford got that url in the first place, since the simpler steps in getting the pdf doesn't produce that url.


    Edit: Ah, he used the Google Search in some other website LOL.
  6. Frick

    Frick Fishfaced Nincompoop

    Joined:
    Feb 27, 2006
    Messages:
    10,514 (3.38/day)
    Thanks Received:
    2,160
    FordGT90Concept says thanks.
  7. entropy13

    entropy13

    Joined:
    Mar 2, 2009
    Messages:
    4,917 (2.45/day)
    Thanks Received:
    1,193
    No, using the search function on pnhp.org itself only briefly flashes that google URL, but you still end up with the actual link for the pdf. Opening it in a new tab, I also come up with the direct url.

    Maybe you just have out-of-date Adobe Acrobat plugins? :laugh:
  8. Frick

    Frick Fishfaced Nincompoop

    Joined:
    Feb 27, 2006
    Messages:
    10,514 (3.38/day)
    Thanks Received:
    2,160
  9. entropy13

    entropy13

    Joined:
    Mar 2, 2009
    Messages:
    4,917 (2.45/day)
    Thanks Received:
    1,193
    When I search in Google and click the link, I get this:
    http://pnhp.org/excessdeaths/health-insurance-and-mortality-in-US-adults.pdf

    When I search in Google and open the link in a new tab, I get this:
    http://pnhp.org/excessdeaths/health-insurance-and-mortality-in-US-adults.pdf

    When I search in pnhp.org itself and click the link, I get this:
    http://pnhp.org/excessdeaths/health-insurance-and-mortality-in-US-adults.pdf

    When I search in pnhp.org itself and open the link in a new tab, I get this:
    http://pnhp.org/excessdeaths/health-insurance-and-mortality-in-US-adults.pdf

    Although now it's "File not found". :laugh:
  10. DanTheBanjoman Señor Moderator

    Joined:
    May 20, 2004
    Messages:
    10,553 (2.81/day)
    Thanks Received:
    1,383
    When I type the word PDF in google I get these results, link seems clear enough?

    Attached Files:

    • pdf.png
      pdf.png
      File size:
      17.9 KB
      Views:
      70
  11. Elmo

    Elmo

    Joined:
    May 27, 2012
    Messages:
    309 (0.37/day)
    Thanks Received:
    40
    Location:
    Malaysia
    Same.. :roll:
    Yo_Wattup says thanks.
  12. naoan New Member

    Joined:
    Jul 12, 2009
    Messages:
    304 (0.16/day)
    Thanks Received:
    62
    Right click those link on google search page and paste it here (but don't actually left click/open the link).
    FordGT90Concept says thanks.
  13. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    13,457 (6.26/day)
    Thanks Received:
    3,423
    Location:
    IA, USA
    All the links on Google to a site pass through Google so they can track the link you clicked. If you open the link, it goes to Google for an instant, then to the target website. Instead of opening the URL, you can copy that trackback URL into the stripper and extract the functioning URL from it.

    I needed it for a PDF because there's no easy way to get the full address to the PDF once Acrobat opens it. Either I was going to send everyone through Google to get to it or I was going to clean it up so people went directly to it.

    This goes for all URLs inside of URLs, not just ones for Google/search sites.


    Here is the full URL of the example in the screenshot:
    Code:
    http://www.google.com/url?sa=t&rct=j&q=%22health%20insurance%20and%20mortality%20in%20u.s.%20adults%22&source=web&cd=1&ved=0CGkQFjAA&url=http%3A%2F%2Fpnhp.org%2Fexcessdeaths%2Fhealth-insurance-and-mortality-in-US-adults.pdf&ei=w54DUK-fNuiK2wX11oSUCw&usg=AFQjCNHgf1UYQtjSHsuLqjkoYH8dlqZ1Gg&url2=http%3A%2F%2Fweb.missouri.edu%2F~milyoj%2Ffiles%2FAJPH_Brief_Draft.pdf
    I added the url2 argument for testing of "Guesstimate."
    Crunching for Team TPU
  14. MT Alex

    MT Alex

    Joined:
    Aug 2, 2009
    Messages:
    3,766 (2.03/day)
    Thanks Received:
    1,609
    That's why I try to use Startpage. Problem solved.
    bmaverick says thanks.
  15. bmaverick

    bmaverick

    Joined:
    Feb 20, 2010
    Messages:
    283 (0.17/day)
    Thanks Received:
    47
    Location:
    Honky Tonk Nashville, TN
    Yes, StartPage is a great tool to use ahead of Google.

    Also, if you are searching for a PDF file, type in the following in Google ...

    health insurance mortality us adults filetype:pDF

    health insurance mortality us adults filetype:DOC

    health insurance mortality us adults filetype:XLS

    health insurance mortality us adults filetype:pPT

    This works in both Google and StartPage






    .
  16. mtosev

    mtosev New Member

    Joined:
    Mar 21, 2005
    Messages:
    1,463 (0.42/day)
    Thanks Received:
    145
    Location:
    Maribor, Slovenia
    Foxy can already do this

    [​IMG]
    :D:D
    Time to drop IE Ford
  17. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    13,457 (6.26/day)
    Thanks Received:
    3,423
    Location:
    IA, USA
    URL Stripper doesn't require you to open the URL to get the full path to it. I can see that you opened it by the referrer pointing to Google.
    Crunching for Team TPU
  18. Aquinus

    Aquinus Resident Wat-man

    Joined:
    Jan 28, 2012
    Messages:
    6,189 (6.54/day)
    Thanks Received:
    2,029
    Location:
    Concord, NH
    So why are you working extra hard just so Google doesn't keep track that a person (you in this case,) clicked a link? Technically clicking google's link so they can keep track of it helps Google provide a good search. What are you afraid of? Google knowing that a person click a link about x, y, and z? Google already knows what you searched for, so what good does playing ignorant about whatever search result you end up clicking make? Just a little baffled.
  19. mtosev

    mtosev New Member

    Joined:
    Mar 21, 2005
    Messages:
    1,463 (0.42/day)
    Thanks Received:
    145
    Location:
    Maribor, Slovenia
    ok. but can IE do this like FF?
  20. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    13,457 (6.26/day)
    Thanks Received:
    3,423
    Location:
    IA, USA
    What looks better? This:
    http://www.google.com/url?sa=t&rct=...1oSUCw&usg=AFQjCNHgf1UYQtjSHsuLqjkoYH8dlqZ1Gg

    Or this:
    http://pnhp.org/excessdeaths/health-insurance-and-mortality-in-US-adults.pdf

    That's why I made it.
    Last edited: Jul 17, 2012
    Crunching for Team TPU
  21. Aquinus

    Aquinus Resident Wat-man

    Joined:
    Jan 28, 2012
    Messages:
    6,189 (6.54/day)
    Thanks Received:
    2,029
    Location:
    Concord, NH

    Attached Files:

  22. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    13,457 (6.26/day)
    Thanks Received:
    3,423
    Location:
    IA, USA
    Yeah, IE9 downloads it, it doesn't open it in the browser so the original URL is lost.
    Crunching for Team TPU

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page