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

URL Stripper

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,262 (4.28/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
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.

url_stripper794.png


Requires .NET Framework 4.0 Client Profile or better.
 

Attachments

Last edited:
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.
 
I was totally thinking of something else... because of the thread title. I'll just be leaving now.
 
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.

It appears to be the URL of the search, not the URL of the actual document.

EDIT: Wait no. I dunno.
 
It appears to be the URL of the search, not the URL of the actual document.

EDIT: Wait no. I dunno.

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.
 
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:
 
When I type the word PDF in google I get these results, link seems clear enough?
 

Attachments

  • pdf.png
    pdf.png
    17.9 KB · Views: 508
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:

Right click those link on google search page and paste it here (but don't actually left click/open the link).
 
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."
 
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






.
 
Foxy can already do this

301hs34.jpg

:D:D
Time to drop IE Ford
 
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.
 
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.
 
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.
ok. but can IE do this like FF?
 
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.
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:
Yeah, IE9 downloads it, it doesn't open it in the browser so the original URL is lost.
 
1.0.1 uploaded. 1.0.0 would fail to work correctly if you tried pasting an URL once, and then pasting another URL without restarting the program. 1.0.1 fixed that bug so you can reuse it over and over.

1.0.2 uploaded which adds command line support. If the first argument is an URL and it finds an URL inside, it will automatically copy it to the clipboard and not show the user interface. If there's a problem, it will show the user interface with the first argument automatically inserted into the input text box.
 
Back
Top